summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compatibility/compatibility.pro33
-rw-r--r--src/src.pro1
2 files changed, 34 insertions, 0 deletions
diff --git a/src/compatibility/compatibility.pro b/src/compatibility/compatibility.pro
new file mode 100644
index 0000000000..7dd6e43f75
--- /dev/null
+++ b/src/compatibility/compatibility.pro
@@ -0,0 +1,33 @@
+TARGET = QtDeclarative
+TEMPLATE = subdirs
+
+MODULE_PRI = ../../modules/qt_declarative.pri
+
+QT = qml
+
+pritarget.path = $$[QT_INSTALL_DATA]/mkspecs/modules
+pritarget.files = $$MODULE_PRI
+INSTALLS += pritarget
+
+#load up the headers info
+CONFIG += qt_install_headers
+HEADERS_PRI = ../../include/QtDeclarative/headers.pri
+include($$HEADERS_PRI, "", true)|clear(HEADERS_PRI)
+
+INSTALL_HEADERS = $$SYNCQT.HEADER_FILES
+
+flat_headers.files = $$INSTALL_HEADERS
+flat_headers.path = $$[QT_INSTALL_HEADERS]/Qt
+INSTALLS += flat_headers
+
+class_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET
+class_headers.files = $$SYNCQT.HEADER_CLASSES
+INSTALLS += class_headers
+
+targ_headers.files = $$INSTALL_HEADERS
+targ_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET
+INSTALLS += targ_headers
+
+private_headers.files = $$SYNCQT.PRIVATE_HEADER_FILES
+private_headers.path = $$[QT_INSTALL_HEADERS]/$$TARGET/$${QT.declarative.VERSION}/$$TARGET/private
+INSTALLS += private_headers
diff --git a/src/src.pro b/src/src.pro
index 5ea4194260..0246eea409 100644
--- a/src/src.pro
+++ b/src/src.pro
@@ -7,3 +7,4 @@ contains(QT_CONFIG, qmltest): SUBDIRS += qmltest
SUBDIRS += imports
SUBDIRS += qmldevtools
+SUBDIRS += compatibility