diff --git a/share/qtcreator/templates/wizards/qml-extension/project.pro b/share/qtcreator/templates/wizards/qml-extension/project.pro index e419173897d5d5528c1d217c92fb154153b81241..e7d60f36765cee77ffe139d4f19884be44a65d52 100644 --- a/share/qtcreator/templates/wizards/qml-extension/project.pro +++ b/share/qtcreator/templates/wizards/qml-extension/project.pro @@ -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