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:
David Schulz
2014-10-23 08:19:40 +02:00
parent cabf14ba30
commit 7c795b6667

View File

@@ -123,7 +123,7 @@ if ($optDryRun) {
my $projectFile = new IO::File('>' . $projectFileName) or die ('Unable to open ' . $projectFileName . ' :' . $!); my $projectFile = new IO::File('>' . $projectFileName) or die ('Unable to open ' . $projectFileName . ' :' . $!);
print $projectFile "TEMPLATE = app\nQT -= core\nCONFIG += console\nTARGET = ", $optProjectName, print $projectFile "TEMPLATE = app\nQT -= core\nCONFIG += console\nTARGET = ", $optProjectName,
"\nSOURCES += ", $sourceFileName, ' ',$headerFileName, ' ', $mainSourceFileName, "\nSOURCES += ", $sourceFileName, ' ', $mainSourceFileName,
"\nHEADERS += ", $headerFileName,"\n"; "\nHEADERS += ", $headerFileName,"\n";
$projectFile->close(); $projectFile->close();
} }