summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKarsten Heimrich <karsten.heimrich@qt.io>2019-09-17 11:42:11 +0200
committerAlexandru Croitor <alexandru.croitor@qt.io>2019-10-02 13:38:29 +0000
commit43dbee6ea1dd002c89b79a15b622f84aeb71bd54 (patch)
treea65152f91d9ec4602c53df1e3c5e874be5fe0b43
parent86307bedafb05e7b305c267c889f28b959346ea0 (diff)
Initial port of QtKnx to CMake
Task-number: QTBUG-78309 Change-Id: I129b8f373c9777c91306ed37be2368a5c289b958 Reviewed-by: Qt CMake Build Bot Reviewed-by: Liang Qi <liang.qi@qt.io>
-rw-r--r--.gitignore21
-rw-r--r--.prev_CMakeLists.txt23
-rw-r--r--CMakeLists.txt22
-rw-r--r--coin/module_config.yaml11
-rw-r--r--examples/CMakeLists.txt5
-rw-r--r--examples/knx/CMakeLists.txt10
-rw-r--r--examples/knx/device/CMakeLists.txt38
-rw-r--r--examples/knx/discoverer/CMakeLists.txt32
-rw-r--r--examples/knx/feature/CMakeLists.txt38
-rw-r--r--examples/knx/group/CMakeLists.txt39
-rw-r--r--examples/knx/knxeditor/CMakeLists.txt40
-rw-r--r--examples/knx/knxproj/CMakeLists.txt30
-rw-r--r--examples/knx/router/CMakeLists.txt32
-rw-r--r--examples/knx/tunnelclient/CMakeLists.txt32
-rw-r--r--src/CMakeLists.txt1
-rw-r--r--src/knx/.prev_CMakeLists.txt272
-rw-r--r--src/knx/CMakeLists.txt317
-rw-r--r--tests/.prev_CMakeLists.txt11
-rw-r--r--tests/CMakeLists.txt8
-rw-r--r--tests/auto/.prev_CMakeLists.txt51
-rw-r--r--tests/auto/CMakeLists.txt50
-rw-r--r--tests/auto/cmake/CMakeLists.txt1
-rw-r--r--tests/auto/qknxadditionalinfo/CMakeLists.txt7
-rw-r--r--tests/auto/qknxaddress/CMakeLists.txt7
-rw-r--r--tests/auto/qknxbytearray/CMakeLists.txt7
-rw-r--r--tests/auto/qknxcontrolfield/CMakeLists.txt7
-rw-r--r--tests/auto/qknxcryptographicengine/CMakeLists.txt7
-rw-r--r--tests/auto/qknxdatapointtype/CMakeLists.txt7
-rw-r--r--tests/auto/qknxdevicemanagementframe/CMakeLists.txt7
-rw-r--r--tests/auto/qknxgroupaddressinfo/CMakeLists.txt20
-rw-r--r--tests/auto/qknxnetipconfigdib/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipconnectionheader/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetipconnectionstaterequest/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipconnectionstateresponse/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipconnectrequest/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipconnectresponse/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipcrd/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetipcri/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetipcurrentconfigdib/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipdescriptionrequest/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipdescriptionresponse/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipdeviceconfigurationacknowledge/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipdeviceconfigurationrequest/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipdevicedib/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipdisconnectrequest/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipdisconnectresponse/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipextendeddevicedib/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetiphpai/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipknxaddressesdib/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetipmanufacturerdib/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetiprouter/CMakeLists.txt10
-rw-r--r--tests/auto/qknxnetiproutingbusy/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetiproutingindication/CMakeLists.txt10
-rw-r--r--tests/auto/qknxnetiproutinglostmessage/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetiproutingsystembroadcast/CMakeLists.txt10
-rw-r--r--tests/auto/qknxnetipsearchrequest/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipsearchresponse/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipsecuredservicefamiliesdib/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetipservicefamiliesdib/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetipsessionrequest/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipsessionresponse/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetipstructure/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetiptunnelingacknowledge/CMakeLists.txt8
-rw-r--r--tests/auto/qknxnetiptunnelingfeature/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetiptunnelinginfodib/CMakeLists.txt7
-rw-r--r--tests/auto/qknxnetiptunnelingrequest/CMakeLists.txt8
-rw-r--r--tests/auto/qknxproject/CMakeLists.txt27
-rw-r--r--tests/auto/qknxtpdufactory/CMakeLists.txt9
-rw-r--r--tests/auto/qknxtunnelframe/CMakeLists.txt9
-rw-r--r--tests/auto/qknxtunnelframefactory/CMakeLists.txt9
70 files changed, 1489 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 94b9ee1..32f2419 100644
--- a/.gitignore
+++ b/.gitignore
@@ -352,3 +352,24 @@ __pycache__/
*.vcxproj.filters
*_resource.rc
*_wrapper.bat
+
+#cmake
+CMakeLists.txt.user
+CMakeCache.txt
+CMakeFiles
+CMakeScripts
+Testing
+Makefile
+cmake_install.cmake
+install_manifest.txt
+compile_commands.json
+CTestTestfile.cmake
+_deps
+.ninja_*
+*_autogen*
+rules.ninja
+build.ninja
+DartConfiguration.tcl
+.remove_cmake*
+mkspecs/
+*generated_project.qrc
diff --git a/.prev_CMakeLists.txt b/.prev_CMakeLists.txt
new file mode 100644
index 0000000..a8fcd97
--- /dev/null
+++ b/.prev_CMakeLists.txt
@@ -0,0 +1,23 @@
+# Generated from qtknx.pro.
+
+cmake_minimum_required(VERSION 3.15.0)
+
+project(QtKnx
+ VERSION 6.0.0
+ DESCRIPTION "Qt Knx Libraries"
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
+find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
+
+if(WASM)
+ message(NOTICE "Skipping the build as the condition \"NOT WASM\" is not met.")
+ return()
+endif()
+if(INTEGRITY)
+ message(NOTICE "Skipping the build as the condition \"NOT INTEGRITY\" is not met.")
+ return()
+endif()
+qt_build_repo()
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..08097db
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,22 @@
+cmake_minimum_required(VERSION 3.15.0)
+
+project(QtKnx
+ VERSION 6.0.0
+ DESCRIPTION "Qt KNX Libraries" # special case
+ HOMEPAGE_URL "https://qt.io/"
+ LANGUAGES CXX C
+)
+
+find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network) # special case
+find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Gui Widgets) # special case
+
+if(WASM)
+ message(NOTICE "Skipping the build as the condition \"NOT WASM\" is not met.")
+ return()
+endif()
+if(INTEGRITY)
+ message(NOTICE "Skipping the build as the condition \"NOT INTEGRITY\" is not met.")
+ return()
+endif()
+
+qt_build_repo()
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
new file mode 100644
index 0000000..5c0721b
--- /dev/null
+++ b/coin/module_config.yaml
@@ -0,0 +1,11 @@
+version: 1
+accept_configuration:
+ condition: property
+ property: host.os
+ equals_property: target.os
+build_instructions:
+ - !include "{{qt/qtbase}}/prepare_building_env.yaml"
+ - !include "{{qt/qtbase}}/cmake_module_build_instructions.yaml"
+ - !include "{{qt/qtbase}}/cmake_build_and_upload_test_artifacts.yaml"
+test_instructions:
+ - !include "{{qt/qtbase}}/cmake_regular_test_instructions.yaml"
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
new file mode 100644
index 0000000..7a3571e
--- /dev/null
+++ b/examples/CMakeLists.txt
@@ -0,0 +1,5 @@
+qt_examples_build_begin()
+
+add_subdirectory(knx)
+
+qt_examples_build_end()
diff --git a/examples/knx/CMakeLists.txt b/examples/knx/CMakeLists.txt
new file mode 100644
index 0000000..0e50208
--- /dev/null
+++ b/examples/knx/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_subdirectory(discoverer)
+add_subdirectory(knxproj)
+add_subdirectory(tunnelclient)
+add_subdirectory(router)
+if(TARGET Qt::Widgets)
+ add_subdirectory(knxeditor)
+ add_subdirectory(group)
+ add_subdirectory(device)
+ add_subdirectory(feature)
+endif()
diff --git a/examples/knx/device/CMakeLists.txt b/examples/knx/device/CMakeLists.txt
new file mode 100644
index 0000000..008639e
--- /dev/null
+++ b/examples/knx/device/CMakeLists.txt
@@ -0,0 +1,38 @@
+cmake_minimum_required(VERSION 3.15.0)
+project(device LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Knx)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS Network)
+
+add_qt_gui_executable(device
+ deviceitem.cpp deviceitem.h
+ main.cpp
+ mainwindow.cpp mainwindow.h mainwindow.ui
+)
+target_include_directories(device PUBLIC
+ .
+)
+target_link_libraries(device PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Knx
+ Qt::Network
+ Qt::Widgets
+)
+
+install(TARGETS device
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/knx/discoverer/CMakeLists.txt b/examples/knx/discoverer/CMakeLists.txt
new file mode 100644
index 0000000..6d8c2d9
--- /dev/null
+++ b/examples/knx/discoverer/CMakeLists.txt
@@ -0,0 +1,32 @@
+cmake_minimum_required(VERSION 3.15.0)
+project(discoverer LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Knx)
+find_package(Qt6 COMPONENTS Network)
+
+add_executable(discoverer
+ main.cpp
+)
+target_include_directories(discoverer PUBLIC
+ .
+)
+target_link_libraries(discoverer PUBLIC
+ Qt::Core
+ Qt::Knx
+ Qt::Network
+)
+
+install(TARGETS discoverer
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/knx/feature/CMakeLists.txt b/examples/knx/feature/CMakeLists.txt
new file mode 100644
index 0000000..cffb030
--- /dev/null
+++ b/examples/knx/feature/CMakeLists.txt
@@ -0,0 +1,38 @@
+cmake_minimum_required(VERSION 3.15.0)
+project(feature LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Knx)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS Network)
+
+add_qt_gui_executable(feature
+ deviceitem.cpp deviceitem.h
+ main.cpp
+ mainwindow.cpp mainwindow.h mainwindow.ui
+)
+target_include_directories(feature PUBLIC
+ .
+)
+target_link_libraries(feature PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Knx
+ Qt::Network
+ Qt::Widgets
+)
+
+install(TARGETS feature
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/knx/group/CMakeLists.txt b/examples/knx/group/CMakeLists.txt
new file mode 100644
index 0000000..a0dd6fe
--- /dev/null
+++ b/examples/knx/group/CMakeLists.txt
@@ -0,0 +1,39 @@
+cmake_minimum_required(VERSION 3.15.0)
+project(group LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Knx)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS Network)
+
+add_qt_gui_executable(group
+ deviceitem.cpp deviceitem.h
+ groupaddressvalidater.cpp groupaddressvalidater.h
+ main.cpp
+ mainwindow.cpp mainwindow.h mainwindow.ui
+)
+target_include_directories(group PUBLIC
+ .
+)
+target_link_libraries(group PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Knx
+ Qt::Network
+ Qt::Widgets
+)
+
+install(TARGETS group
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/knx/knxeditor/CMakeLists.txt b/examples/knx/knxeditor/CMakeLists.txt
new file mode 100644
index 0000000..d36c821
--- /dev/null
+++ b/examples/knx/knxeditor/CMakeLists.txt
@@ -0,0 +1,40 @@
+cmake_minimum_required(VERSION 3.15.0)
+project(knxeditor LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Gui)
+find_package(Qt6 COMPONENTS Knx)
+find_package(Qt6 COMPONENTS Widgets)
+find_package(Qt6 COMPONENTS Network)
+
+add_qt_gui_executable(knxeditor
+ localdevicemanagement.cpp localdevicemanagement.h localdevicemanagement.ui
+ main.cpp
+ mainwindow.cpp mainwindow.h mainwindow.ui
+ tunneling.cpp tunneling.h tunneling.ui
+ tunnelingfeatures.cpp tunnelingfeatures.h tunnelingfeatures.ui
+)
+target_include_directories(knxeditor PUBLIC
+ .
+)
+target_link_libraries(knxeditor PUBLIC
+ Qt::Core
+ Qt::Gui
+ Qt::Knx
+ Qt::Network
+ Qt::Widgets
+)
+
+install(TARGETS knxeditor
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/knx/knxproj/CMakeLists.txt b/examples/knx/knxproj/CMakeLists.txt
new file mode 100644
index 0000000..1fb9be3
--- /dev/null
+++ b/examples/knx/knxproj/CMakeLists.txt
@@ -0,0 +1,30 @@
+cmake_minimum_required(VERSION 3.15.0)
+project(knxproj LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Knx)
+
+add_executable(knxproj
+ main.cpp
+)
+target_include_directories(knxproj PUBLIC
+ .
+)
+target_link_libraries(knxproj PUBLIC
+ Qt::Core
+ Qt::Knx
+)
+
+install(TARGETS knxproj
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/knx/router/CMakeLists.txt b/examples/knx/router/CMakeLists.txt
new file mode 100644
index 0000000..811e959
--- /dev/null
+++ b/examples/knx/router/CMakeLists.txt
@@ -0,0 +1,32 @@
+cmake_minimum_required(VERSION 3.15.0)
+project(router LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Knx)
+find_package(Qt6 COMPONENTS Network)
+
+add_executable(router
+ main.cpp
+)
+target_include_directories(router PUBLIC
+ .
+)
+target_link_libraries(router PUBLIC
+ Qt::Core
+ Qt::Knx
+ Qt::Network
+)
+
+install(TARGETS router
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/examples/knx/tunnelclient/CMakeLists.txt b/examples/knx/tunnelclient/CMakeLists.txt
new file mode 100644
index 0000000..d98fac9
--- /dev/null
+++ b/examples/knx/tunnelclient/CMakeLists.txt
@@ -0,0 +1,32 @@
+cmake_minimum_required(VERSION 3.15.0)
+project(tunnelclient LANGUAGES CXX)
+
+set(CMAKE_INCLUDE_CURRENT_DIR ON)
+
+set(CMAKE_AUTOMOC ON)
+set(CMAKE_AUTORCC ON)
+set(CMAKE_AUTOUIC ON)
+
+set(INSTALL_EXAMPLEDIR "examples")
+
+find_package(Qt6 COMPONENTS Core)
+find_package(Qt6 COMPONENTS Knx)
+find_package(Qt6 COMPONENTS Network)
+
+add_executable(tunnelclient
+ main.cpp
+)
+target_include_directories(tunnelclient PUBLIC
+ .
+)
+target_link_libraries(tunnelclient PUBLIC
+ Qt::Core
+ Qt::Knx
+ Qt::Network
+)
+
+install(TARGETS tunnelclient
+ RUNTIME DESTINATION "${INSTALL_EXAMPLEDIR}"
+ BUNDLE DESTINATION "${INSTALL_EXAMPLEDIR}"
+ LIBRARY DESTINATION "${INSTALL_EXAMPLEDIR}"
+)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..593ccfa
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1 @@
+add_subdirectory(knx)
diff --git a/src/knx/.prev_CMakeLists.txt b/src/knx/.prev_CMakeLists.txt
new file mode 100644
index 0000000..c5945d9
--- /dev/null
+++ b/src/knx/.prev_CMakeLists.txt
@@ -0,0 +1,272 @@
+# Generated from knx.pro.
+
+#####################################################################
+## Knx Module:
+#####################################################################
+
+add_qt_module(Knx
+ SOURCES
+ core/qknxbytearray.cpp core/qknxbytearray.h
+ dpt/qknx1bit.cpp
+ dpt/qknx1bitcontrolled.cpp
+ dpt/qknx1byte.cpp
+ dpt/qknx2bitset.cpp
+ dpt/qknx2bytefloat.cpp
+ dpt/qknx2bytesignedvalue.cpp
+ dpt/qknx2byteunsignedvalue.cpp
+ dpt/qknx32bitset.cpp
+ dpt/qknx3bitcontrolled.cpp
+ dpt/qknx4bytefloat.cpp
+ dpt/qknx4bytesignedvalue.cpp
+ dpt/qknx4byteunsignedvalue.cpp
+ dpt/qknx8bitset.cpp
+ dpt/qknx8bitsignedvalue.cpp
+ dpt/qknx8bitunsignedvalue.cpp
+ dpt/qknxchar.cpp
+ dpt/qknxcharstring.cpp
+ dpt/qknxdatapointtype.cpp
+ dpt/qknxdatapointtypefactory.cpp
+ dpt/qknxdatetime.cpp
+ dpt/qknxelectricalenergy.cpp
+ dpt/qknxentranceaccess.cpp
+ dpt/qknxscene.cpp
+ dpt/qknxstatusmode3.cpp
+ dpt/qknxtime.cpp
+ dpt/qknxutf8string.cpp
+ dpt/qknxvarstring.cpp
+ ets/manufacturers.cpp
+ knxproj/qknxbuildings.cpp
+ knxproj/qknxdeviceinstance.cpp
+ knxproj/qknxgroupaddresses.cpp
+ knxproj/qknxgroupaddressinfo.cpp knxproj/qknxgroupaddressinfo.h
+ knxproj/qknxgroupaddressinfos.cpp knxproj/qknxgroupaddressinfos.h
+ knxproj/qknxinstallation.cpp
+ knxproj/qknxprojectinformation.cpp
+ knxproj/qknxprojectroot.cpp
+ knxproj/qknxprojectutils.cpp
+ knxproj/qknxtopology.cpp
+ knxproj/qzip.cpp
+ manufacturers.h
+ netip/qknxnetip.cpp
+ netip/qknxnetipconfigdib.cpp
+ netip/qknxnetipconnectionheader.cpp
+ netip/qknxnetipconnectionstaterequest.cpp
+ netip/qknxnetipconnectionstateresponse.cpp
+ netip/qknxnetipconnectrequest.cpp
+ netip/qknxnetipconnectresponse.cpp
+ netip/qknxnetipcrd.cpp
+ netip/qknxnetipcri.cpp
+ netip/qknxnetipcurrentconfigdib.cpp
+ netip/qknxnetipdescriptionrequest.cpp
+ netip/qknxnetipdescriptionresponse.cpp
+ netip/qknxnetipdeviceconfigurationacknowledge.cpp
+ netip/qknxnetipdeviceconfigurationrequest.cpp
+ netip/qknxnetipdevicedib.cpp
+ netip/qknxnetipdevicemanagement.cpp
+ netip/qknxnetipdisconnectrequest.cpp
+ netip/qknxnetipdisconnectresponse.cpp
+ netip/qknxnetipendpointconnection.cpp
+ netip/qknxnetipextendeddevicedib.cpp
+ netip/qknxnetipframe.cpp
+ netip/qknxnetipframeheader.cpp
+ netip/qknxnetiphpai.cpp
+ netip/qknxnetipknxaddressesdib.cpp
+ netip/qknxnetipmanufacturerdib.cpp
+ netip/qknxnetiprouter.cpp netip/qknxnetiprouter_p.cpp
+ netip/qknxnetiproutingbusy.cpp
+ netip/qknxnetiproutingindication.cpp
+ netip/qknxnetiproutinglostmessage.cpp
+ netip/qknxnetiproutingsystembroadcast.cpp
+ netip/qknxnetipsearchrequest.cpp
+ netip/qknxnetipsearchresponse.cpp
+ netip/qknxnetipsecureconfiguration.cpp
+ netip/qknxnetipsecuredservicefamiliesdib.cpp
+ netip/qknxnetipsecurewrapper.cpp
+ netip/qknxnetipserverdescriptionagent.cpp
+ netip/qknxnetipserverdiscoveryagent.cpp netip/qknxnetipserverdiscoveryagent_p.cpp
+ netip/qknxnetipserverinfo.cpp
+ netip/qknxnetipservicefamiliesdib.cpp
+ netip/qknxnetipsessionauthenticate.cpp
+ netip/qknxnetipsessionrequest.cpp
+ netip/qknxnetipsessionresponse.cpp
+ netip/qknxnetipsessionstatus.cpp
+ netip/qknxnetipsrp.cpp
+ netip/qknxnetipstruct.cpp
+ netip/qknxnetipstructheader.cpp
+ netip/qknxnetiptimernotify.cpp
+ netip/qknxnetiptunnel.cpp
+ netip/qknxnetiptunnelingacknowledge.cpp
+ netip/qknxnetiptunnelingfeatureget.cpp
+ netip/qknxnetiptunnelingfeatureinfo.cpp
+ netip/qknxnetiptunnelingfeatureresponse.cpp
+ netip/qknxnetiptunnelingfeatureset.cpp
+ netip/qknxnetiptunnelinginfodib.cpp
+ netip/qknxnetiptunnelingrequest.cpp
+ qknx1bit.h
+ qknx1bitcontrolled.h
+ qknx1byte.h
+ qknx2bitset.h
+ qknx2bytefloat.h
+ qknx2bytesignedvalue.h
+ qknx2byteunsignedvalue.h
+ qknx32bitset.h
+ qknx3bitcontrolled.h
+ qknx4bytefloat.h
+ qknx4bytesignedvalue.h
+ qknx4byteunsignedvalue.h
+ qknx8bitset.h
+ qknx8bitsignedvalue.h
+ qknx8bitunsignedvalue.h
+ qknxadditionalinfo.cpp qknxadditionalinfo.h
+ qknxaddress.cpp qknxaddress.h
+ qknxbuilderdata_p.h
+ qknxbuildings_p.h
+ qknxchar.h
+ qknxcharstring.h
+ qknxcontrolfield.cpp qknxcontrolfield.h
+ qknxdatapointtype.h qknxdatapointtype_p.h
+ qknxdatapointtypefactory.h
+ qknxdatetime.h
+ qknxdeviceinstance_p.h
+ qknxdevicemanagementframe.cpp qknxdevicemanagementframe.h
+ qknxdevicemanagementframefactory.cpp qknxdevicemanagementframefactory.h
+ qknxelectricalenergy.h
+ qknxentranceaccess.h
+ qknxextendedcontrolfield.cpp qknxextendedcontrolfield.h
+ qknxgroupaddresses_p.h
+ qknxinstallation_p.h
+ qknxinterfaceobjectproperty.cpp qknxinterfaceobjectproperty.h
+ qknxinterfaceobjectpropertydatatype.cpp qknxinterfaceobjectpropertydatatype.h
+ qknxinterfaceobjecttype.cpp qknxinterfaceobjecttype.h
+ qknxlinklayerframe.cpp qknxlinklayerframe.h
+ qknxlinklayerframebuilder.cpp qknxlinklayerframebuilder.h
+ qknxnamespace.cpp qknxnamespace.h
+ qknxnetip.h
+ qknxnetipconfigdib.h
+ qknxnetipconnectionheader.h
+ qknxnetipconnectionstaterequest.h
+ qknxnetipconnectionstateresponse.h
+ qknxnetipconnectrequest.h
+ qknxnetipconnectresponse.h
+ qknxnetipcrd.h
+ qknxnetipcri.h
+ qknxnetipcurrentconfigdib.h
+ qknxnetipdescriptionrequest.h
+ qknxnetipdescriptionresponse.h
+ qknxnetipdeviceconfigurationacknowledge.h
+ qknxnetipdeviceconfigurationrequest.h
+ qknxnetipdevicedib.h
+ qknxnetipdevicemanagement.h
+ qknxnetipdisconnectrequest.h
+ qknxnetipdisconnectresponse.h
+ qknxnetipendpointconnection.h qknxnetipendpointconnection_p.h
+ qknxnetipextendeddevicedib.h
+ qknxnetipframe.h
+ qknxnetipframeheader.h
+ qknxnetiphpai.h
+ qknxnetipknxaddressesdib.h
+ qknxnetipmanufacturerdib.h
+ qknxnetiprouter.h
+ qknxnetiproutingbusy.h
+ qknxnetiproutingindication.h
+ qknxnetiproutinglostmessage.h
+ qknxnetiproutingsystembroadcast.h
+ qknxnetipsearchrequest.h
+ qknxnetipsearchresponse.h
+ qknxnetipsecureconfiguration.h qknxnetipsecureconfiguration_p.h
+ qknxnetipsecuredservicefamiliesdib.h
+ qknxnetipsecurewrapper.h
+ qknxnetipserverdescriptionagent.h qknxnetipserverdescriptionagent_p.h
+ qknxnetipserverdiscoveryagent.h qknxnetipserverdiscoveryagent_p.h
+ qknxnetipserverinfo.h qknxnetipserverinfo_p.h
+ qknxnetipservicefamiliesdib.h
+ qknxnetipsessionauthenticate.h
+ qknxnetipsessionrequest.h
+ qknxnetipsessionresponse.h
+ qknxnetipsessionstatus.h
+ qknxnetipsrp.h
+ qknxnetipstruct.h
+ qknxnetipstructheader.h
+ qknxnetiptestrouter_p.h
+ qknxnetiptimernotify.h
+ qknxnetiptunnel.h
+ qknxnetiptunnelingacknowledge.h
+ qknxnetiptunnelingfeatureget.h
+ qknxnetiptunnelingfeatureinfo.h
+ qknxnetiptunnelingfeatureresponse.h
+ qknxnetiptunnelingfeatureset.h
+ qknxnetiptunnelinginfodib.h
+ qknxnetiptunnelingrequest.h
+ qknxprojectinformation_p.h
+ qknxprojectroot_p.h
+ qknxprojectutils_p.h
+ qknxscene.h
+ qknxstatusmode3.h
+ qknxtime.h
+ qknxtopology_p.h
+ qknxtpdu.cpp qknxtpdu.h
+ qknxtpdufactory_p.h
+ qknxtpdufactory_broadcast.cpp
+ qknxtpdufactory_multicast.cpp
+ qknxtpdufactory_p2p.cpp
+ qknxtraits.h
+ qknxutf8string.h
+ qknxutils.h
+ qknxvarstring.h
+ qtknxglobal.h qtknxglobal_p.h
+ qzipreader_p.h
+ qzipwriter_p.h
+ ssl/qknxcryptographicengine.cpp ssl/qknxcryptographicengine.h
+ ssl/qknxkeyring.cpp ssl/qknxkeyring_p.h
+ ssl/qknxsecurekey.cpp ssl/qknxsecurekey.h
+ ssl/qknxssl_p.h
+ ssl/qknxssl_openssl.cpp
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ INCLUDE_DIRECTORIES
+ core
+ dpt
+ ets
+ knxproj
+ netip
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Network
+ Qt::NetworkPrivate
+ ZLIB::ZLIB
+ PUBLIC_LIBRARIES
+ Qt::Core
+)
+
+#### Keys ignored in scope 1:.:.:knx.pro:<TRUE>:
+# _LOADED = "qt_module"
+
+## Scopes:
+#####################################################################
+
+extend_target(Knx CONDITION QT_FEATURE_opensslv11
+ SOURCES
+ ssl/qsslsocket_openssl11_symbols_p.h
+ ssl/qsslsocket_openssl_symbols.cpp ssl/qsslsocket_openssl_symbols_p.h
+ DEFINES
+ OPENSSL_API_COMPAT=0x10100000L
+)
+
+extend_target(Knx CONDITION QT_FEATURE_openssl_linked AND QT_FEATURE_opensslv11
+ LIBRARIES
+ OpenSSL::SSL
+)
+
+extend_target(Knx CONDITION QT_FEATURE_opensslv11 AND NOT QT_FEATURE_openssl_linked
+ LIBRARIES
+ OpenSSL::SSL_nolink
+)
+
+extend_target(Knx CONDITION QT_FEATURE_opensslv11 AND WIN32
+ LIBRARIES
+ crypt32
+)
+add_qt_docs(
+ doc/qtknx.qdocconf
+)
+
diff --git a/src/knx/CMakeLists.txt b/src/knx/CMakeLists.txt
new file mode 100644
index 0000000..4e5ec08
--- /dev/null
+++ b/src/knx/CMakeLists.txt
@@ -0,0 +1,317 @@
+# special case begin
+# Protect against case when ZLIB is found via QtGui in a static build,
+# which means that we can't do a qt_find_package() here due to CMake
+# complaining about not being able to make the ZLIB target global,
+# because ZLIB was found in the QtGui directory scope (root level) and
+# not in this directory scope.
+if(BUILD_SHARED_LIBS)
+ qt_find_package(ZLIB REQUIRED PROVIDED_TARGETS ZLIB::ZLIB)
+endif()
+
+add_qt_module(Knx
+ SOURCES
+# core
+ core/qknxbytearray.cpp
+ core/qknxbytearray.h
+# dpt
+ dpt/qknx1bit.cpp
+ dpt/qknx1bit.h
+ dpt/qknx1bitcontrolled.cpp
+ dpt/qknx1bitcontrolled.h
+ dpt/qknx1byte.cpp
+ dpt/qknx1byte.h
+ dpt/qknx2bitset.cpp
+ dpt/qknx2bitset.h
+ dpt/qknx2bytefloat.cpp
+ dpt/qknx2bytefloat.h
+ dpt/qknx2bytesignedvalue.cpp
+ dpt/qknx2bytesignedvalue.h
+ dpt/qknx2byteunsignedvalue.cpp
+ dpt/qknx2byteunsignedvalue.h
+ dpt/qknx32bitset.cpp
+ dpt/qknx32bitset.h
+ dpt/qknx3bitcontrolled.cpp
+ dpt/qknx3bitcontrolled.h
+ dpt/qknx4bytefloat.cpp
+ dpt/qknx4bytefloat.h
+ dpt/qknx4bytesignedvalue.cpp
+ dpt/qknx4bytesignedvalue.h
+ dpt/qknx4byteunsignedvalue.cpp
+ dpt/qknx4byteunsignedvalue.h
+ dpt/qknx8bitset.cpp
+ dpt/qknx8bitset.h
+ dpt/qknx8bitsignedvalue.cpp
+ dpt/qknx8bitsignedvalue.h
+ dpt/qknx8bitunsignedvalue.cpp
+ dpt/qknx8bitunsignedvalue.h
+ dpt/qknxchar.cpp
+ dpt/qknxchar.h
+ dpt/qknxcharstring.cpp
+ dpt/qknxcharstring.h
+ dpt/qknxdatapointtype.cpp
+ dpt/qknxdatapointtype.h
+ dpt/qknxdatapointtype_p.h
+ dpt/qknxdatapointtypefactory.cpp
+ dpt/qknxdatapointtypefactory.h
+ dpt/qknxdatetime.cpp
+ dpt/qknxdatetime.h
+ dpt/qknxelectricalenergy.cpp
+ dpt/qknxelectricalenergy.h
+ dpt/qknxentranceaccess.cpp
+ dpt/qknxentranceaccess.h
+ dpt/qknxscene.cpp
+ dpt/qknxscene.h
+ dpt/qknxstatusmode3.cpp
+ dpt/qknxstatusmode3.h
+ dpt/qknxtime.cpp
+ dpt/qknxtime.h
+ dpt/qknxutf8string.cpp
+ dpt/qknxutf8string.h
+ dpt/qknxvarstring.cpp
+ dpt/qknxvarstring.h
+# ets
+ ets/manufacturers.cpp
+ ets/manufacturers.h
+# knxproj
+ knxproj/qknxbuildings.cpp
+ knxproj/qknxbuildings_p.h
+ knxproj/qknxdeviceinstance.cpp
+ knxproj/qknxdeviceinstance_p.h
+ knxproj/qknxgroupaddresses.cpp
+ knxproj/qknxgroupaddresses_p.h
+ knxproj/qknxgroupaddressinfo.cpp
+ knxproj/qknxgroupaddressinfo.h
+ knxproj/qknxgroupaddressinfos.cpp
+ knxproj/qknxgroupaddressinfos.h
+ knxproj/qknxinstallation.cpp
+ knxproj/qknxinstallation_p.h
+ knxproj/qknxprojectinformation.cpp
+ knxproj/qknxprojectinformation_p.h
+ knxproj/qknxprojectroot.cpp
+ knxproj/qknxprojectroot_p.h
+ knxproj/qknxprojectutils.cpp
+ knxproj/qknxprojectutils_p.h
+ knxproj/qknxtopology.cpp
+ knxproj/qknxtopology_p.h
+ knxproj/qzip.cpp
+ knxproj/qzipreader_p.h
+ knxproj/qzipwriter_p.h
+# netip
+ netip/qknxbuilderdata_p.h
+ netip/qknxnetip.cpp
+ netip/qknxnetip.h
+ netip/qknxnetipconfigdib.cpp
+ netip/qknxnetipconfigdib.h
+ netip/qknxnetipconnectionheader.cpp
+ netip/qknxnetipconnectionheader.h
+ netip/qknxnetipconnectionstaterequest.cpp
+ netip/qknxnetipconnectionstaterequest.h
+ netip/qknxnetipconnectionstateresponse.cpp
+ netip/qknxnetipconnectionstateresponse.h
+ netip/qknxnetipconnectrequest.cpp
+ netip/qknxnetipconnectrequest.h
+ netip/qknxnetipconnectresponse.cpp
+ netip/qknxnetipconnectresponse.h
+ netip/qknxnetipcrd.cpp
+ netip/qknxnetipcrd.h
+ netip/qknxnetipcri.cpp
+ netip/qknxnetipcri.h
+ netip/qknxnetipcurrentconfigdib.cpp
+ netip/qknxnetipcurrentconfigdib.h
+ netip/qknxnetipdescriptionrequest.cpp
+ netip/qknxnetipdescriptionrequest.h
+ netip/qknxnetipdescriptionresponse.cpp
+ netip/qknxnetipdescriptionresponse.h
+ netip/qknxnetipdeviceconfigurationacknowledge.cpp
+ netip/qknxnetipdeviceconfigurationacknowledge.h
+ netip/qknxnetipdeviceconfigurationrequest.cpp
+ netip/qknxnetipdeviceconfigurationrequest.h
+ netip/qknxnetipdevicedib.cpp
+ netip/qknxnetipdevicedib.h
+ netip/qknxnetipdevicemanagement.cpp
+ netip/qknxnetipdevicemanagement.h
+ netip/qknxnetipdisconnectrequest.cpp
+ netip/qknxnetipdisconnectrequest.h
+ netip/qknxnetipdisconnectresponse.cpp
+ netip/qknxnetipdisconnectresponse.h
+ netip/qknxnetipendpointconnection.cpp
+ netip/qknxnetipendpointconnection.h
+ netip/qknxnetipendpointconnection_p.h
+ netip/qknxnetipextendeddevicedib.cpp
+ netip/qknxnetipextendeddevicedib.h
+ netip/qknxnetipframe.cpp
+ netip/qknxnetipframe.h
+ netip/qknxnetipframeheader.cpp
+ netip/qknxnetipframeheader.h
+ netip/qknxnetiphpai.cpp
+ netip/qknxnetiphpai.h
+ netip/qknxnetipknxaddressesdib.cpp
+ netip/qknxnetipknxaddressesdib.h
+ netip/qknxnetipmanufacturerdib.cpp
+ netip/qknxnetipmanufacturerdib.h
+ netip/qknxnetiprouter.cpp
+ netip/qknxnetiprouter.h
+ netip/qknxnetiprouter_p.cpp
+ netip/qknxnetiprouter_p.h
+ netip/qknxnetiproutingbusy.cpp
+ netip/qknxnetiproutingbusy.h
+ netip/qknxnetiproutingindication.cpp
+ netip/qknxnetiproutingindication.h
+ netip/qknxnetiproutinglostmessage.cpp
+ netip/qknxnetiproutinglostmessage.h
+ netip/qknxnetiproutingsystembroadcast.cpp
+ netip/qknxnetiproutingsystembroadcast.h
+ netip/qknxnetipsearchrequest.cpp
+ netip/qknxnetipsearchrequest.h
+ netip/qknxnetipsearchresponse.cpp
+ netip/qknxnetipsearchresponse.h
+ netip/qknxnetipsecureconfiguration.cpp
+ netip/qknxnetipsecureconfiguration.h
+ netip/qknxnetipsecureconfiguration_p.h
+ netip/qknxnetipsecuredservicefamiliesdib.cpp
+ netip/qknxnetipsecuredservicefamiliesdib.h
+ netip/qknxnetipsecurewrapper.cpp
+ netip/qknxnetipsecurewrapper.h
+ netip/qknxnetipserverdescriptionagent.cpp
+ netip/qknxnetipserverdescriptionagent.h
+ netip/qknxnetipserverdescriptionagent_p.h
+ netip/qknxnetipserverdiscoveryagent.cpp
+ netip/qknxnetipserverdiscoveryagent.h
+ netip/qknxnetipserverdiscoveryagent_p.cpp
+ netip/qknxnetipserverdiscoveryagent_p.h
+ netip/qknxnetipserverinfo.cpp
+ netip/qknxnetipserverinfo.h
+ netip/qknxnetipserverinfo_p.h
+ netip/qknxnetipservicefamiliesdib.cpp
+ netip/qknxnetipservicefamiliesdib.h
+ netip/qknxnetipsessionauthenticate.cpp
+ netip/qknxnetipsessionauthenticate.h
+ netip/qknxnetipsessionrequest.cpp
+ netip/qknxnetipsessionrequest.h
+ netip/qknxnetipsessionresponse.cpp
+ netip/qknxnetipsessionresponse.h
+ netip/qknxnetipsessionstatus.cpp
+ netip/qknxnetipsessionstatus.h
+ netip/qknxnetipsrp.cpp
+ netip/qknxnetipsrp.h
+ netip/qknxnetipstruct.cpp
+ netip/qknxnetipstruct.h
+ netip/qknxnetipstructheader.cpp
+ netip/qknxnetipstructheader.h
+ netip/qknxnetiptestrouter_p.h
+ netip/qknxnetiptimernotify.cpp
+ netip/qknxnetiptimernotify.h
+ netip/qknxnetiptunnel.cpp
+ netip/qknxnetiptunnel.h
+ netip/qknxnetiptunnelingacknowledge.cpp
+ netip/qknxnetiptunnelingacknowledge.h
+ netip/qknxnetiptunnelingfeatureget.cpp
+ netip/qknxnetiptunnelingfeatureget.h
+ netip/qknxnetiptunnelingfeatureinfo.cpp
+ netip/qknxnetiptunnelingfeatureinfo.h
+ netip/qknxnetiptunnelingfeatureresponse.cpp
+ netip/qknxnetiptunnelingfeatureresponse.h
+ netip/qknxnetiptunnelingfeatureset.cpp
+ netip/qknxnetiptunnelingfeatureset.h
+ netip/qknxnetiptunnelinginfodib.cpp
+ netip/qknxnetiptunnelinginfodib.h
+ netip/qknxnetiptunnelingrequest.cpp
+ netip/qknxnetiptunnelingrequest.h
+# ssl
+ ssl/qknxcryptographicengine.cpp
+ ssl/qknxcryptographicengine.h
+ ssl/qknxkeyring.cpp
+ ssl/qknxkeyring_p.h
+ ssl/qknxsecurekey.cpp
+ ssl/qknxsecurekey.h
+ ssl/qknxssl_openssl.cpp
+ ssl/qknxssl_p.h
+# common
+ qknxadditionalinfo.cpp
+ qknxadditionalinfo.h
+ qknxaddress.cpp
+ qknxaddress.h
+ qknxcontrolfield.cpp
+ qknxcontrolfield.h
+ qknxdevicemanagementframe.cpp
+ qknxdevicemanagementframe.h
+ qknxdevicemanagementframefactory.cpp
+ qknxdevicemanagementframefactory.h
+ qknxextendedcontrolfield.cpp
+ qknxextendedcontrolfield.h
+ qknxinterfaceobjectproperty.cpp
+ qknxinterfaceobjectproperty.h
+ qknxinterfaceobjectpropertydatatype.cpp
+ qknxinterfaceobjectpropertydatatype.h
+ qknxinterfaceobjecttype.cpp
+ qknxinterfaceobjecttype.h
+ qknxlinklayerframe.cpp
+ qknxlinklayerframe.h
+ qknxlinklayerframebuilder.cpp
+ qknxlinklayerframebuilder.h
+ qknxnamespace.cpp
+ qknxnamespace.h
+ qknxtpdu.cpp
+ qknxtpdu.h
+ qknxtpdufactory_broadcast.cpp
+ qknxtpdufactory_multicast.cpp
+ qknxtpdufactory_p.h
+ qknxtpdufactory_p2p.cpp
+ qknxtraits.h
+ qknxutils.h
+ qtknxglobal.h
+ qtknxglobal_p.h
+# special case end
+ DEFINES
+ QT_NO_CAST_FROM_ASCII
+ INCLUDE_DIRECTORIES
+ core
+ dpt
+ ets
+ knxproj
+ netip
+ LIBRARIES
+ Qt::CorePrivate
+ Qt::Network
+ Qt::NetworkPrivate
+ ZLIB::ZLIB
+ PUBLIC_LIBRARIES
+ Qt::Core
+)
+
+#### Keys ignored in scope 1:.:.:knx.pro:<TRUE>:
+# _LOADED = "qt_module"
+
+## Scopes:
+#####################################################################
+
+# special case begin
+extend_target(Knx CONDITION QT_FEATURE_opensslv11
+ SOURCES
+ ssl/qsslsocket_openssl11_symbols_p.h
+ ssl/qsslsocket_openssl_symbols.cpp
+ ssl/qsslsocket_openssl_symbols_p.h
+ DEFINES
+ OPENSSL_API_COMPAT=0x10100000L
+)
+# special case end
+
+extend_target(Knx CONDITION QT_FEATURE_openssl_linked AND QT_FEATURE_opensslv11
+ LIBRARIES
+ OpenSSL::SSL
+)
+
+# special case begin
+#extend_target(Knx CONDITION QT_FEATURE_opensslv11 AND NOT QT_FEATURE_openssl_linked
+# LIBRARIES
+# OpenSSL::SSL_nolink
+#)
+# special case end
+
+extend_target(Knx CONDITION QT_FEATURE_opensslv11 AND WIN32
+ LIBRARIES
+ crypt32
+)
+add_qt_docs(
+ doc/qtknx.qdocconf
+)
diff --git a/tests/.prev_CMakeLists.txt b/tests/.prev_CMakeLists.txt
new file mode 100644
index 0000000..bd2f9ae
--- /dev/null
+++ b/tests/.prev_CMakeLists.txt
@@ -0,0 +1,11 @@
+# Generated from tests.pro.
+
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(QtKnxTests VERSION 6.0.0 LANGUAGES C CXX)
+ find_package(Qt6 ${PROJECT_VERSION} REQUIRED COMPONENTS BuildInternals Core SET_ME_TO_SOMETHING_USEFUL)
+ find_package(Qt6 ${PROJECT_VERSION} OPTIONAL_COMPONENTS SET_ME_TO_SOMETHING_USEFUL)
+ qt_set_up_standalone_tests_build()
+endif()
+
+qt_build_tests()
diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt
new file mode 100644
index 0000000..16784f3
--- /dev/null
+++ b/tests/CMakeLists.txt
@@ -0,0 +1,8 @@
+if(NOT TARGET Qt::Test)
+ cmake_minimum_required(VERSION 3.15.0)
+ project(QtKnxTests VERSION 6.0.0 LANGUAGES C CXX)
+ find_package(Qt6 REQUIRED COMPONENTS BuildInternals Core Network Test Knx) # special case
+ qt_set_up_standalone_tests_build()
+endif()
+
+qt_build_tests()
diff --git a/tests/auto/.prev_CMakeLists.txt b/tests/auto/.prev_CMakeLists.txt
new file mode 100644
index 0000000..6b82588
--- /dev/null
+++ b/tests/auto/.prev_CMakeLists.txt
@@ -0,0 +1,51 @@
+# Generated from auto.pro.
+
+add_subdirectory(cmake)
+add_subdirectory(qknxadditionalinfo)
+add_subdirectory(qknxaddress)
+add_subdirectory(qknxnetipconfigdib)
+add_subdirectory(qknxnetipconnectionheader)
+add_subdirectory(qknxnetipconnectionstaterequest)
+add_subdirectory(qknxnetipconnectionstateresponse)
+add_subdirectory(qknxnetipconnectrequest)
+add_subdirectory(qknxnetipconnectresponse)
+add_subdirectory(qknxnetipcrd)
+add_subdirectory(qknxnetipcri)
+add_subdirectory(qknxnetipcurrentconfigdib)
+add_subdirectory(qknxnetipdescriptionrequest)
+add_subdirectory(qknxnetipdescriptionresponse)
+add_subdirectory(qknxnetipdeviceconfigurationacknowledge)
+add_subdirectory(qknxnetipdeviceconfigurationrequest)
+add_subdirectory(qknxnetipdevicedib)
+add_subdirectory(qknxnetipdisconnectrequest)
+add_subdirectory(qknxnetipdisconnectresponse)
+add_subdirectory(qknxnetiphpai)
+add_subdirectory(qknxnetipknxaddressesdib)
+add_subdirectory(qknxnetipmanufacturerdib)
+add_subdirectory(qknxnetiproutingbusy)
+add_subdirectory(qknxnetiproutingindication)
+add_subdirectory(qknxnetiproutinglostmessage)
+add_subdirectory(qknxnetipsearchrequest)
+add_subdirectory(qknxnetipsearchresponse)
+add_subdirectory(qknxnetipservicefamiliesdib)
+add_subdirectory(qknxnetipstructure)
+add_subdirectory(qknxnetiptunnelingacknowledge)
+add_subdirectory(qknxnetiptunnelingrequest)
+add_subdirectory(qknxtunnelframe)
+add_subdirectory(qknxtpdufactory)
+add_subdirectory(qknxdevicemanagementframe)
+add_subdirectory(qknxcontrolfield)
+add_subdirectory(qknxtunnelframefactory)
+add_subdirectory(qknxdatapointtype)
+add_subdirectory(qknxproject)
+add_subdirectory(qknxgroupaddressinfo)
+add_subdirectory(qknxbytearray)
+add_subdirectory(qknxnetiptunnelingfeature)
+add_subdirectory(qknxnetiptunnelinginfodib)
+add_subdirectory(qknxnetipextendeddevicedib)
+add_subdirectory(qknxnetiproutingsystembroadcast)
+add_subdirectory(qknxnetipsecuredservicefamiliesdib)
+add_subdirectory(qknxnetipsessionrequest)
+add_subdirectory(qknxnetipsessionresponse)
+add_subdirectory(qknxnetiprouter)
+add_subdirectory(qknxcryptographicengine)
diff --git a/tests/auto/CMakeLists.txt b/tests/auto/CMakeLists.txt
new file mode 100644
index 0000000..fe74360
--- /dev/null
+++ b/tests/auto/CMakeLists.txt
@@ -0,0 +1,50 @@
+# special case begin
+add_subdirectory(qknxadditionalinfo)
+add_subdirectory(qknxaddress)
+add_subdirectory(qknxbytearray)
+add_subdirectory(qknxcontrolfield)
+add_subdirectory(qknxcryptographicengine)
+add_subdirectory(qknxdatapointtype)
+add_subdirectory(qknxdevicemanagementframe)
+add_subdirectory(qknxgroupaddressinfo)
+add_subdirectory(qknxnetipconfigdib)
+add_subdirectory(qknxnetipconnectionheader)
+add_subdirectory(qknxnetipconnectionstaterequest)
+add_subdirectory(qknxnetipconnectionstateresponse)
+add_subdirectory(qknxnetipconnectrequest)
+add_subdirectory(qknxnetipconnectresponse)
+add_subdirectory(qknxnetipcrd)
+add_subdirectory(qknxnetipcri)
+add_subdirectory(qknxnetipcurrentconfigdib)
+add_subdirectory(qknxnetipdescriptionrequest)
+add_subdirectory(qknxnetipdescriptionresponse)
+add_subdirectory(qknxnetipdeviceconfigurationacknowledge)
+add_subdirectory(qknxnetipdeviceconfigurationrequest)
+add_subdirectory(qknxnetipdevicedib)
+add_subdirectory(qknxnetipdisconnectrequest)
+add_subdirectory(qknxnetipdisconnectresponse)
+add_subdirectory(qknxnetipextendeddevicedib)
+add_subdirectory(qknxnetiphpai)
+add_subdirectory(qknxnetipknxaddressesdib)
+add_subdirectory(qknxnetipmanufacturerdib)
+add_subdirectory(qknxnetiprouter)
+add_subdirectory(qknxnetiproutingbusy)
+add_subdirectory(qknxnetiproutingindication)
+add_subdirectory(qknxnetiproutinglostmessage)
+add_subdirectory(qknxnetiproutingsystembroadcast)
+add_subdirectory(qknxnetipsearchrequest)
+add_subdirectory(qknxnetipsearchresponse)
+add_subdirectory(qknxnetipsecuredservicefamiliesdib)
+add_subdirectory(qknxnetipservicefamiliesdib)
+add_subdirectory(qknxnetipsessionrequest)
+add_subdirectory(qknxnetipsessionresponse)
+add_subdirectory(qknxnetipstructure)
+add_subdirectory(qknxnetiptunnelingacknowledge)
+add_subdirectory(qknxnetiptunnelingfeature)
+add_subdirectory(qknxnetiptunnelinginfodib)
+add_subdirectory(qknxnetiptunnelingrequest)
+add_subdirectory(qknxproject)
+add_subdirectory(qknxtpdufactory)
+add_subdirectory(qknxtunnelframe)
+add_subdirectory(qknxtunnelframefactory)
+# special case end
diff --git a/tests/auto/cmake/CMakeLists.txt b/tests/auto/cmake/CMakeLists.txt
index 04a0239..ac6e09c 100644
--- a/tests/auto/cmake/CMakeLists.txt
+++ b/tests/auto/cmake/CMakeLists.txt
@@ -1,4 +1,3 @@
-
cmake_minimum_required(VERSION 2.8)
project(qmake_cmake_files)
diff --git a/tests/auto/qknxadditionalinfo/CMakeLists.txt b/tests/auto/qknxadditionalinfo/CMakeLists.txt
new file mode 100644
index 0000000..ec5d8ca
--- /dev/null
+++ b/tests/auto/qknxadditionalinfo/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxadditionalinfo
+ GUI
+ SOURCES
+ tst_qknxadditionalinfo.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxaddress/CMakeLists.txt b/tests/auto/qknxaddress/CMakeLists.txt
new file mode 100644
index 0000000..22922d5
--- /dev/null
+++ b/tests/auto/qknxaddress/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxaddress
+ GUI
+ SOURCES
+ tst_qknxaddress.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxbytearray/CMakeLists.txt b/tests/auto/qknxbytearray/CMakeLists.txt
new file mode 100644
index 0000000..97f2226
--- /dev/null
+++ b/tests/auto/qknxbytearray/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxbytearray
+ GUI
+ SOURCES
+ tst_qknxbytearray.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxcontrolfield/CMakeLists.txt b/tests/auto/qknxcontrolfield/CMakeLists.txt
new file mode 100644
index 0000000..ccc977a
--- /dev/null
+++ b/tests/auto/qknxcontrolfield/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxcontrolfield
+ GUI
+ SOURCES
+ tst_qknxcontrolfield.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxcryptographicengine/CMakeLists.txt b/tests/auto/qknxcryptographicengine/CMakeLists.txt
new file mode 100644
index 0000000..ae6f564
--- /dev/null
+++ b/tests/auto/qknxcryptographicengine/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxcryptographicengine
+ GUI
+ SOURCES
+ tst_qknxcryptographicengine.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxdatapointtype/CMakeLists.txt b/tests/auto/qknxdatapointtype/CMakeLists.txt
new file mode 100644
index 0000000..277b880
--- /dev/null
+++ b/tests/auto/qknxdatapointtype/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxdatapointtype
+ GUI
+ SOURCES
+ tst_qknxdatapointtype.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxdevicemanagementframe/CMakeLists.txt b/tests/auto/qknxdevicemanagementframe/CMakeLists.txt
new file mode 100644
index 0000000..802c65f
--- /dev/null
+++ b/tests/auto/qknxdevicemanagementframe/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxdevicemanagementframe
+ GUI
+ SOURCES
+ tst_qknxdevicemanagementframe.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxgroupaddressinfo/CMakeLists.txt b/tests/auto/qknxgroupaddressinfo/CMakeLists.txt
new file mode 100644
index 0000000..d79de02
--- /dev/null
+++ b/tests/auto/qknxgroupaddressinfo/CMakeLists.txt
@@ -0,0 +1,20 @@
+add_qt_test(tst_qknxgroupaddressinfo
+ GUI
+ SOURCES
+ tst_qknxgroupaddressinfo.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
+
+# Resources:
+set(project_resource_files
+ "data/0.xml"
+ "data/qt.io.knxproj"
+)
+
+add_qt_resource(tst_qknxgroupaddressinfo "project"
+ PREFIX
+ "/"
+ FILES
+ ${project_resource_files}
+)
diff --git a/tests/auto/qknxnetipconfigdib/CMakeLists.txt b/tests/auto/qknxnetipconfigdib/CMakeLists.txt
new file mode 100644
index 0000000..f071227
--- /dev/null
+++ b/tests/auto/qknxnetipconfigdib/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipconfigdib
+ GUI
+ SOURCES
+ tst_qknxnetipconfigdib.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipconnectionheader/CMakeLists.txt b/tests/auto/qknxnetipconnectionheader/CMakeLists.txt
new file mode 100644
index 0000000..91a6d10
--- /dev/null
+++ b/tests/auto/qknxnetipconnectionheader/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetipconnectionheader
+ GUI
+ SOURCES
+ tst_qknxnetipconnectionheader.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetipconnectionstaterequest/CMakeLists.txt b/tests/auto/qknxnetipconnectionstaterequest/CMakeLists.txt
new file mode 100644
index 0000000..f2f0ced
--- /dev/null
+++ b/tests/auto/qknxnetipconnectionstaterequest/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipconnectionstaterequest
+ GUI
+ SOURCES
+ tst_qknxnetipconnectionstaterequest.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipconnectionstateresponse/CMakeLists.txt b/tests/auto/qknxnetipconnectionstateresponse/CMakeLists.txt
new file mode 100644
index 0000000..dbc57d3
--- /dev/null
+++ b/tests/auto/qknxnetipconnectionstateresponse/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipconnectionstateresponse
+ GUI
+ SOURCES
+ tst_qknxnetipconnectionstateresponse.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipconnectrequest/CMakeLists.txt b/tests/auto/qknxnetipconnectrequest/CMakeLists.txt
new file mode 100644
index 0000000..a9f38dd
--- /dev/null
+++ b/tests/auto/qknxnetipconnectrequest/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipconnectrequest
+ GUI
+ SOURCES
+ tst_qknxnetipconnectrequest.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipconnectresponse/CMakeLists.txt b/tests/auto/qknxnetipconnectresponse/CMakeLists.txt
new file mode 100644
index 0000000..0c3b028
--- /dev/null
+++ b/tests/auto/qknxnetipconnectresponse/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipconnectresponse
+ GUI
+ SOURCES
+ tst_qknxnetipconnectresponse.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipcrd/CMakeLists.txt b/tests/auto/qknxnetipcrd/CMakeLists.txt
new file mode 100644
index 0000000..0aa45cf
--- /dev/null
+++ b/tests/auto/qknxnetipcrd/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetipcrd
+ GUI
+ SOURCES
+ tst_qknxnetipcrd.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetipcri/CMakeLists.txt b/tests/auto/qknxnetipcri/CMakeLists.txt
new file mode 100644
index 0000000..94d42d9
--- /dev/null
+++ b/tests/auto/qknxnetipcri/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetipcri
+ GUI
+ SOURCES
+ tst_qknxnetipcri.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetipcurrentconfigdib/CMakeLists.txt b/tests/auto/qknxnetipcurrentconfigdib/CMakeLists.txt
new file mode 100644
index 0000000..c6ae5c6
--- /dev/null
+++ b/tests/auto/qknxnetipcurrentconfigdib/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipcurrentconfigdib
+ GUI
+ SOURCES
+ tst_qknxnetipcurrentconfigdib.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipdescriptionrequest/CMakeLists.txt b/tests/auto/qknxnetipdescriptionrequest/CMakeLists.txt
new file mode 100644
index 0000000..a1c483c
--- /dev/null
+++ b/tests/auto/qknxnetipdescriptionrequest/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipdescriptionrequest
+ GUI
+ SOURCES
+ tst_qknxnetipdescriptionrequest.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipdescriptionresponse/CMakeLists.txt b/tests/auto/qknxnetipdescriptionresponse/CMakeLists.txt
new file mode 100644
index 0000000..153add2
--- /dev/null
+++ b/tests/auto/qknxnetipdescriptionresponse/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipdescriptionresponse
+ GUI
+ SOURCES
+ tst_qknxnetipdescriptionresponse.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipdeviceconfigurationacknowledge/CMakeLists.txt b/tests/auto/qknxnetipdeviceconfigurationacknowledge/CMakeLists.txt
new file mode 100644
index 0000000..1f23c28
--- /dev/null
+++ b/tests/auto/qknxnetipdeviceconfigurationacknowledge/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipdeviceconfigurationacknowledge
+ GUI
+ SOURCES
+ tst_qknxnetipdeviceconfigurationacknowledge.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipdeviceconfigurationrequest/CMakeLists.txt b/tests/auto/qknxnetipdeviceconfigurationrequest/CMakeLists.txt
new file mode 100644
index 0000000..ffe6e2c
--- /dev/null
+++ b/tests/auto/qknxnetipdeviceconfigurationrequest/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipdeviceconfigurationrequest
+ GUI
+ SOURCES
+ tst_qknxnetipdeviceconfigurationrequest.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipdevicedib/CMakeLists.txt b/tests/auto/qknxnetipdevicedib/CMakeLists.txt
new file mode 100644
index 0000000..ffa72e6
--- /dev/null
+++ b/tests/auto/qknxnetipdevicedib/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipdevicedib
+ GUI
+ SOURCES
+ tst_qknxnetipdevicedib.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipdisconnectrequest/CMakeLists.txt b/tests/auto/qknxnetipdisconnectrequest/CMakeLists.txt
new file mode 100644
index 0000000..a91deb8
--- /dev/null
+++ b/tests/auto/qknxnetipdisconnectrequest/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipdisconnectrequest
+ GUI
+ SOURCES
+ tst_qknxnetipdisconnectrequest.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipdisconnectresponse/CMakeLists.txt b/tests/auto/qknxnetipdisconnectresponse/CMakeLists.txt
new file mode 100644
index 0000000..b972145
--- /dev/null
+++ b/tests/auto/qknxnetipdisconnectresponse/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipdisconnectresponse
+ GUI
+ SOURCES
+ tst_qknxnetipdisconnectresponse.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipextendeddevicedib/CMakeLists.txt b/tests/auto/qknxnetipextendeddevicedib/CMakeLists.txt
new file mode 100644
index 0000000..62778e9
--- /dev/null
+++ b/tests/auto/qknxnetipextendeddevicedib/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetipextendeddevicedib
+ GUI
+ SOURCES
+ tst_qknxnetipextendeddevicedib.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetiphpai/CMakeLists.txt b/tests/auto/qknxnetiphpai/CMakeLists.txt
new file mode 100644
index 0000000..9503743
--- /dev/null
+++ b/tests/auto/qknxnetiphpai/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetiphpai
+ GUI
+ SOURCES
+ tst_qknxnetiphpai.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipknxaddressesdib/CMakeLists.txt b/tests/auto/qknxnetipknxaddressesdib/CMakeLists.txt
new file mode 100644
index 0000000..a359b8a
--- /dev/null
+++ b/tests/auto/qknxnetipknxaddressesdib/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetipknxaddressesdib
+ GUI
+ SOURCES
+ tst_qknxnetipknxaddressesdib.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetipmanufacturerdib/CMakeLists.txt b/tests/auto/qknxnetipmanufacturerdib/CMakeLists.txt
new file mode 100644
index 0000000..a29c68b
--- /dev/null
+++ b/tests/auto/qknxnetipmanufacturerdib/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetipmanufacturerdib
+ GUI
+ SOURCES
+ tst_qknxnetipmanufacturerdib.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetiprouter/CMakeLists.txt b/tests/auto/qknxnetiprouter/CMakeLists.txt
new file mode 100644
index 0000000..9c1e640
--- /dev/null
+++ b/tests/auto/qknxnetiprouter/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_qt_test(tst_qknxnetiproutinginterface
+ GUI
+ SOURCES
+ tst_qknxnetiprouter.cpp
+ LIBRARIES
+ Qt::KnxPrivate
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetiproutingbusy/CMakeLists.txt b/tests/auto/qknxnetiproutingbusy/CMakeLists.txt
new file mode 100644
index 0000000..bc8ed26
--- /dev/null
+++ b/tests/auto/qknxnetiproutingbusy/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetiproutingbusy
+ GUI
+ SOURCES
+ tst_qknxnetiproutingbusy.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetiproutingindication/CMakeLists.txt b/tests/auto/qknxnetiproutingindication/CMakeLists.txt
new file mode 100644
index 0000000..b550229
--- /dev/null
+++ b/tests/auto/qknxnetiproutingindication/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_qt_test(tst_qknxnetiproutingindication
+ GUI
+ SOURCES
+ tst_qknxnetiproutingindication.cpp
+ LIBRARIES
+ Qt::KnxPrivate
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetiproutinglostmessage/CMakeLists.txt b/tests/auto/qknxnetiproutinglostmessage/CMakeLists.txt
new file mode 100644
index 0000000..f9e8588
--- /dev/null
+++ b/tests/auto/qknxnetiproutinglostmessage/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetiproutinglostmessage
+ GUI
+ SOURCES
+ tst_qknxnetiproutinglostmessage.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetiproutingsystembroadcast/CMakeLists.txt b/tests/auto/qknxnetiproutingsystembroadcast/CMakeLists.txt
new file mode 100644
index 0000000..e58cc75
--- /dev/null
+++ b/tests/auto/qknxnetiproutingsystembroadcast/CMakeLists.txt
@@ -0,0 +1,10 @@
+add_qt_test(tst_qknxnetiproutingsystembroadcast
+ GUI
+ SOURCES
+ tst_qknxnetiproutingsystembroadcast.cpp
+ LIBRARIES
+ Qt::KnxPrivate
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipsearchrequest/CMakeLists.txt b/tests/auto/qknxnetipsearchrequest/CMakeLists.txt
new file mode 100644
index 0000000..eb5bd24
--- /dev/null
+++ b/tests/auto/qknxnetipsearchrequest/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipsearchrequest
+ GUI
+ SOURCES
+ tst_qknxnetipsearchrequest.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipsearchresponse/CMakeLists.txt b/tests/auto/qknxnetipsearchresponse/CMakeLists.txt
new file mode 100644
index 0000000..4dc5e95
--- /dev/null
+++ b/tests/auto/qknxnetipsearchresponse/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipsearchresponse
+ GUI
+ SOURCES
+ tst_qknxnetipsearchresponse.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipsecuredservicefamiliesdib/CMakeLists.txt b/tests/auto/qknxnetipsecuredservicefamiliesdib/CMakeLists.txt
new file mode 100644
index 0000000..776814d
--- /dev/null
+++ b/tests/auto/qknxnetipsecuredservicefamiliesdib/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetipsecuredservicefamiliesdib
+ GUI
+ SOURCES
+ tst_qknxnetipsecuredservicefamiliesdib.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetipservicefamiliesdib/CMakeLists.txt b/tests/auto/qknxnetipservicefamiliesdib/CMakeLists.txt
new file mode 100644
index 0000000..04b0639
--- /dev/null
+++ b/tests/auto/qknxnetipservicefamiliesdib/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetipservicefamiliesdib
+ GUI
+ SOURCES
+ tst_qknxnetipservicefamiliesdib.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetipsessionrequest/CMakeLists.txt b/tests/auto/qknxnetipsessionrequest/CMakeLists.txt
new file mode 100644
index 0000000..1a5f2db
--- /dev/null
+++ b/tests/auto/qknxnetipsessionrequest/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipsessionrequest
+ GUI
+ SOURCES
+ tst_qknxnetipsessionrequest.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipsessionresponse/CMakeLists.txt b/tests/auto/qknxnetipsessionresponse/CMakeLists.txt
new file mode 100644
index 0000000..fc71594
--- /dev/null
+++ b/tests/auto/qknxnetipsessionresponse/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetipsessionresponse
+ GUI
+ SOURCES
+ tst_qknxnetipsessionresponse.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetipstructure/CMakeLists.txt b/tests/auto/qknxnetipstructure/CMakeLists.txt
new file mode 100644
index 0000000..552592d
--- /dev/null
+++ b/tests/auto/qknxnetipstructure/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetipstructure
+ GUI
+ SOURCES
+ tst_qknxnetipstructure.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetiptunnelingacknowledge/CMakeLists.txt b/tests/auto/qknxnetiptunnelingacknowledge/CMakeLists.txt
new file mode 100644
index 0000000..0a42453
--- /dev/null
+++ b/tests/auto/qknxnetiptunnelingacknowledge/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetiptunnelingacknowledge
+ GUI
+ SOURCES
+ tst_qknxnetiptunnelingacknowledge.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxnetiptunnelingfeature/CMakeLists.txt b/tests/auto/qknxnetiptunnelingfeature/CMakeLists.txt
new file mode 100644
index 0000000..bddb055
--- /dev/null
+++ b/tests/auto/qknxnetiptunnelingfeature/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetiptunnelingfeature
+ GUI
+ SOURCES
+ tst_qknxnetiptunnelingfeature.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetiptunnelinginfodib/CMakeLists.txt b/tests/auto/qknxnetiptunnelinginfodib/CMakeLists.txt
new file mode 100644
index 0000000..e924d4f
--- /dev/null
+++ b/tests/auto/qknxnetiptunnelinginfodib/CMakeLists.txt
@@ -0,0 +1,7 @@
+add_qt_test(tst_qknxnetiptunnelinginfodib
+ GUI
+ SOURCES
+ tst_qknxnetiptunnelinginfodib.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxnetiptunnelingrequest/CMakeLists.txt b/tests/auto/qknxnetiptunnelingrequest/CMakeLists.txt
new file mode 100644
index 0000000..8bc7d02
--- /dev/null
+++ b/tests/auto/qknxnetiptunnelingrequest/CMakeLists.txt
@@ -0,0 +1,8 @@
+add_qt_test(tst_qknxnetiptunnelingrequest
+ GUI
+ SOURCES
+ tst_qknxnetiptunnelingrequest.cpp
+ PUBLIC_LIBRARIES
+ Qt::Knx
+ Qt::Network
+)
diff --git a/tests/auto/qknxproject/CMakeLists.txt b/tests/auto/qknxproject/CMakeLists.txt
new file mode 100644
index 0000000..1461278
--- /dev/null
+++ b/tests/auto/qknxproject/CMakeLists.txt
@@ -0,0 +1,27 @@
+add_qt_test(tst_qknxproject
+ GUI
+ SOURCES
+ tst_qknxproject.cpp
+ LIBRARIES
+ Qt::KnxPrivate
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
+
+# Resources:
+set(project_resource_files
+ "data/buildings.xml"
+ "data/groupaddresses.xml"
+ "data/locations.xml"
+ "data/projectinformation.xml"
+ "data/topology.xml"
+ "data/trades-busaccess-splitinfos.xml"
+ "data/unassigneddevices.xml"
+)
+
+add_qt_resource(tst_qknxproject "project"
+ PREFIX
+ "/"
+ FILES
+ ${project_resource_files}
+)
diff --git a/tests/auto/qknxtpdufactory/CMakeLists.txt b/tests/auto/qknxtpdufactory/CMakeLists.txt
new file mode 100644
index 0000000..49990d8
--- /dev/null
+++ b/tests/auto/qknxtpdufactory/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_qt_test(tst_qknxtpdufactory
+ GUI
+ SOURCES
+ tst_qknxtpdufactory.cpp
+ LIBRARIES
+ Qt::KnxPrivate
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxtunnelframe/CMakeLists.txt b/tests/auto/qknxtunnelframe/CMakeLists.txt
new file mode 100644
index 0000000..3c42874
--- /dev/null
+++ b/tests/auto/qknxtunnelframe/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_qt_test(tst_qknxtunnelframe
+ GUI
+ SOURCES
+ tst_qknxtunnelframe.cpp
+ LIBRARIES
+ Qt::KnxPrivate
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)
diff --git a/tests/auto/qknxtunnelframefactory/CMakeLists.txt b/tests/auto/qknxtunnelframefactory/CMakeLists.txt
new file mode 100644
index 0000000..94e3b47
--- /dev/null
+++ b/tests/auto/qknxtunnelframefactory/CMakeLists.txt
@@ -0,0 +1,9 @@
+add_qt_test(tst_qknxtunnelframefactory
+ GUI
+ SOURCES
+ tst_qknxtunnelframefactory.cpp
+ LIBRARIES
+ Qt::KnxPrivate
+ PUBLIC_LIBRARIES
+ Qt::Knx
+)