Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-97023

Fix invalid Qt6::ATSPI2_nolink target

    XMLWordPrintable

    Details

    • Platform/s:
      Linux/X11
    • Commits:
      f6cd55445d38cb5932f4cfcb5c6d4b9ac187c3eb (qt/qtbase/dev) ff74ed711d2c1e0898705b1414c5f1c686efc64a (qt/qtbase/6.2)

      Description

      Got a report that building Qt Creator against the 6.2 RC preview kit on Linux fails to configure.

      * multilanguage-support in qml2puppet, with CONDITION TARGET QtCreator::multilanguage-support
       * Include developer documentation
      CMake Error at /home/saghinet/Qt/6.2.0/gcc_64/lib/cmake/Qt6Gui/Qt6GuiTargets.cmake:37 (message):
        Some (but not all) targets in this export set were already defined.
        Targets Defined: Qt6::Gui;Qt6::GuiPrivate
        Targets not yet defined: Qt6::ATSPI2_nolink
      Call Stack (most recent call first):
        /home/saghinet/Qt/6.2.0/gcc_64/lib/cmake/Qt6Gui/Qt6GuiConfig.cmake:50 (include)
        /home/saghinet/Qt/6.2.0/gcc_64/lib/cmake/Qt6/Qt6Config.cmake:176 (find_package)
        /home/saghinet/Development/build-tqtc-qtc-super-Desktop_Qt_6_2_0_GCC_64bit-Debug/cmake/FindQt5.cmake:57 (find_package)
        /usr/share/cmake/Modules/CMakeFindDependencyMacro.cmake:47 (find_package)
        /home/saghinet/Development/build-tqtc-qtc-super-Desktop_Qt_6_2_0_GCC_64bit-Debug/cmake/QtCreatorConfig.cmake:16 (find_dependency)
        qtquickdesigner/CMakeLists.txt:16 (find_package)
      
      -- Configuring incomplete, errors occurred!
      See also "/home/saghinet/Development/build-tqtc-qtc-super-Desktop_Qt_6_2_0_GCC_64bit-Debug/CMakeFiles/CMakeOutput.log".
      See also "/home/saghinet/Development/build-tqtc-qtc-super-Desktop_Qt_6_2_0_GCC_64bit-Debug/CMakeFiles/CMakeError.log".
      CMake process exited with exit code 1.
      

      The the target is linked to here https://github.com/qt/qtbase/blob/dev/src/gui/CMakeLists.txt#L523

      not sure yet if that's some cargo-culted copy pasta or something else.

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            jbornema Joerg Bornemann
            Reporter:
            alexandru.croitor Alexandru Croitor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes