Appwizard test: Fix compilation and warnings

Change-Id: I6ec16d21c2c8554637361a48deddc71ebb52e7ce
Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
This commit is contained in:
Alessandro Portale
2012-10-23 13:26:00 +02:00
parent 6481deb8c8
commit 6b7501a1e2
2 changed files with 5 additions and 2 deletions

View File

@@ -4,7 +4,7 @@ include ($$CREATORSOURCEDIR/qtcreator.pri)
DEFINES += \
CREATORLESSTEST
APPSOURCEDIR = $$CREATORSOURCEDIR/src/plugins/qt4projectmanager/wizards
LIBS *= -L$$IDE_LIBRARY_PATH -lUtils -lBotan
LIBS *= -L$$IDE_LIBRARY_PATH -lUtils
HEADERS += \
$$APPSOURCEDIR/qtquickapp.h \
$$APPSOURCEDIR/html5app.h \

View File

@@ -37,6 +37,9 @@ using namespace Qt4ProjectManager::Internal;
int main(int argc, char *argv[])
{
Q_UNUSED(argc)
Q_UNUSED(argv)
QString errorMessage;
const QString projectPath = QLatin1String("testprojects");
@@ -52,7 +55,7 @@ int main(int argc, char *argv[])
{
QtQuickApp sAppNew;
sAppNew.setProjectPath(projectPath);
sAppNew.setComponentSet(QtQuickApp::ComponentSetQtQuick2_0);
sAppNew.setComponentSet(QtQuickApp::QtQuick20Components);
sAppNew.setProjectName(QLatin1String("new_qtquick2_app"));
if (!sAppNew.generateFiles(&errorMessage))
return 1;