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

      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.

        For Gerrit Dashboard: QTBUG-86421
        # Subject Branch Project Status CR V

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes