Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.2.6, 6.4.1
-
-
8844c6ef3 (dev), 8680d45ba (6.5), e64172efc (6.4), f6d6666c4 (dev), 4ed994487 (dev), 9c032ad5f (6.8)
-
DaVinci 69, DaVinci 70
Description
For https://doc.qt.io/qt-6/qtandroidprivate.html
Wrong instructions
find_package(Qt6 REQUIRED COMPONENTS CorePrivate) target_link_libraries(mytarget PRIVATE Qt6::CorePrivate)
These do not exist.
error: Found package configuration file: C:/Qt/6.4.1/android_x86/lib/cmake/Qt6/Qt6Config.cmake but it set Qt6_FOUND to FALSE so package "Qt6" is considered to be NOT FOUND. Reason given by package: Failed to find required Qt component "CorePrivate". Expected Config file at "C:/Qt/6.4.1/android_x86/lib/cmake/Qt6CorePrivate/Qt6CorePrivateConfig.cmake" does NOT exist
Correct instructions
include_directories(${Qt6Core_PRIVATE_INCLUDE_DIRS})
Attachments
Issue Links
- is duplicated by
-
QTBUG-109057 [DOCS] cmake line incorrect for private stuff
-
- Closed
-
- resulted from
-
QTBUG-99335 Documentation for QtAndroidPrivate is wrong
-
- Closed
-
-
QTBUG-103865 Wrong import in private Android related classes (e.g., QAndroidActivityResultReceiver)
-
- Closed
-
- resulted in
-
QTBUG-121991 As a user of QDoc, I need a way to override the target_link_libraries output from the \qtcmakepackage command.
-
- Closed
-
For Gerrit Dashboard: QTBUG-109214 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
449843,4 | Doc: Remove incorrect CMake instructions for QtCore-private | dev | qt/qtbase | Status: MERGED | +2 | 0 |
450460,2 | Doc: Remove incorrect CMake instructions for QtCore-private | 6.5 | qt/qtbase | Status: MERGED | +2 | 0 |
450461,2 | Doc: Remove incorrect CMake instructions for QtCore-private | 6.4 | qt/qtbase | Status: MERGED | +2 | 0 |
450462,1 | Doc: Remove incorrect CMake instructions for QtCore-private | tqtc/lts-6.2 | qt/tqtc-qtbase | Status: ABANDONED | 0 | 0 |
538337,4 | QDoc: Long live \qtcmaketargetitem! | dev | qt/qttools | Status: MERGED | +2 | 0 |
538379,3 | Doc: Specify target_link_libraries item for CorePrivate module | dev | qt/qtbase | Status: MERGED | +2 | 0 |
582631,2 | Doc: Specify target_link_libraries item for CorePrivate module | 6.8 | qt/qtbase | Status: MERGED | +2 | 0 |