From ffd888348d985948f72b547710aba9643441150e Mon Sep 17 00:00:00 2001 From: kh1 Date: Tue, 21 Feb 2012 22:27:51 +0100 Subject: Revert "Reorganize libinstaller.pri -> installerbuilder.pri file includes." This reverts commit 6326dc3187f4c40ec938b03d256befb6d9dfc333. This breaks shadow builds. Need to check with creator sources how to do it properly. Change-Id: I0a9edf31abcee93b1b323ac8d8b80cc492226e29 Reviewed-by: Karsten Heimrich --- examples/testapp/testapp.pro | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'examples/testapp') 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) -- cgit v1.2.3