Application AbracaDABra cmake brings up tons QML-errors
-
I try to compile this application on openSuSE Tumbleweed, but cmake brings tons of QML-Errors, but it can be compiled afterward and starts up. Here one of these errors:
CMake Warning at /usr/lib64/cmake/Qt6Qml/Qt6QmlMacros.cmake:4408 (message):
The qml plugin 'qtquick2plugin' is a dependency of 'AbracaDABra', but the
link target it defines (Qt6::qtquick2plugin) does not exist in the current
scope. The plugin will not be linked.
Call Stack (most recent call first):
/usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:766 (qt6_import_qml_plugins)
/usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:766 (cmake_language)
/usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:844 (_qt_internal_finalize_executable)
/usr/lib64/cmake/Qt6Core/Qt6CoreMacros.cmake:975 (qt6_finalize_target)
CMakeLists.txt:618 (qt_finalize_executable)QT-components should be searched here (CMakeLists.txt in the root directory, line 598):
find_package(QT NAMES Qt6 COMPONENTS Widgets Multimedia Svg Xml Network Quick Qml QuickControls2 Positioning REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} COMPONENTS Widgets Multimedia Svg Xml Network Quick Qml QuickControls2 QmlWorkerScript Positioning REQUIRED)
find_package(Qt${QT_VERSION_MAJOR} REQUIRED COMPONENTS LinguistTools)Just one more question why can this program be compiled and with these errors?
Thanks for any help