Commit e4453c92 authored by Vicente Olivert Riera's avatar Vicente Olivert Riera Committed by The Qt Project
Browse files

qtscript: Check for QtGui before building the examples


qsdbg and marshal examples need QtGui module. If QtGui is not installed
they fail to compile.

Change-Id: I1af6a8b39a0848c8208fe94a26ee57409dfd9b41
Reviewed-by: default avatarVicente Olivert Riera <Vincent.Riera@imgtec.com>
Reviewed-by: default avatarAllan Sandfeld Jensen <allan.jensen@digia.com>
parent 08d9ef71
No related merge requests found
Showing with 4 additions and 5 deletions
TEMPLATE = subdirs TEMPLATE = subdirs
SUBDIRS = \ SUBDIRS = customclass
customclass \
qsdbg qtHaveModule(gui): SUBDIRS += qsdbg
qtHaveModule(widgets) { qtHaveModule(widgets) {
SUBDIRS += \ SUBDIRS += \
...@@ -22,8 +22,7 @@ qtHaveModule(widgets) { ...@@ -22,8 +22,7 @@ qtHaveModule(widgets) {
} }
!wince { !wince {
SUBDIRS += \ qtHaveModule(gui): SUBDIRS += marshal
marshal
} }
maemo5: CONFIG += qt_example maemo5: CONFIG += qt_example
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment