summaryrefslogtreecommitdiff
path: root/src/src.pro
diff options
context:
space:
mode:
authorLiang Qi <liang.qi@digia.com>2012-11-26 11:10:48 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-12-05 14:35:26 +0100
commitc8a9f6c909c81b4d0d33e3ad15e4a8eebf9ac858 (patch)
tree2f2178c773e7daa9711f8190f691ab8a318d0c61 /src/src.pro
parentc85dba7662a41a8cd294d81fc821801291157b37 (diff)
downloadqtquickcontrols-c8a9f6c909c81b4d0d33e3ad15e4a8eebf9ac858.tar.gz
Modularized for Qt 5
Still missing sth from qmake, it doesn't support non c++ module correctly yet(there is no CXX_MODULE in our project). Change-Id: I9a6a754e863b51b3e3a4b1eaf864ddab24e92f75 Reviewed-by: J-P Nurmi <jpnurmi@digia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'src/src.pro')
-rw-r--r--src/src.pro59
1 files changed, 2 insertions, 57 deletions
diff --git a/src/src.pro b/src/src.pro
index 2114df78..3b0d512e 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -1,58 +1,3 @@
-TEMPLATE = lib
-CONFIG += qt plugin
-QT += qml
-QT += quick
-QT += widgets
+TEMPLATE = subdirs
-TARGET = styleplugin
-
-DESTDIR = ../imports/QtDesktop/plugin
-OBJECTS_DIR = obj
-MOC_DIR = moc
-
-HEADERS += qtmenu.h \
- qtmenubar.h \
- qrangemodel_p.h \
- qrangemodel.h \
- qstyleplugin.h \
- qstyleitem.h \
- qwheelarea.h \
- qtmenuitem.h \
- qdesktopitem.h \
- qquicklayoutengine_p.h \
- qquicklayout.h \
- qquicklinearlayout.h \
- qquickcomponentsprivate.h \
- qtsplitterbase.h \
- qfiledialogitem.h
-
-SOURCES += qtmenu.cpp \
- qtmenubar.cpp \
- qrangemodel.cpp \
- qstyleplugin.cpp \
- qstyleitem.cpp \
- qwheelarea.cpp \
- qtmenuitem.cpp \
- qdesktopitem.cpp \
- qquicklayout.cpp \
- qquicklayoutengine.cpp \
- qquicklinearlayout.cpp \
- qquickcomponentsprivate.cpp \
- qtsplitterbase.cpp \
- qfiledialogitem.cpp
-
-TARGETPATH = QtDesktop/plugin
-
-target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-
-win32 {
- CONFIG(debug, debug|release) {
- TARGET = $$member(TARGET, 0)d
- }
-}
-
-mac {
- LIBS += -framework Carbon
-}
-
-INSTALLS += target
+SUBDIRS += qtdesktop styles