Details
-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.6.3, 6.7.0
-
None
-
8dba0e48a (dev), 99d6f1777 (6.7), 416358086 (tqtc/lts-6.5), 4be1823e4 (dev), aa9f8db49 (6.8), 8bb2a0c02 (6.7)
Description
In Qt 6.6.3, 6.7.0, or current dev branch, configuring via the configure script or directly with CMake with Print Support disabled causes a configure error in qttools/linguist.
With qtbase and qttools submodules initialized, call the top-level super-repo's configure with `-no-feature-printsupport` or call CMake with `-DFEATURE_printsupport:BOOL=OFF`. The configuration will emit the following error:
-- Configuring done (37.3s) CMake Error at qtbase/cmake/QtTargetHelpers.cmake:171 (target_link_libraries): Target "linguist" links to: Qt::PrintSupport but the target was not found. Possible reasons include: * There is a typo in the target name. * A find_package call is missing for an IMPORTED target. * An ALIAS target is missing. -- Generating done (1.6s) Call Stack (most recent call first): qtbase/cmake/QtExecutableHelpers.cmake:120 (qt_internal_extend_target) qtbase/cmake/QtAppHelpers.cmake:46 (qt_internal_add_executable) qttools/src/linguist/linguist/CMakeLists.txt:8 (qt_internal_add_app) CMake Generate step failed. Build files cannot be regenerated correctly. CMake Error at C:/dev/Qt/qt6/qtbase/cmake/QtProcessConfigureArgs.cmake:1040 (message): CMake exited with code 1.
Attachments
Issue Links
- resulted in
-
QTBUG-126189 [REG 6.7.1->6.7.2&6.8.0] lconvert, lrelease, lupdate and few others not combiled in no-gui build
- Closed