forked from qt-creator/qt-creator
Squish: Improved checks before working on projects
Change-Id: Ieb230be55b94d00be272cb84796ce8fd22f4f8f7 Reviewed-by: Christian Stenger <christian.stenger@digia.com>
This commit is contained in:
@@ -5,11 +5,12 @@ source("../../shared/qtcreator.py")
|
||||
def main():
|
||||
# prepare example project
|
||||
sourceExample = os.path.abspath(sdkPath + "/Examples/4.7/declarative/animation/basics/property-animation")
|
||||
if not neededFilePresent(sourceExample):
|
||||
proFile = "propertyanimation.pro"
|
||||
if not neededFilePresent(os.path.join(sourceExample, proFile)):
|
||||
return
|
||||
# copy example project to temp directory
|
||||
templateDir = prepareTemplate(sourceExample)
|
||||
examplePath = templateDir + "/propertyanimation.pro"
|
||||
examplePath = os.path.join(templateDir, proFile)
|
||||
startApplication("qtcreator" + SettingsPath)
|
||||
# open example project
|
||||
openQmakeProject(examplePath)
|
||||
|
||||
Reference in New Issue
Block a user