adjust CMakeLists.txt, to prepare for win32 and macos builds

This commit is contained in:
shunf4 2021-10-05 12:49:06 +08:00
parent ef1a9846bf
commit 5fbb96618f
6 changed files with 132 additions and 9 deletions

View file

@ -36,6 +36,11 @@ set(squawkUI_SRC
utils/dropshadoweffect.cpp
)
# Add squawk.ui to squawkUI_SRC so that the .ui files are displayed in Qt Creator
qt5_wrap_ui(squawkUI_SRC
squawk.ui
)
# Tell CMake to create the helloworld executable
add_library(squawkUI ${squawkUI_SRC})

View file

@ -21,6 +21,16 @@ set(squawkWidgets_SRC
joinconference.cpp
)
# Add to squawkUI_SRC so that the .ui files are displayed in Qt Creator
qt5_wrap_ui(squawkWidgets_SRC
account.ui
accounts.ui
conversation.ui
joinconference.ui
newcontact.ui
vcard/vcard.ui
)
# Tell CMake to create the helloworld executable
add_library(squawkWidgets ${squawkWidgets_SRC})