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

[packaging] Remove resource file

parent 43c6a052
...@@ -27,7 +27,7 @@ Image { ...@@ -27,7 +27,7 @@ Image {
id: closeButton id: closeButton
signal clicked() 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 { MouseArea {
anchors.fill: parent anchors.fill: parent
......
...@@ -12,7 +12,7 @@ Image { ...@@ -12,7 +12,7 @@ Image {
ConfigurationValue{ ConfigurationValue{
id: lockScreenWallpaper id: lockScreenWallpaper
key: "/home/glacier/lockScreen/wallpaperImage" 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 { LockscreenClock {
......
...@@ -53,7 +53,7 @@ Page { ...@@ -53,7 +53,7 @@ Page {
ConfigurationValue { ConfigurationValue {
id: wallpaperSource id: wallpaperSource
key: desktop.isPortrait ? "/desktop/meego/background/portrait/picture_filename" : "/desktop/meego/background/landscape/picture_filename" 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 id: desktop
property alias lockscreen: lockScreen property alias lockscreen: lockScreen
...@@ -145,7 +145,7 @@ Page { ...@@ -145,7 +145,7 @@ Page {
} }
Image { Image {
id:wallpaper 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 anchors.fill: parent
fillMode: Image.PreserveAspectCrop fillMode: Image.PreserveAspectCrop
z: -100 z: -100
......
...@@ -137,7 +137,7 @@ Item { ...@@ -137,7 +137,7 @@ Item {
} }
width: notificationArea.notificationIconSize width: notificationArea.notificationIconSize
height: width height: width
source: "qrc:/qml/images/notification-circle.png" source: "/usr/share/lipstick-glacier-home-qt5/qml/images/notification-circle.png"
} }
Text { Text {
......
...@@ -226,21 +226,21 @@ Item { ...@@ -226,21 +226,21 @@ Item {
panel: BatteryPanel {} panel: BatteryPanel {}
source: { source: {
if(batteryChargePercentage.value > 85) { 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) { } 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) { } 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) { } 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) { } 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) { } 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) { } else if (batteryChargePercentage.value <= 80) {
return "qrc:/qml/images/battery5.png" return "/usr/share/lipstick-glacier-home-qt5/qml/images/battery5.png"
} else { } 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 ...@@ -11,6 +11,13 @@ target.path = /usr/bin
styles.path = /usr/share/lipstick-glacier-home-qt5 styles.path = /usr/share/lipstick-glacier-home-qt5
styles.files = nemovars.conf 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.path = /usr/share/lipstick-glacier-home-qt5/qml
qml.files = qml/MainScreen.qml \ qml.files = qml/MainScreen.qml \
qml/compositor.qml \ qml/compositor.qml \
...@@ -60,7 +67,7 @@ connectivity.files = qml/USBModeSelector.qml ...@@ -60,7 +67,7 @@ connectivity.files = qml/USBModeSelector.qml
notifications.path = /usr/share/lipstick-glacier-home-qt5/qml/notifications notifications.path = /usr/share/lipstick-glacier-home-qt5/qml/notifications
notifications.files = qml/NotificationPreview.qml 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 CONFIG += qt link_pkgconfig
QT += quick compositor QT += quick compositor
...@@ -74,9 +81,6 @@ SOURCES += \ ...@@ -74,9 +81,6 @@ SOURCES += \
main.cpp \ main.cpp \
glacierwindowmodel.cpp glacierwindowmodel.cpp
RESOURCES += \
resources-qml.qrc
PKGCONFIG += lipstick-qt5 PKGCONFIG += lipstick-qt5
OTHER_FILES += qml/*.qml \ 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