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

@ -3,7 +3,7 @@ import QtQuick.Controls 1.1
import QtQuick.Window 2.0 import QtQuick.Window 2.0
ApplicationWindow { ApplicationWindow {
title: qsTr("Hello World") title: qsTr("MagicMirror")
width: 1080 width: 1080
height: 1920 height: 1920
color: "black" color: "black"

View file

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