Make sql autotests build without widgets
authorKent Hansen <kent.hansen@nokia.com>
Tue, 5 Jun 2012 12:10:02 +0000 (14:10 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 7 Jun 2012 05:25:27 +0000 (07:25 +0200)
Change-Id: Icd4d2ef39961e2e0ec5c9e910c74b3e8a35503bf
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
tests/auto/sql/models/models.pro

index d04ba01..c00ec2c 100644 (file)
@@ -4,3 +4,5 @@ SUBDIRS=\
    qsqlrelationaltablemodel \
    qsqltablemodel \
 
+contains(QT_CONFIG, no-widgets): SUBDIRS -= \
+   qsqlquerymodel