-
Bug
-
Resolution: Fixed
-
P1: Critical
-
6.5.0 Beta1
-
None
-
884474c82 (dev), e9dd83321 (6.5)
Trying to link to DesignerComponentsPrivate in a no-prefix build leads to
CMake Error in CMakeLists.txt: Imported target "Qt6::DesignerComponentsPrivate" includes non-existent path "/Volumes/T3/Dev/qt/builds/dev-mac/qtbase/include/QtDesignerComponents/6.5.0" in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include: * The path was deleted, renamed, or moved to another location. * An install or uninstall procedure did not complete successfully. * The installation package was faulty and references files it does not provide.
cmake_minimum_required(VERSION 3.5) project(proj VERSION 0.1 LANGUAGES CXX) find_package(Qt6 REQUIRED COMPONENTS DesignerComponentsPrivate) add_executable(foo main.cpp) target_link_libraries(foo PRIVATE Qt6::DesignerComponentsPrivate)
| For Gerrit Dashboard: QTBUG-109423 | ||||||
|---|---|---|---|---|---|---|
| # | Subject | Branch | Project | Status | CR | V |
| 448700,3 | CMake: Fix DesignerComponentsPrivate private headers to be synced | dev | qt/qttools | Status: MERGED | +2 | 0 |
| 448784,2 | CMake: Fix DesignerComponentsPrivate private headers to be synced | 6.5 | qt/qttools | Status: MERGED | +2 | 0 |