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>
27 lines
987 B
Python
27 lines
987 B
Python
# Copyright (C) 2016 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0+ OR GPL-3.0 WITH Qt-GPL-exception-1.0
|
|
|
|
source("../../shared/qtcreator.py")
|
|
|
|
def main():
|
|
# FIXME
|
|
test.warning("Qt Quick 2 Extension Plugin needs Qt6.2+ nowadays.")
|
|
return
|
|
|
|
startQC()
|
|
if not startedWithoutPluginError():
|
|
return
|
|
for target in [Targets.DESKTOP_5_10_1_DEFAULT, Targets.DESKTOP_5_14_1_DEFAULT]:
|
|
# using a temporary directory won't mess up a potentially existing
|
|
createNewQmlExtension(tempDir(), [target])
|
|
# wait for parsing to complete
|
|
waitForProjectParsing()
|
|
test.log("Building project Qt Quick 2 Extension Plugin (%s)"
|
|
% Targets.getStringForTarget(target))
|
|
invokeMenuItem("Build","Build All Projects")
|
|
waitForCompile()
|
|
checkCompile()
|
|
checkLastBuild()
|
|
invokeMenuItem("File", "Close All Projects and Editors")
|
|
invokeMenuItem("File", "Exit")
|