diff options
| author | Elias Toivola <elias.toivola@qt.io> | 2025-11-14 12:24:29 +0200 |
|---|---|---|
| committer | Elias Toivola <elias.toivola@qt.io> | 2025-11-18 00:57:13 +0200 |
| commit | e6ebc2445af680271acd4a1e715be2fe15cf4afe (patch) | |
| tree | 3199f2d361e37daca88eef787ea0d6b6c26cf712 /examples/opengl/doc/src | |
| parent | fa65b021278693a84aaf531f08ba4a46a3a550ec (diff) | |
CMake: fix correct jar paths for in-tree builds for JavaDoc
Using only 'if(PROJECT_NAME STREQUAL "QtBase")' condition fails in-tree
builds to not getting a correct path to Qt6Android.jar. Add
QT_BUILDING_QT to the condition to fix it.
Also remove the use of QtBase_VERSION_MAJOR variable and instead use
QT_CMAKE_EXPORT_NAMESPACE to get the Qt major version in in-tree builds.
This amends f594f4735b76fde0d3e8fa201ee9ba5c720ac781
Change-Id: I411bb9526f762e84516ae5fbcf565ae82740818e
Reviewed-by: Assam Boudjelthia <assam.boudjelthia@qt.io>
Diffstat (limited to 'examples/opengl/doc/src')
0 files changed, 0 insertions, 0 deletions
