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