[calamares] Add a sample QML-sidebar

- The built-in one is loaded if no branding file is found.
- This sidebar is just the most basic of QML examples.
main
Adriaan de Groot 5 years ago
parent cc3b0b2859
commit cec406e402

@ -20,6 +20,7 @@ include_directories(
# Translations
include( CalamaresAddTranslations )
add_calamares_translations( ${CALAMARES_TRANSLATION_LANGUAGES} )
qt5_add_resources( calamaresRc calamares.qrc )
add_executable( calamares_bin ${calamaresSources} ${calamaresRc} ${trans_outfile} )
target_include_directories( calamares_bin PRIVATE ${CMAKE_SOURCE_DIR} )

@ -0,0 +1,12 @@
import QtQuick 2.3
Rectangle {
width: 200
height: 100
color: "red"
Text {
anchors.centerIn: parent
text: "Hello, World!"
}
}

@ -0,0 +1,5 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
<file alias="calamares-sidebar.qml">calamares-sidebar.qml</file>
</qresource>
</RCC>
Loading…
Cancel
Save