summaryrefslogtreecommitdiffstats
path: root/examples/dbus
diff options
context:
space:
mode:
Diffstat (limited to 'examples/dbus')
-rw-r--r--examples/dbus/chat/CMakeLists.txt4
-rw-r--r--examples/dbus/remotecontrolledcar/car/CMakeLists.txt2
-rw-r--r--examples/dbus/remotecontrolledcar/controller/CMakeLists.txt2
3 files changed, 4 insertions, 4 deletions
diff --git a/examples/dbus/chat/CMakeLists.txt b/examples/dbus/chat/CMakeLists.txt
index 59036e2cbd..064ce26833 100644
--- a/examples/dbus/chat/CMakeLists.txt
+++ b/examples/dbus/chat/CMakeLists.txt
@@ -16,11 +16,11 @@ find_package(Qt6 COMPONENTS Widgets)
# special case begin
set(chat_SRCS)
-qt5_add_dbus_interface(chat_SRCS
+qt6_add_dbus_interface(chat_SRCS
org.example.chat.xml
chat_interface
)
-qt5_add_dbus_adaptor(chat_SRCS
+qt6_add_dbus_adaptor(chat_SRCS
org.example.chat.xml
qobject.h
QObject
diff --git a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt
index 1265f7cebd..10abdd8f70 100644
--- a/examples/dbus/remotecontrolledcar/car/CMakeLists.txt
+++ b/examples/dbus/remotecontrolledcar/car/CMakeLists.txt
@@ -16,7 +16,7 @@ find_package(Qt6 COMPONENTS Widgets)
# special case begin
set(car_SRCS)
-qt5_add_dbus_adaptor(car_SRCS
+qt6_add_dbus_adaptor(car_SRCS
car.xml
car.h
Car
diff --git a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt
index 1b01e82cf2..2075261d18 100644
--- a/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt
+++ b/examples/dbus/remotecontrolledcar/controller/CMakeLists.txt
@@ -16,7 +16,7 @@ find_package(Qt6 COMPONENTS Widgets)
# special case begin
set(controller_SRCS)
-qt5_add_dbus_interface(controller_SRCS
+qt6_add_dbus_interface(controller_SRCS
car.xml
car_interface
)