forked from qxmpp-project/qxmpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
12 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
find_package(Qt6 QUIET COMPONENTS Gui) | ||
if(NOT Qt6_FOUND) | ||
find_package(Qt5 REQUIRED Gui) | ||
endif() | ||
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS Gui) | ||
|
||
add_executable(9_vCard example_9_vCard.cpp) | ||
target_link_libraries(9_vCard ${QT_TARGET}::Gui qxmpp) | ||
target_link_libraries(9_vCard Qt${QT_VERSION_MAJOR}::Gui qxmpp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
add_executable(tst_qxmpptransfermanager tst_qxmpptransfermanager.cpp tst_qxmpptransfermanager.qrc) | ||
add_test(tst_qxmpptransfermanager tst_qxmpptransfermanager) | ||
target_link_libraries(tst_qxmpptransfermanager ${QT_TARGET}::Test qxmpp) | ||
target_link_libraries(tst_qxmpptransfermanager Qt${QT_VERSION_MAJOR}::Test qxmpp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
add_executable(tst_qxmppuploadrequestmanager tst_qxmppuploadrequestmanager.cpp tst_qxmppuploadrequestmanager.qrc) | ||
add_test(tst_qxmppuploadrequestmanager tst_qxmppuploadrequestmanager) | ||
target_link_libraries(tst_qxmppuploadrequestmanager ${QT_TARGET}::Test qxmpp) | ||
target_link_libraries(tst_qxmppuploadrequestmanager Qt${QT_VERSION_MAJOR}::Test qxmpp) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
include_directories(${CMAKE_CURRENT_BINARY_DIR}) | ||
add_executable(tst_qxmpputils tst_qxmpputils.cpp tst_qxmpputils.qrc) | ||
add_test(tst_qxmpputils tst_qxmpputils) | ||
target_link_libraries(tst_qxmpputils ${QT_TARGET}::Test qxmpp) | ||
target_link_libraries(tst_qxmpputils Qt${QT_VERSION_MAJOR}::Test qxmpp) |