summaryrefslogtreecommitdiff
path: root/tests/system/suite_APTW/tst_APTW02/test.py
blob: 2011b4c6a57aba7368b469d9fadb95e11a66b2f0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
source("../../shared/qtcreator.py")
source("../../shared/suites_qtta.py")
source("../shared/aptw.py")

# test New Qt Quick Application build and run for release and debug option
def main():
    startApplication("qtcreator" + SettingsPath)
    checkedTargets, projectName = createNewQtQuickApplication(tempDir(), "SampleApp")
    waitForSignal("{type='CppTools::Internal::CppModelManager' unnamed='1'}", "sourceFilesRefreshed(QStringList)")
    # run project for debug and release and verify results
    runVerify(checkedTargets)
    #close Qt Creator
    invokeMenuItem("File", "Exit")