Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Application AbracaDABra cmake brings up tons QML-errors
Forum Updated to NodeBB v4.3 + New Features

Application AbracaDABra cmake brings up tons QML-errors

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 140 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H Offline
    H Offline
    HansKottmann
    wrote last edited by
    #1

    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

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved