summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@nokia.com>2012-07-02 16:31:45 +0200
committerJoerg Bornemann <joerg.bornemann@nokia.com>2012-07-03 11:35:01 +0200
commit3ddb1fb78207af38c6be12a6186ff42c1fbab1b5 (patch)
treeec1d5873f869afe9973c14b87dc14e38c1c0081a /lib
parent403420d975f8f1dea40457023127b24f76297518 (diff)
downloadqt-creator-3ddb1fb78207af38c6be12a6186ff42c1fbab1b5.tar.gz
adjust components.pro to DEPLOYMENT variable changes in Qt 5
X.sources has been deprecated in Qt 4.8.0 and removed in Qt 5. Change-Id: Ibfd00c5bb0adc19d37c80d01401fc796b2d522a4 Reviewed-by: Thomas Hartmann <Thomas.Hartmann@nokia.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/qtcreator/qtcomponents/custom/components.pro4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/qtcreator/qtcomponents/custom/components.pro b/lib/qtcreator/qtcomponents/custom/components.pro
index be0663d709..15e7873b8d 100644
--- a/lib/qtcreator/qtcomponents/custom/components.pro
+++ b/lib/qtcreator/qtcomponents/custom/components.pro
@@ -35,11 +35,11 @@ QML_DIRS = \
visuals
qmlfiles.files = $$QML_FILES
-qmlfiles.sources = $$QML_FILES
+lessThan(QT_MAJOR_VERSION, 5):qmlfiles.sources = $$QML_FILES
qmlfiles.path = $$INSTALL_IMPORTS/$$TARGETPATH
qmldirs.files = $$QML_DIRS
-qmldirs.sources = $$QML_DIRS
+lessThan(QT_MAJOR_VERSION, 5):qmldirs.sources = $$QML_DIRS
qmldirs.path = $$INSTALL_IMPORTS/$$TARGETPATH
INSTALLS += qmlfiles qmldirs