Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.8.1, 6.9.0 Beta1
-
None
-
-
5
-
2ec9d7b53 (dev), de29dc3d9 (6.9), 5ef811f33 (6.8), bdec0dd3e (tqtc/lts-6.5), 3edd95672 (dev), 8f61fffc1 (6.9), 0dc68b3e4 (6.8)
-
Foundation Sprint 122
Description
It looks like the optional components defined in CMakeLists.txt (Gui Widgets Quick QuickControls2) are only relevant for the tests.
Missing optional components will create a warning when Qt is configured:
-- Configuring submodule 'qtconnectivity' -- Could NOT find Qt6Widgets (missing: Qt6Widgets_DIR) CMake Warning at /home/.../Temp/toolchain/b/src/qt-build/qtbase/lib/cmake/Qt6/Qt6Config.cmake:239 (message): Failed to find optional Qt component "Widgets". Expected Config file at "/home/.../Temp/toolchain/b/src/qt-build/qtbase/lib/cmake/Qt6Widgets/Qt6WidgetsConfig.cmake" does NOT exist Call Stack (most recent call first): qtconnectivity/CMakeLists.txt:15 (find_package)
It would be clean the request this optional components only, when the tests are build.
Attachments
Issue Links
- relates to
-
QTBUG-132465 Introduce two configure features: NFC and Bluetooth
- Reported