diff options
author | Tasuku Suzuki <stasuku@gmail.com> | 2012-11-21 13:06:25 +0900 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2012-11-22 17:43:20 +0100 |
commit | 4074fb7134c93e9b04b327e70c89d2e8bcc8fcc5 (patch) | |
tree | 482577ab6ee8baab190fe4563ac8ccae19c5c7bf /src/imports | |
parent | 0bb60351af025e6af123a1c16453432f1c9da7e5 (diff) |
make module compile with -no-gui
Change-Id: I106cf0933930115464b0b7507177e6129098d22b
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/imports')
-rw-r--r-- | src/imports/folderlistmodel/folderlistmodel.pro | 2 | ||||
-rw-r--r-- | src/imports/imports.pro | 15 | ||||
-rw-r--r-- | src/imports/localstorage/localstorage.pro | 2 | ||||
-rw-r--r-- | src/imports/xmllistmodel/xmllistmodel.pro | 2 |
4 files changed, 13 insertions, 8 deletions
diff --git a/src/imports/folderlistmodel/folderlistmodel.pro b/src/imports/folderlistmodel/folderlistmodel.pro index 08a506134f..c29f1f8ca5 100644 --- a/src/imports/folderlistmodel/folderlistmodel.pro +++ b/src/imports/folderlistmodel/folderlistmodel.pro @@ -3,7 +3,7 @@ TARGET = qmlfolderlistmodelplugin TARGETPATH = Qt/labs/folderlistmodel IMPORT_VERSION = 2.0 -QT += core-private qml qml-private v8-private +QT = core-private qml-private v8-private SOURCES += qquickfolderlistmodel.cpp plugin.cpp \ fileinfothread.cpp diff --git a/src/imports/imports.pro b/src/imports/imports.pro index 899c4370d7..601e9c7e52 100644 --- a/src/imports/imports.pro +++ b/src/imports/imports.pro @@ -1,10 +1,15 @@ TEMPLATE = subdirs SUBDIRS += \ - qtquick2 \ - particles \ - window \ folderlistmodel \ - localstorage \ - testlib + localstorage + +!isEmpty(QT.quick.name) { + SUBDIRS += \ + qtquick2 \ + particles \ + window \ + testlib +} + contains(QT_CONFIG, xmlpatterns) : SUBDIRS += xmllistmodel diff --git a/src/imports/localstorage/localstorage.pro b/src/imports/localstorage/localstorage.pro index bce5362646..c783404d0a 100644 --- a/src/imports/localstorage/localstorage.pro +++ b/src/imports/localstorage/localstorage.pro @@ -3,7 +3,7 @@ TARGET = qmllocalstorageplugin TARGETPATH = QtQuick/LocalStorage IMPORT_VERSION = 2.0 -QT += sql qml qml-private v8-private core-private +QT = sql qml-private v8-private core-private SOURCES += plugin.cpp diff --git a/src/imports/xmllistmodel/xmllistmodel.pro b/src/imports/xmllistmodel/xmllistmodel.pro index 4984fd042d..c2cb4bbd89 100644 --- a/src/imports/xmllistmodel/xmllistmodel.pro +++ b/src/imports/xmllistmodel/xmllistmodel.pro @@ -3,7 +3,7 @@ TARGET = qmlxmllistmodelplugin TARGETPATH = QtQuick/XmlListModel IMPORT_VERSION = 2.0 -QT += network qml xmlpatterns qml-private v8-private core-private +QT = network xmlpatterns qml-private v8-private core-private SOURCES += qqmlxmllistmodel.cpp plugin.cpp HEADERS += qqmlxmllistmodel_p.h |