some more thoughts about state management
This commit is contained in:
parent
437e76067f
commit
b38ed2107b
13 changed files with 125 additions and 13 deletions
12
qml/Application/CMakeLists.txt
Normal file
12
qml/Application/CMakeLists.txt
Normal file
|
@ -0,0 +1,12 @@
|
|||
qt_add_qml_module(magpieApplication
|
||||
URI magpie.Application
|
||||
VERSION 1.0
|
||||
STATIC
|
||||
RESOURCE_PREFIX /
|
||||
OUTPUT_DIRECTORY ../magpie/Application
|
||||
NO_PLUGIN
|
||||
QML_FILES
|
||||
Root.qml
|
||||
)
|
||||
|
||||
target_link_libraries(magpie PRIVATE magpieApplication)
|
13
qml/Application/Root.qml
Normal file
13
qml/Application/Root.qml
Normal file
|
@ -0,0 +1,13 @@
|
|||
import QtQuick
|
||||
import QtQuick.Controls
|
||||
|
||||
Page {
|
||||
Label {
|
||||
anchors.centerIn: parent
|
||||
text: "Here we go!"
|
||||
font {
|
||||
pixelSize: 24
|
||||
bold: true
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue