some more renaming, flatpak manifest
This commit is contained in:
parent
da9513e4d9
commit
f97847b949
19
org.macaw.magpie.yml
Normal file
19
org.macaw.magpie.yml
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
app-id: org.macaw.magpie
|
||||||
|
runtime: org.kde.Platform
|
||||||
|
runtime-version: '6.6'
|
||||||
|
sdk: org.kde.Sdk
|
||||||
|
command: magpie
|
||||||
|
finish-args:
|
||||||
|
- --share=ipc
|
||||||
|
- --share=network
|
||||||
|
- --socket=fallback-x11
|
||||||
|
- --socket=wayland
|
||||||
|
- --device=dri
|
||||||
|
modules:
|
||||||
|
- name: magpie
|
||||||
|
buildsystem: cmake
|
||||||
|
config-opts:
|
||||||
|
- -DCMAKE_BUILD_TYPE=Debug
|
||||||
|
sources:
|
||||||
|
- type: dir
|
||||||
|
path: .
|
@ -15,7 +15,7 @@ Page {
|
|||||||
|
|
||||||
Label {
|
Label {
|
||||||
anchors.horizontalCenter: parent.horizontalCenter
|
anchors.horizontalCenter: parent.horizontalCenter
|
||||||
text: qsTr("Welcome to Megpie!")
|
text: qsTr("Welcome to Magpie!")
|
||||||
font {
|
font {
|
||||||
pixelSize: 22
|
pixelSize: 22
|
||||||
bold: true
|
bold: true
|
||||||
|
@ -12,7 +12,7 @@ ApplicationWindow {
|
|||||||
width: 640
|
width: 640
|
||||||
height: 480
|
height: 480
|
||||||
visible: true
|
visible: true
|
||||||
title: "Megpie"
|
title: "Magpie"
|
||||||
|
|
||||||
header: Label {
|
header: Label {
|
||||||
text: stack.currentItem.title
|
text: stack.currentItem.title
|
||||||
|
4
root.cpp
4
root.cpp
@ -7,7 +7,7 @@ Root::Root(const QUrl& root, int& argc, char* argv[]) :
|
|||||||
context(engine.rootContext()),
|
context(engine.rootContext()),
|
||||||
api()
|
api()
|
||||||
{
|
{
|
||||||
std::cout << "Starting megpie..." << std::endl;
|
std::cout << "Starting Magpie..." << std::endl;
|
||||||
|
|
||||||
connect(&engine, &QQmlApplicationEngine::objectCreated,
|
connect(&engine, &QQmlApplicationEngine::objectCreated,
|
||||||
this, &Root::onObjectCreated,
|
this, &Root::onObjectCreated,
|
||||||
@ -36,7 +36,7 @@ bool Root::notify(QObject* receiver, QEvent* e) {
|
|||||||
std::cout << "Caught an exception" << std::endl;
|
std::cout << "Caught an exception" << std::endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::cout << "Squawk is quiting..." << std::endl;
|
std::cout << "Magpie is quiting..." << std::endl;
|
||||||
exit(1);
|
exit(1);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user