Sul telefono le icone delle cartelle e la graffetta non comparivano: le immagini erano riferite con un percorso relativo. Ora stanno in images.qrc compilato nel binario e la QML le legge da qrc:/images/... — 0.1.2
32 lines
939 B
Prolog
32 lines
939 B
Prolog
TEMPLATE = app
|
|
TARGET = harbour-grumpydove
|
|
|
|
CONFIG += sailfishapp
|
|
CONFIG += c++11
|
|
|
|
# Icone dell'originale compilate nel binario: source QML "qrc:/images/..."
|
|
RESOURCES += images.qrc
|
|
|
|
SOURCES += src/main.cpp
|
|
|
|
OTHER_FILES += \
|
|
qml/harbour-grumpydove.qml \
|
|
qml/pages/*.qml \
|
|
qml/cover/*.qml \
|
|
qml/js/*.js \
|
|
qml/images/*.png \
|
|
rpm/harbour-grumpydove.spec \
|
|
rpm/harbour-grumpydove.desktop
|
|
|
|
DISTFILES += $$OTHER_FILES
|
|
|
|
icons86.path = /usr/share/icons/hicolor/86x86/apps
|
|
icons86.files = $$PWD/icons/86x86/harbour-grumpydove.png
|
|
icons108.path = /usr/share/icons/hicolor/108x108/apps
|
|
icons108.files = $$PWD/icons/108x108/harbour-grumpydove.png
|
|
icons128.path = /usr/share/icons/hicolor/128x128/apps
|
|
icons128.files = $$PWD/icons/128x128/harbour-grumpydove.png
|
|
icons172.path = /usr/share/icons/hicolor/172x172/apps
|
|
icons172.files = $$PWD/icons/172x172/harbour-grumpydove.png
|
|
INSTALLS += icons86 icons108 icons128 icons172
|