Wizards: Add a simple wizard for unit tests.

This commit is contained in:
Friedemann Kleint
2009-12-16 14:19:34 +01:00
parent c04ece5308
commit b9927f9998
15 changed files with 800 additions and 15 deletions

View File

@@ -60,8 +60,9 @@ void QtProjectParameters::writeProFile(QTextStream &str) const
str << "QT += " << selectedModules << "\n\n";
if (!deselectedModules.isEmpty())
str << "QT -= " << deselectedModules << "\n\n";
if (!name.isEmpty())
str << "TARGET = " << name << '\n';
const QString &effectiveTarget = target.isEmpty() ? name : target;
if (!effectiveTarget.isEmpty())
str << "TARGET = " << effectiveTarget << '\n';
switch (type) {
case ConsoleApp:
// Mac: Command line apps should not be bundles