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

Custom Example doesn't build with cmake

    XMLWordPrintable

Details

    • 5e50996b9d (qt/qtapplicationmanager/dev) d38311dd62 (qt/qtapplicationmanager/6.2) f9e33dc6ea (qt/qtapplicationmanager/6.3) d38311dd62 (qt/qtapplicationmanager/6.2.4) f9e33dc6ea (qt/qtapplicationmanager/6.3.0) d38311dd62 (qt/qtapplicationmanager/6.2)

    Description

      Trying to build the custom-appman example using cmake results in the following error:

      CMake Error at /home/gagi/Qt/6.2.2/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:559 (add_executable):
        Target "custom-appman" links to target "X11::Xi" but the target was not
        found.  Perhaps a find_package() call is missing for an IMPORTED target, or
        an ALIAS target is missing?
      Call Stack (most recent call first):
        /home/gagi/Qt/6.2.2/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:523 (_qt_internal_create_executable)
        /home/gagi/Qt/6.2.2/gcc_64/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:847 (qt6_add_executable)
        CMakeLists.txt:19 (qt_add_executable)
      

      Attachments

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

        Activity

          People

            rgriebl Robert Griebl
            gagi Dominik Holland
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes