Files
qt-creator/tests/system/suite_qtquick/tst_qtquick_creation4/test.py
Christian Stenger 15ca3268ad SquishTests: Provide Qt6.2 for testing
Long overdue. Adapt Qt Quick related stuff as this nowadays
is requiring Qt6.2 as a minimum.

Change-Id: Id1e727813034044edb4584c6d5f73a56310293d2
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: David Schulz <david.schulz@qt.io>
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
2023-02-16 14:07:44 +00:00

23 lines
844 B
Python

# Copyright (C) 2016 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
source("../../shared/qtcreator.py")
def main():
startQC()
if not startedWithoutPluginError():
return
for target in [Targets.DESKTOP_6_2_4]:
# 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")