Details
-
Task
-
Resolution: Fixed
-
P2: Important
-
6.8.0 Beta3
-
None
-
-
f60237ac9 (dev), d92264a08 (6.8)
Description
Since https://codereview.qt-project.org/c/qt/qtbase/+/579078 we have warnings when using the qtremoteobjects CMake API:
CMake Warning at /home/qt/work/install/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:184 (message): You are using the output-variable signature of qt6_wrap_cpp(), which is deprecated. Instead, use the newer signature that takes the target as the first argument. To silence this warning pass -DQT_NO_SHOW_OLD_QT_WRAP_CPP_WARNING=ON Call Stack (most recent call first): /home/qt/work/install/lib/cmake/Qt6RemoteObjects/Qt6RemoteObjectsMacros.cmake:81 (qt6_wrap_cpp) /home/qt/work/install/lib/cmake/Qt6RemoteObjects/Qt6RemoteObjectsMacros.cmake:99 (_qt_internal_add_repc_files)
We should fix the warnings - or at the very least suppress - those warnings from our own code.
Also, check whether qt6_wrap_cpp calls must be migrated in other places too.
Alternatively, remove this warning.
Attachments
Issue Links
- mentioned in
-
Page Loading...