Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
6.2.3
-
None
Description
When using Cmake, find_package(Qt6 COMPONENTS LinguistTools REQUIRED) does not set QT_DEFAULT_MAJOR_VERSION.
As a result, versionless commands qt_add_lupdate / qt_add_lrelease do not work.
I saw QT_DEFAULT_MAJOR_VERSION is only set by QtCore, but LinguistTools do not link to it.
=> I think LinguistTools should also set it
Attachments
Issue Links
- relates to
-
QTBUG-97615 CMake cannot find packages when only Qt6_DIR and not CMAKE_PREFIX_PATH is set
-
- Closed
-