Commit 6b7501a1 authored by Alessandro Portale's avatar Alessandro Portale

Appwizard test: Fix compilation and warnings

Change-Id: I6ec16d21c2c8554637361a48deddc71ebb52e7ce
Reviewed-by: default avatarThomas Hartmann <Thomas.Hartmann@digia.com>
parent 6481deb8
......@@ -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 \
......
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment