Add dependency check for quickwidgets
If not, there will be an error when building with -no-opengl option: "Project ERROR: Unknown module(s) in QT: quick-private" The quickwidgets module depends on qt quick module, and qt quick module depends on opengl. Change-Id: If74b5582bdd96ed19ec10dbc534d02146717bc08 Reviewed-by: Liang Qi <liang.qi@digia.com>
This commit is contained in:
parent
466589e590
commit
f0ecb4c1fa
|
@ -26,8 +26,8 @@ SUBDIRS = quick-accessibility \
|
|||
|
||||
# Widget dependent examples
|
||||
qtHaveModule(widgets) {
|
||||
SUBDIRS += embeddedinwidgets \
|
||||
quickwidgets
|
||||
SUBDIRS += embeddedinwidgets
|
||||
qtHaveModule(quickwidgets): SUBDIRS += quickwidgets
|
||||
}
|
||||
|
||||
EXAMPLE_FILES = \
|
||||
|
|
|
@ -15,6 +15,6 @@ SUBDIRS += \
|
|||
imports \
|
||||
qmldevtools
|
||||
|
||||
qtHaveModule(widgets):SUBDIRS += quickwidgets
|
||||
qtHaveModule(quick):qtHaveModule(widgets): SUBDIRS += quickwidgets
|
||||
|
||||
qmldevtools.CONFIG = host_build
|
||||
|
|
Loading…
Reference in New Issue