diff options
author | Zhang Xingtao <zhxt@ovi.com> | 2014-04-29 08:36:27 +0800 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-04-29 15:14:02 +0200 |
commit | f0ecb4c1fa432175a16570216e517efdeaaf1f42 (patch) | |
tree | aa66af5f73d74797345eb33612f20b5118e5b69b /examples/quick | |
parent | 466589e5908b44ccf47afa1260527e10a1fa077c (diff) |
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>
Diffstat (limited to 'examples/quick')
-rw-r--r-- | examples/quick/quick.pro | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/quick/quick.pro b/examples/quick/quick.pro index f39931bd94..421f95a162 100644 --- a/examples/quick/quick.pro +++ b/examples/quick/quick.pro @@ -26,8 +26,8 @@ SUBDIRS = quick-accessibility \ # Widget dependent examples qtHaveModule(widgets) { - SUBDIRS += embeddedinwidgets \ - quickwidgets + SUBDIRS += embeddedinwidgets + qtHaveModule(quickwidgets): SUBDIRS += quickwidgets } EXAMPLE_FILES = \ |