Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2
-
None
Description
Qt is configured with configure -prefix path -release
Top-level build including qtwebengine: cmake --build . --parallel
When build reaches the qtwebengine configuration phase it fails to find Qt6Targets.cmake and Qt6VersionlessTargets.cmake files:
CMake Error at /mnt/hdd/work/Qt/qt6-dev-prefix-release/qtbase/lib/cmake/Qt6/Qt6Config.cmake:33 (include): include could not find requested file: /mnt/hdd/work/Qt/qt6-dev-prefix-release/qtbase/lib/cmake/Qt6/Qt6Targets.cmake Call Stack (most recent call first): CMakeLists.txt:23 (find_package) CMake Error at /mnt/hdd/work/Qt/qt6-dev-prefix-release/qtbase/lib/cmake/Qt6/Qt6Config.cmake:35 (include): include could not find requested file: /mnt/hdd/work/Qt/qt6-dev-prefix-release/qtbase/lib/cmake/Qt6/Qt6VersionlessTargets.cmake Call Stack (most recent call first): CMakeLists.txt:23 (find_package)
I have also attached whole log of the configuration phase: qtwebengine-cmake-configure.log
These files are in qtbase/CMakeFiles/Export/lib/cmake/Qt6 and only these two are in that directory. With developer-build they are in qtbase/lib/cmake/Qt6.
Attachments
Issue Links
- depends on
-
QTBUG-95590 Rewrite cmake-gn intergration
- Closed
- is duplicated by
-
QTBUG-96201 WebEngine not building (missing pthread.h)
- Closed
-
QTBUG-95335 Configure failure during build step in top-level build
- Closed
For Gerrit Dashboard: QTBUG-94349 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
361701,42 | Rewrite gn-cmake integration | dev | qt/qtwebengine | Status: MERGED | +2 | 0 |
364784,3 | WIP: Handle prefixed top-level builds | dev | qt/qtwebengine | Status: ABANDONED | -2 | 0 |
367446,3 | Rewrite gn-cmake integration | 6.2 | qt/qtwebengine | Status: MERGED | +2 | 0 |