CMake Warning (dev) at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:44 (message):
qt5_use_modules is not part of the official API, and might be removed in Qt
6.
Call Stack (most recent call first):
/usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:431 (_qt5_warn_deprecated)
tests/dbus-types/CMakeLists.txt:56 (qt5_use_modules)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:44 (message):
qt5_use_modules is not part of the official API, and might be removed in Qt
6.
Call Stack (most recent call first):
/usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:431 (_qt5_warn_deprecated)
tests/service-mocks/media-player-mpris-mock/CMakeLists.txt:47 (qt5_use_modules)
This warning is for project developers. Use -Wno-dev to suppress it.
CMake Warning (dev) at /usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:44 (message):
qt5_use_modules is not part of the official API, and might be removed in Qt
6.
Call Stack (most recent call first):
/usr/lib/cmake/Qt5Core/Qt5CoreMacros.cmake:431 (_qt5_warn_deprecated)
tests/service-mocks/media-player-mpris-mock/CMakeLists.txt:53 (qt5_use_modules)
This warning is for project developers. Use -Wno-dev to suppress it.
The same thing was fixed in a bunch of ubports packages already, e.g. https://github.com/ubports/system-settings/pull/64/files Good as reference what to do.