summaryrefslogtreecommitdiff
path: root/examples/ivicore/qface-ivi-remote
diff options
context:
space:
mode:
authorDominik Holland <dominik.holland@qt.io>2021-02-17 17:34:35 +0100
committerDominik Holland <dominik.holland@qt.io>2021-05-10 17:28:11 +0200
commit8e3d637e7776638149119bd62f459178cbca2955 (patch)
tree077f7a597039a05555da2c2fe33c1535227dd35e /examples/ivicore/qface-ivi-remote
parenteac2590d4266e234f0f2ec4d261d940b14dd79bf (diff)
downloadqtivi-8e3d637e7776638149119bd62f459178cbca2955.tar.gz
cmake integration of the ivigenerator
Rerun pro2cmake.py for all examples and tests. Ivigenerator based tests and examples are compiling fine, but the cmake files need to be reworked to be also able to run them. Task-number: AUTOSUITE-1633 Change-Id: Icb95ecfa62ecb319d042dc30ea9f643b69a4aacf Reviewed-by: Robert Griebl <robert.griebl@qt.io>
Diffstat (limited to 'examples/ivicore/qface-ivi-remote')
-rw-r--r--examples/ivicore/qface-ivi-remote/backend_qtro/CMakeLists.txt6
-rw-r--r--examples/ivicore/qface-ivi-remote/frontend/CMakeLists.txt6
-rw-r--r--examples/ivicore/qface-ivi-remote/server_qtro/CMakeLists.txt6
3 files changed, 18 insertions, 0 deletions
diff --git a/examples/ivicore/qface-ivi-remote/backend_qtro/CMakeLists.txt b/examples/ivicore/qface-ivi-remote/backend_qtro/CMakeLists.txt
index 26c3d05..f5bda9e 100644
--- a/examples/ivicore/qface-ivi-remote/backend_qtro/CMakeLists.txt
+++ b/examples/ivicore/qface-ivi-remote/backend_qtro/CMakeLists.txt
@@ -19,6 +19,12 @@ find_package(Qt6 COMPONENTS Core)
find_package(Qt6 COMPONENTS Gui)
find_package(Qt6 COMPONENTS IviCore)
+qt_add_plugin(example_ivi_remote)
+
+# IVI Generator:
+qt6_ivigenerator(example_ivi_remote
+ QFACE_SOURCES ../example-ivi-remote.qface
+ QFACE_FORMAT backend_qtro
)
set_target_properties(example_ivi_remote PROPERTIES
WIN32_EXECUTABLE TRUE
diff --git a/examples/ivicore/qface-ivi-remote/frontend/CMakeLists.txt b/examples/ivicore/qface-ivi-remote/frontend/CMakeLists.txt
index 10f4cac..c219e21 100644
--- a/examples/ivicore/qface-ivi-remote/frontend/CMakeLists.txt
+++ b/examples/ivicore/qface-ivi-remote/frontend/CMakeLists.txt
@@ -21,6 +21,12 @@ find_package(Qt6 COMPONENTS IviCore)
find_package(Qt6 COMPONENTS Qml)
find_package(Qt6 COMPONENTS Quick)
+qt_add_executable(QtIviRemoteExample)
+
+# IVI Generator:
+qt6_ivigenerator(QtIviRemoteExample
+ QFACE_SOURCES ../example-ivi-remote.qface
+ QFACE_FORMAT frontend
)
set_target_properties(QtIviRemoteExample PROPERTIES
WIN32_EXECUTABLE TRUE
diff --git a/examples/ivicore/qface-ivi-remote/server_qtro/CMakeLists.txt b/examples/ivicore/qface-ivi-remote/server_qtro/CMakeLists.txt
index a800ca8..6b2110d 100644
--- a/examples/ivicore/qface-ivi-remote/server_qtro/CMakeLists.txt
+++ b/examples/ivicore/qface-ivi-remote/server_qtro/CMakeLists.txt
@@ -21,6 +21,12 @@ qt_add_executable(qface-ivi-remote-server
main.cpp
processingservice.cpp processingservice.h
)
+
+# IVI Generator:
+qt6_ivigenerator(qface-ivi-remote-server
+ QFACE_SOURCES ../example-ivi-remote.qface
+ QFACE_FORMAT server_qtro
+)
set_target_properties(qface-ivi-remote-server PROPERTIES
WIN32_EXECUTABLE TRUE
MACOSX_BUNDLE FALSE