summaryrefslogtreecommitdiffstats
path: root/examples/testapp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/testapp')
-rw-r--r--examples/testapp/testapp.pro16
1 files changed, 12 insertions, 4 deletions
diff --git a/examples/testapp/testapp.pro b/examples/testapp/testapp.pro
index 72ae3f837..48ac2b0b2 100644
--- a/examples/testapp/testapp.pro
+++ b/examples/testapp/testapp.pro
@@ -1,12 +1,20 @@
-include( ../../installerbuilder/installerbuilder.pri )
-
TEMPLATE = app
+TARGET =
+
+include( ../../installerbuilder/libinstaller/libinstaller.pri )
+LIBS = -L$$OUT_PWD/../../installerbuilder/lib -linstaller $$LIBS
+
DESTDIR = packages/com.nokia.testapp/data
-CONFIG += uitools help
QT += script network xml sql
+CONFIG += uitools help
+contains(CONFIG, static): {
+ QTPLUGIN += qsqlite
+ DEFINES += USE_STATIC_SQLITE_PLUGIN
+}
# Input
+FORMS += componentselectiondialog.ui updatesettingsdialog.ui updatesettingswidget.ui
HEADERS += mainwindow.h \
componentselectiondialog.h \
updatesettingsdialog.h \
@@ -18,8 +26,8 @@ SOURCES += main.cpp mainwindow.cpp \
updatesettingsdialog.cpp \
updateagent.cpp \
updatesettingswidget.cpp
+
RESOURCES += testapp.qrc
-FORMS += componentselectiondialog.ui updatesettingsdialog.ui updatesettingswidget.ui
macx:QMAKE_POST_LINK = ($$OUT_PWD/../../installerbuilder/bin/binarycreator -p packages -c config -t ../../installerbuilder/bin/installerbase TestAppInstaller.app com.nokia.testapp)
win32:QMAKE_POST_LINK = ($$OUT_PWD\\..\\..\\installerbuilder\\bin\\binarycreator.exe -p $$PWD\\packages -c $$PWD\\config -t $$OUT_PWD\\..\\..\\installerbuilder\\bin\\installerbase.exe TestAppInstaller.exe com.nokia.testapp)