forked from qt-creator/qt-creator
QmlExtension wizard: Use $$[QT_INSTALL_IMPORTS] for desktop targets
Change-Id: I1d3dc0c148a5f05d81f6cc0d22c3b13c504a1edb Reviewed-on: http://codereview.qt.nokia.com/1875 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Christian Kandeler <christian.kandeler@nokia.com>
This commit is contained in:
@@ -29,7 +29,11 @@ qmldir.files = qmldir
|
||||
symbian {
|
||||
TARGET.EPOCALLOWDLLDATA = 1
|
||||
} else:unix {
|
||||
installPath = /usr/lib/qt4/imports/$$replace(uri, \\., /)
|
||||
maemo5 | !isEmpty(MEEGO_VERSION_MAJOR) {
|
||||
installPath = /usr/lib/qt4/imports/$$replace(uri, \\., /)
|
||||
} else {
|
||||
installPath = $$[QT_INSTALL_IMPORTS]/$$replace(uri, \\., /)
|
||||
}
|
||||
qmldir.path = $$installPath
|
||||
target.path = $$installPath
|
||||
INSTALLS += target qmldir
|
||||
|
||||
Reference in New Issue
Block a user