2011-09-06 09:12:15 +02:00
|
|
|
source("../../shared/qtcreator.py")
|
|
|
|
|
|
|
|
|
|
def main():
|
|
|
|
|
startApplication("qtcreator" + SettingsPath)
|
2012-11-15 13:43:53 +01:00
|
|
|
# using a temporary directory won't mess up a potentially existing
|
|
|
|
|
createNewQmlExtension(tempDir())
|
2011-09-06 09:12:15 +02:00
|
|
|
# wait for parsing to complete
|
2011-11-28 17:35:22 +01:00
|
|
|
waitForSignal("{type='CppTools::Internal::CppModelManager' unnamed='1'}", "sourceFilesRefreshed(QStringList)")
|
2011-09-06 09:12:15 +02:00
|
|
|
test.log("Building project")
|
|
|
|
|
invokeMenuItem("Build","Build All")
|
2011-11-28 17:35:22 +01:00
|
|
|
waitForSignal("{type='ProjectExplorer::BuildManager' unnamed='1'}", "buildQueueFinished(bool)")
|
2011-09-21 13:55:23 +02:00
|
|
|
checkCompile()
|
|
|
|
|
checkLastBuild()
|
2011-09-06 09:12:15 +02:00
|
|
|
invokeMenuItem("File", "Exit")
|