forked from qt-creator/qt-creator
Replace the current license disclaimer in files by a SPDX-License-Identifier. Task-number: QTBUG-67283 Change-Id: I708fd1f9f2b73d60f57cc3568646929117825813 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
23 lines
530 B
Python
23 lines
530 B
Python
#!/usr/bin/env python
|
|
# -*- coding: utf-8 -*-
|
|
# Copyright (C) 2020 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR LGPL-3.0
|
|
|
|
import os
|
|
import sys
|
|
|
|
from PySide2.QtGui import QGuiApplication
|
|
from PySide2.QtQml import QQmlApplicationEngine
|
|
|
|
|
|
if __name__ == "__main__":
|
|
app = QGuiApplication(sys.argv)
|
|
|
|
engine = QQmlApplicationEngine()
|
|
engine.load(os.path.join(os.path.dirname(__file__), "main.qml"))
|
|
|
|
if not engine.rootObjects():
|
|
sys.exit(-1)
|
|
|
|
sys.exit(app.exec_())
|