Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.0.0 Alpha, 6.0.0
-
-
69004cb2900dcfc530e1e2efb783f559661a8a50 (qt/qtbase/dev)
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
- relates to
-
QTBUG-86500 [Linux] Building a basic QML app through CMake with Qt 6.0.0 snapshots fails
-
- Closed
-
For Gerrit Dashboard: QTBUG-86421 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
313153,2 | Do not expose xlib as public dependency of QtGui | dev | qt/qtbase | Status: MERGED | +2 | 0 |
313269,2 | Do not expose ATSPI as public dependency of QtGui | dev | qt/qtbase | Status: MERGED | +2 | 0 |
313438,4 | CMake: Add facility to mark package dependencies as optional | dev | qt/qtbase | Status: MERGED | +2 | 0 |
313439,4 | CMake: Make the Vulkan dependency of QtGui optional | dev | qt/qtbase | Status: MERGED | +2 | 0 |
313991,4 | Make xkb a private dependency of QtGui | dev | qt/qtbase | Status: MERGED | +2 | 0 |