Commit 68050fe0 authored by Chupligin Sergey's avatar Chupligin Sergey

[packaging] Remove resource file

parent 43c6a052
......@@ -27,7 +27,7 @@ Image {
id: closeButton
signal clicked()
source: 'qrc:/qml/theme/icon-m-framework-close-thumbnail.png'
source: '= /usr/share/lipstick-glacier-home-qt5/qml/theme/icon-m-framework-close-thumbnail.png'
MouseArea {
anchors.fill: parent
......
......@@ -12,7 +12,7 @@ Image {
ConfigurationValue{
id: lockScreenWallpaper
key: "/home/glacier/lockScreen/wallpaperImage"
defaultValue: "qrc:/qml/images/graphics-wallpaper-home.jpg"
defaultValue: "/usr/share/lipstick-glacier-home-qt5/qml/images/graphics-wallpaper-home.jpg"
}
LockscreenClock {
......
......@@ -53,7 +53,7 @@ Page {
ConfigurationValue {
id: wallpaperSource
key: desktop.isPortrait ? "/desktop/meego/background/portrait/picture_filename" : "/desktop/meego/background/landscape/picture_filename"
defaultValue: "qrc:/qml/images/graphics-wallpaper-home.jpg"
defaultValue: "/usr/share/lipstick-glacier-home-qt5/qml/images/graphics-wallpaper-home.jpg"
}
id: desktop
property alias lockscreen: lockScreen
......@@ -145,7 +145,7 @@ Page {
}
Image {
id:wallpaper
source: "qrc:/qml/images/wallpaper-portrait-bubbles.png"
source: "/usr/share/lipstick-glacier-home-qt5/qml/images/wallpaper-portrait-bubbles.png"
anchors.fill: parent
fillMode: Image.PreserveAspectCrop
z: -100
......
......@@ -137,7 +137,7 @@ Item {
}
width: notificationArea.notificationIconSize
height: width
source: "qrc:/qml/images/notification-circle.png"
source: "/usr/share/lipstick-glacier-home-qt5/qml/images/notification-circle.png"
}
Text {
......
......@@ -226,21 +226,21 @@ Item {
panel: BatteryPanel {}
source: {
if(batteryChargePercentage.value > 85) {
return "qrc:/qml/images/battery6.png"
return "/usr/share/lipstick-glacier-home-qt5/qml/images/battery6.png"
} else if (batteryChargePercentage.value <= 5) {
return "qrc:/qml/images/battery0.png"
return "/usr/share/lipstick-glacier-home-qt5/qml/images/battery0.png"
} else if (batteryChargePercentage.value <= 10) {
return "qrc:/qml/images/battery1.png"
return "/usr/share/lipstick-glacier-home-qt5/qml/images/battery1.png"
} else if (batteryChargePercentage.value <= 25) {
return "qrc:/qml/images/battery2.png"
return "/usr/share/lipstick-glacier-home-qt5/qml/images/battery2.png"
} else if (batteryChargePercentage.value <= 40) {
return "qrc:/qml/images/battery3.png"
return "/usr/share/lipstick-glacier-home-qt5/qml/imagesbattery3.png"
} else if (batteryChargePercentage.value <= 65) {
return "qrc:/qml/images/battery4.png"
return "/usr/share/lipstick-glacier-home-qt5/qml/images/battery4.png"
} else if (batteryChargePercentage.value <= 80) {
return "qrc:/qml/images/battery5.png"
return "/usr/share/lipstick-glacier-home-qt5/qml/images/battery5.png"
} else {
return "qrc:/qml/images/battery6.png"
return "/usr/share/lipstick-glacier-home-qt5/qml/images/battery6.png"
}
}
}
......
......@@ -11,6 +11,13 @@ target.path = /usr/bin
styles.path = /usr/share/lipstick-glacier-home-qt5
styles.files = nemovars.conf
images.path = /usr/share/lipstick-glacier-home-qt5/qml/images
images.files = qml/images/*.png \
qml/images/*.jpg
theme.path = /usr/share/lipstick-glacier-home-qt5/qml/theme
theme.files = qml/theme/*.png
qml.path = /usr/share/lipstick-glacier-home-qt5/qml
qml.files = qml/MainScreen.qml \
qml/compositor.qml \
......@@ -60,7 +67,7 @@ connectivity.files = qml/USBModeSelector.qml
notifications.path = /usr/share/lipstick-glacier-home-qt5/qml/notifications
notifications.files = qml/NotificationPreview.qml
INSTALLS += styles qml qmlcompositor scripts system volumecontrol connectivity notifications
INSTALLS += styles images theme qml qmlcompositor scripts system volumecontrol connectivity notifications
CONFIG += qt link_pkgconfig
QT += quick compositor
......@@ -74,9 +81,6 @@ SOURCES += \
main.cpp \
glacierwindowmodel.cpp
RESOURCES += \
resources-qml.qrc
PKGCONFIG += lipstick-qt5
OTHER_FILES += qml/*.qml \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment