aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlessandro Portale <alessandro.portale@digia.com>2012-10-23 13:26:00 +0200
committerAlessandro Portale <alessandro.portale@digia.com>2012-10-23 16:12:34 +0200
commit6b7501a1e24f2a3de4ce26bad9c174d6382a86ed (patch)
tree42a0801810486586e70e6fb60cfe8c6a62265197
parent6481deb8c8bac5631ea98139e3ac067b35340412 (diff)
Appwizard test: Fix compilation and warnings
Change-Id: I6ec16d21c2c8554637361a48deddc71ebb52e7ce Reviewed-by: Thomas Hartmann <Thomas.Hartmann@digia.com>
-rw-r--r--tests/manual/appwizards/appwizards.pro2
-rw-r--r--tests/manual/appwizards/main.cpp5
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/manual/appwizards/appwizards.pro b/tests/manual/appwizards/appwizards.pro
index 90f8cf6da1..5c07413e6a 100644
--- a/tests/manual/appwizards/appwizards.pro
+++ b/tests/manual/appwizards/appwizards.pro
@@ -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 \
diff --git a/tests/manual/appwizards/main.cpp b/tests/manual/appwizards/main.cpp
index f9042cbc62..661cd81304 100644
--- a/tests/manual/appwizards/main.cpp
+++ b/tests/manual/appwizards/main.cpp
@@ -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;