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

Qt 6.0.0-0-202008280953 fails to configure a simple CMake Qt wizard example

    XMLWordPrintable

    Details

      Description

      The configure part fails with:

      CMake Error at CMakeLists.txt:38 (add_executable):
        Target "test-qt-cmake" links to target "X11::X11" but the target was not
        found.  Perhaps a find_package() call is missing for an IMPORTED target, or
        an ALIAS target is missing?
      
      
      CMake Error at CMakeLists.txt:38 (add_executable):
        Target "test-qt-cmake" links to target "XKB::XKB" but the target was not
        found.  Perhaps a find_package() call is missing for an IMPORTED target, or
        an ALIAS target is missing?
      

      I've used CMake 3.18.2, and installed the necessary dev libraries. The qmake wizard produced a fully working example.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jbornema Joerg Bornemann
              Reporter:
              cadam Cristian Adam
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes