add missing dependency check to widgets plugin
authorXingtao Zhang <zhxt@ovi.com>
Thu, 6 Jun 2013 15:59:27 +0000 (23:59 +0800)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 6 Jun 2013 16:17:22 +0000 (18:17 +0200)
QtQuick widgets plugin depends on both QtWidgets and QtQuick module, if
do not check 'quick', there will be an error: "Project ERROR: Unknown
module(s) in QT: quick" when running make if failed to check for QtQuick
module due to no opengl/es1/es2 found during config test.

Change-Id: I39d78b9cd9aa9c7f0acf79fdcfc06749ffc10e31
Reviewed-by: Liang Qi <liang.qi@digia.com>
src/imports/imports.pro

index 733c7c4..7a922a8 100644 (file)
@@ -16,4 +16,4 @@ qtHaveModule(quick) {
 
 qtHaveModule(xmlpatterns) : SUBDIRS += xmllistmodel
 
-qtHaveModule(widgets) : SUBDIRS += widgets
+qtHaveModule(quick):qtHaveModule(widgets): SUBDIRS += widgets