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