Moved Gui and js folders into qml.qrc in preparation for the end

platform executable
This commit is contained in:
2024-12-07 23:38:41 +01:00
parent 4dfe986111
commit 17445ff594
5 changed files with 12 additions and 7 deletions

View File

@@ -47,6 +47,8 @@ def publishContext():
engine.rootContext().setContextProperty("bm", bm)
engine.rootContext().setContextProperty("am", am)
if __name__ == "__main__":
#QResource.registerResource("rc_qml.py")
app = QGuiApplication(sys.argv)
@@ -60,9 +62,9 @@ if __name__ == "__main__":
qml_file = Path(__file__).resolve().parent / "Gui/main.qml"
# qml_file = Path(__file__).resolve().parent / "Gui/main.qml"
#qml_file = ":/gui/main.qml"
qml_file = "qrc:/Gui/main.qml"
config = ConfigLoader()