diff options
author | Kai Köhne <kai.koehne@qt.io> | 2021-12-08 15:59:33 +0100 |
---|---|---|
committer | Kai Koehne <kai.koehne@qt.io> | 2021-12-13 14:16:25 +0000 |
commit | 28a9d116bba00fde5aaa214bb7c929efc66af971 (patch) | |
tree | 8887c2f3f899ee1c2cc3de1bfd54ab47475b000f /examples/dbus/remotecontrolledcar | |
parent | 85c5ae2ab89c2671a7030a80ac0629a2eea1be89 (diff) |
CMake: Prefer unversioned commands
Pick-to: 6.3
Change-Id: Ib32700ab82cf6b271c49e25d12fbad8c9c6bc1d1
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'examples/dbus/remotecontrolledcar')
-rw-r--r-- | examples/dbus/remotecontrolledcar/car/CMakeLists.txt | 2 | ||||
-rw-r--r-- | examples/dbus/remotecontrolledcar/controller/CMakeLists.txt | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt index 77dc4dd4ba..fa7a0a4b09 100644 --- a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt +++ b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 REQUIRED COMPONENTS Core DBus Gui Widgets) # special case begin set(car_SRCS) -qt6_add_dbus_adaptor(car_SRCS +qt_add_dbus_adaptor(car_SRCS car.xml qobject.h "" # empty parent_class value on purpose to not pass -l flag diff --git a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt index 60e5ef5e08..09057f1cda 100644 --- a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt +++ b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt @@ -19,7 +19,7 @@ find_package(Qt6 REQUIRED COMPONENTS Core DBus Gui Widgets) # special case begin set(controller_SRCS) -qt6_add_dbus_interface(controller_SRCS +qt_add_dbus_interface(controller_SRCS car.xml car_interface ) |