forked from qt-creator/qt-creator
Fix project file in the script wizard example.
Do not add the header file to the sources group of the project. Change-Id: I2850854e0ded1fa226c7ef5f4428d0de7ec20c75 Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
This commit is contained in:
@@ -123,7 +123,7 @@ if ($optDryRun) {
|
||||
|
||||
my $projectFile = new IO::File('>' . $projectFileName) or die ('Unable to open ' . $projectFileName . ' :' . $!);
|
||||
print $projectFile "TEMPLATE = app\nQT -= core\nCONFIG += console\nTARGET = ", $optProjectName,
|
||||
"\nSOURCES += ", $sourceFileName, ' ',$headerFileName, ' ', $mainSourceFileName,
|
||||
"\nSOURCES += ", $sourceFileName, ' ', $mainSourceFileName,
|
||||
"\nHEADERS += ", $headerFileName,"\n";
|
||||
$projectFile->close();
|
||||
}
|
||||
|
Reference in New Issue
Block a user