Commit 39757c64 authored by Nicolas Fella's avatar Nicolas Fella

Post 0

parents
#!/usr/bin/env python3
from PySide2.QtGui import QGuiApplication
from PySide2.QtQml import QQmlApplicationEngine
if __name__ == "__main__":
app = QGuiApplication()
engine = QQmlApplicationEngine()
context = engine.rootContext()
engine.load("qml/main.qml")
if len(engine.rootObjects()) == 0:
quit()
app.exec_()
import QtQuick 2.2
import QtQuick.Controls 2.4
import org.kde.kirigami 2.0 as Kirigami
Kirigami.ApplicationWindow
{
width: 480
height: 720
Label {
text: "Hello world!"
anchors.centerIn: parent
}
}
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