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>
17 lines
648 B
Python
17 lines
648 B
Python
# Copyright (C) 2022 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")
|
|
|
|
# test New Qt Gui Application build and run for release and debug option
|
|
def main():
|
|
# Start Creator with built-in code model, to avoid having
|
|
# warnings from the clang code model in "issues" view
|
|
if not startCreatorVerifyingClang(False):
|
|
return
|
|
createProject_Qt_GUI(tempDir(), "SampleApp", buildSystem="qmake")
|
|
# run project for debug and release and verify results
|
|
runVerify()
|
|
#close Qt Creator
|
|
invokeMenuItem("File", "Exit")
|