mirror of https://github.com/qt/qtgraphs.git
Make 'qtquick3d' optional dependency for the module
QtQuick3D was listed as a required module in dependencies. However,
you should be able to build QtGraphs without 3D features. In that case,
it is not necessary to have Quick3D. Therefore, the Quick3D required
field should be false in the dependencies. In addition, the baseline
tests must be turned off if 3D features are unavailable, as they link
to Quick3D.
Pick-to: 6.9 6.8
Change-Id: I6c45fde93d75d54b4adf89471441d989452b0245
Reviewed-by: Sami Varanka <sami.varanka@qt.io>
(cherry picked from commit 6300f5af2f)
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
parent
432b7ace32
commit
e486f98cbc
|
|
@ -7,4 +7,4 @@ dependencies:
|
|||
required: true
|
||||
../qtquick3d:
|
||||
ref: 99c0705165969868b53abdcdef63353e4fae0a80
|
||||
required: true
|
||||
required: false
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@ if(NOT QT_BUILD_STANDALONE_TESTS AND NOT QT_BUILDING_QT)
|
|||
endif()
|
||||
|
||||
# Special case: test includes the QBaselineTest module sources from qtbase directly
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../../../qtbase/tests/baseline/shared")
|
||||
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/../../../qtbase/tests/baseline/shared"
|
||||
AND TARGET Qt6::Quick3D)
|
||||
add_subdirectory(scenegrabber)
|
||||
if (QT_FEATURE_process)
|
||||
add_subdirectory(graphs)
|
||||
|
|
|
|||
Loading…
Reference in New Issue