2016-01-15 14:55:33 +01:00
|
|
|
# Copyright (C) 2016 The Qt Company Ltd.
|
2022-12-21 10:12:09 +01:00
|
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
2013-05-15 13:17:33 +02:00
|
|
|
|
2011-09-06 09:12:15 +02:00
|
|
|
source("../../shared/qtcreator.py")
|
|
|
|
|
|
|
|
|
|
def main():
|
2018-08-22 14:37:34 +02:00
|
|
|
startQC()
|
2013-02-22 14:31:39 +01:00
|
|
|
if not startedWithoutPluginError():
|
|
|
|
|
return
|
2023-02-16 08:43:14 +01:00
|
|
|
for target in [Targets.DESKTOP_6_2_4]:
|
2013-08-26 11:31:37 +02:00
|
|
|
# using a temporary directory won't mess up a potentially existing
|
2017-03-08 14:35:41 +01:00
|
|
|
createNewQmlExtension(tempDir(), [target])
|
2013-08-26 11:31:37 +02:00
|
|
|
# wait for parsing to complete
|
2019-08-16 08:36:52 +02:00
|
|
|
waitForProjectParsing()
|
2017-03-08 14:35:41 +01:00
|
|
|
test.log("Building project Qt Quick 2 Extension Plugin (%s)"
|
|
|
|
|
% Targets.getStringForTarget(target))
|
2020-01-27 14:48:58 +01:00
|
|
|
invokeMenuItem("Build","Build All Projects")
|
2014-01-21 17:29:35 +01:00
|
|
|
waitForCompile()
|
2013-08-26 11:31:37 +02:00
|
|
|
checkCompile()
|
|
|
|
|
checkLastBuild()
|
|
|
|
|
invokeMenuItem("File", "Close All Projects and Editors")
|
2011-09-06 09:12:15 +02:00
|
|
|
invokeMenuItem("File", "Exit")
|