summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCaroline Chao <caroline.chao@digia.com>2013-06-21 08:39:43 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-06-24 08:00:12 +0200
commitc41c2c3e13290a9e675471f801e75133df33733a (patch)
treec33494717cd1d845ed161a823f4fb574e67acd21 /src
parentc9606ede4ab6656306f7dbd08cf59919e5c63f23 (diff)
downloadqtquickcontrols-c41c2c3e13290a9e675471f801e75133df33733a.tar.gz
Add private.pri
To gather all the source and header files specific to the QtQuick.Controls.Private module. Change-Id: I5bc0f4d4efc570fa375ecd178b3ca289c54398e9 Reviewed-by: J-P Nurmi <jpnurmi@digia.com>
Diffstat (limited to 'src')
-rw-r--r--src/private/private.pri24
-rw-r--r--src/private/private.pro27
2 files changed, 26 insertions, 25 deletions
diff --git a/src/private/private.pri b/src/private/private.pri
new file mode 100644
index 00000000..94d313c3
--- /dev/null
+++ b/src/private/private.pri
@@ -0,0 +1,24 @@
+HEADERS += \
+ $$PWD/qquicktooltip_p.h \
+ $$PWD/qquickspinboxvalidator_p.h \
+ $$PWD/qquickrangemodel_p.h \
+ $$PWD/qquickrangemodel_p_p.h \
+ $$PWD/qquickcontrolsettings_p.h \
+ $$PWD/qquickwheelarea_p.h \
+ $$PWD/qquickabstractstyle_p.h \
+ $$PWD/qquickpadding_p.h \
+ $$PWD/qquickcontrolsprivate_p.h
+
+SOURCES += \
+ $$PWD/qquicktooltip.cpp \
+ $$PWD/qquickspinboxvalidator.cpp \
+ $$PWD/qquickrangemodel.cpp \
+ $$PWD/qquickcontrolsettings.cpp \
+ $$PWD/qquickwheelarea.cpp \
+ $$PWD/qquickabstractstyle.cpp
+
+qtHaveModule(widgets) {
+ QT += widgets
+ HEADERS += $$PWD/qquickstyleitem_p.h
+ SOURCES += $$PWD/qquickstyleitem.cpp
+}
diff --git a/src/private/private.pro b/src/private/private.pro
index fb9b29d3..7028f1b0 100644
--- a/src/private/private.pro
+++ b/src/private/private.pro
@@ -3,25 +3,9 @@ TARGETPATH = QtQuick/Controls/Private
QT += qml quick gui-private core-private
-HEADERS += \
- $$PWD/qquicktooltip_p.h \
- $$PWD/qquickspinboxvalidator_p.h \
- $$PWD/qquickrangemodel_p.h \
- $$PWD/qquickrangemodel_p_p.h \
- $$PWD/qquickcontrolsettings_p.h \
- $$PWD/qquickwheelarea_p.h \
- $$PWD/qquickabstractstyle_p.h \
- $$PWD/qquickpadding_p.h \
- $$PWD/qquickcontrolsprivate_p.h
+include(private.pri)
-SOURCES += \
- $$PWD/plugin.cpp \
- $$PWD/qquicktooltip.cpp \
- $$PWD/qquickspinboxvalidator.cpp \
- $$PWD/qquickrangemodel.cpp \
- $$PWD/qquickcontrolsettings.cpp \
- $$PWD/qquickwheelarea.cpp \
- $$PWD/qquickabstractstyle.cpp
+SOURCES += $$PWD/plugin.cpp
# private qml files
QML_FILES += \
@@ -38,13 +22,6 @@ QML_FILES += \
ScrollBar.qml \
FocusFrame.qml
-
-qtHaveModule(widgets) {
- QT += widgets
- HEADERS += $$PWD/qquickstyleitem_p.h
- SOURCES += $$PWD/qquickstyleitem.cpp
-}
-
mac {
LIBS += -framework Carbon
}