Commit 732f5b55 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧

Include the header in the resource

parent 957b8209
......@@ -4,7 +4,7 @@ if(TARGET KF5::I18n)
add_definitions(-DKDECOMPONENTS)
endif()
qt5_add_resources(KALGEBRAMOBILE_SRCS resources.qrc)
qt5_add_resources(KALGEBRAMOBILE_SRCS resources.qrc header.qrc)
add_executable(kalgebramobile pluginsmodel.cpp
../src/consolemodel.cpp
kalgebramobile.cpp main.cpp ${KALGEBRAMOBILE_SRCS})
......
<RCC>
<qresource>
<file>header.jpg</file>
</qresource>
</RCC>
......@@ -20,7 +20,7 @@ Kirigami.ApplicationWindow
title: "KAlgebra"
titleIcon: "qrc:/kalgebra.svgz"
bannerImageSource: "https://images.unsplash.com/photo-1464831728920-2095a7fbc506?ixlib=rb-0.3.5&q=35&fm=jpg&crop=entropy&cs=srgb&s=8887357234283ab5cc2088b779615d87" //TODO: use something local!
bannerImageSource: "qrc:/header.jpg"
Instantiator {
delegate: Kirigami.Action {
......
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