summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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
}