From 7082648122bc155cff496dc1c3f329d044aec02b Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Wed, 24 May 2023 21:18:28 +0200 Subject: [PATCH] Fixed build against Qt 6.5. --- addressbook/CMakeLists.txt | 2 ++ application/CMakeLists.txt | 2 ++ camp/CMakeLists.txt | 2 ++ commodity/CMakeLists.txt | 2 ++ countryregister/CMakeLists.txt | 2 ++ postregister/CMakeLists.txt | 2 ++ services/CMakeLists.txt | 2 ++ shop/CMakeLists.txt | 2 ++ 8 files changed, 16 insertions(+) diff --git a/addressbook/CMakeLists.txt b/addressbook/CMakeLists.txt index 622f49b..f815142 100644 --- a/addressbook/CMakeLists.txt +++ b/addressbook/CMakeLists.txt @@ -14,6 +14,7 @@ find_package(Qt6 COMPONENTS Core Gui Widgets + Qml REQUIRED) add_library(addressbook SHARED @@ -42,6 +43,7 @@ target_link_libraries(addressbook Qt::Core Qt::Gui Qt::Widgets + Qt::Qml qdecimal decnumber QxOrm diff --git a/application/CMakeLists.txt b/application/CMakeLists.txt index a8734c7..0e7cca0 100644 --- a/application/CMakeLists.txt +++ b/application/CMakeLists.txt @@ -13,6 +13,7 @@ find_package(Qt6 COMPONENTS Gui Widgets Sql + Qml REQUIRED) include_directories(../core) @@ -34,5 +35,6 @@ target_link_libraries(prodejna Qt::Gui Qt::Widgets Qt::Sql + Qt::Qml core ) \ No newline at end of file diff --git a/camp/CMakeLists.txt b/camp/CMakeLists.txt index a6939b9..26415a3 100644 --- a/camp/CMakeLists.txt +++ b/camp/CMakeLists.txt @@ -14,6 +14,7 @@ find_package(Qt6 COMPONENTS Core Gui Widgets + Qml REQUIRED) add_library(camp SHARED @@ -70,6 +71,7 @@ target_link_libraries(camp Qt::Core Qt::Gui Qt::Widgets + Qt::Qml qdecimal decnumber QxOrm diff --git a/commodity/CMakeLists.txt b/commodity/CMakeLists.txt index 00d335b..3e0cf58 100644 --- a/commodity/CMakeLists.txt +++ b/commodity/CMakeLists.txt @@ -14,6 +14,7 @@ find_package(Qt6 COMPONENTS Core Gui Widgets + Qml REQUIRED) add_library(commodity SHARED @@ -51,6 +52,7 @@ target_link_libraries(commodity Qt::Core Qt::Gui Qt::Widgets + Qt::Qml qdecimal decnumber QxOrm diff --git a/countryregister/CMakeLists.txt b/countryregister/CMakeLists.txt index c2e0f55..c85d459 100644 --- a/countryregister/CMakeLists.txt +++ b/countryregister/CMakeLists.txt @@ -14,6 +14,7 @@ find_package(Qt6 COMPONENTS Core Gui Widgets + Qml REQUIRED) add_library(countryregister SHARED @@ -33,6 +34,7 @@ target_link_libraries(countryregister Qt::Core Qt::Gui Qt::Widgets + Qt::Qml qdecimal decnumber QxOrm diff --git a/postregister/CMakeLists.txt b/postregister/CMakeLists.txt index d14f9af..651bdc0 100644 --- a/postregister/CMakeLists.txt +++ b/postregister/CMakeLists.txt @@ -14,6 +14,7 @@ find_package(Qt6 COMPONENTS Core Gui Widgets + Qml REQUIRED) add_library(postregister SHARED @@ -33,6 +34,7 @@ target_link_libraries(postregister Qt::Core Qt::Gui Qt::Widgets + Qt::Qml qdecimal decnumber QxOrm diff --git a/services/CMakeLists.txt b/services/CMakeLists.txt index 868192f..7e75db0 100644 --- a/services/CMakeLists.txt +++ b/services/CMakeLists.txt @@ -14,6 +14,7 @@ find_package(Qt6 COMPONENTS Core Gui Widgets + Qml REQUIRED) add_library(services SHARED @@ -39,6 +40,7 @@ target_link_libraries(services Qt::Core Qt::Gui Qt::Widgets + Qt::Qml qdecimal decnumber QxOrm diff --git a/shop/CMakeLists.txt b/shop/CMakeLists.txt index ec6e06b..396722a 100644 --- a/shop/CMakeLists.txt +++ b/shop/CMakeLists.txt @@ -14,6 +14,7 @@ find_package(Qt6 COMPONENTS Core Gui Widgets + Qml REQUIRED) add_library(shop SHARED @@ -85,6 +86,7 @@ target_link_libraries(shop Qt::Core Qt::Gui Qt::Widgets + Qt::Qml qdecimal decnumber QxOrm