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>
Showing with 4 additions and 5 deletions
TEMPLATE = subdirs
SUBDIRS = \
customclass \
qsdbg
SUBDIRS = customclass
qtHaveModule(gui): SUBDIRS += qsdbg
qtHaveModule(widgets) {
SUBDIRS += \
......@@ -22,8 +22,7 @@ qtHaveModule(widgets) {
}
!wince {
SUBDIRS += \
marshal
qtHaveModule(gui): SUBDIRS += marshal
}
maemo5: CONFIG += qt_example
Supports Markdown
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