Fixed install of qmldir

Proper title of page
This commit is contained in:
Oscar Andreasson 2015-06-18 22:14:06 -07:00
parent 92456d99d4
commit 0a1cf2ee74
2 changed files with 7 additions and 9 deletions

View file

@ -4,19 +4,17 @@ TARGET = WeatherData
CONFIG += qt plugin
QT += core network positioning declarative qml quick
uri=net.frozentux.weatherinfo
SOURCES += appmodel.cpp \
weatherplugin.cpp
HEADERS += appmodel.h \
weatherplugin.h
target.path = $$[QT_INSTALL_QML]/net/frozentux/weatherinfo
INSTALLS += target
uri=net.frozentux.weatherinfo
DISTFILES += \
WeatherInfo.qml
qmldirfile.path = $$[QT_INSTALL_QML]/net/frozentux/weatherinfo
qmldirfile.files = qmldir
INSTALLS += qmldirfile
#PRE_TARGETDEPS += install_qmldirfile
RESOURCES += \
images.qrc