diff options
author | kh1 <karsten.heimrich@nokia.com> | 2012-02-21 22:27:51 +0100 |
---|---|---|
committer | Karsten Heimrich <karsten.heimrich@nokia.com> | 2012-02-21 22:28:24 +0100 |
commit | ffd888348d985948f72b547710aba9643441150e (patch) | |
tree | 8d5ee8b48c5f7c5ef5fa46984ca103f2febdf0a4 /examples | |
parent | 6326dc3187f4c40ec938b03d256befb6d9dfc333 (diff) |
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 <karsten.heimrich@nokia.com>
Diffstat (limited to 'examples')
-rw-r--r-- | examples/downloadspeed/downloadspeed.pro | 4 | ||||
-rw-r--r-- | examples/testapp/testapp.pro | 16 |
2 files changed, 14 insertions, 6 deletions
diff --git a/examples/downloadspeed/downloadspeed.pro b/examples/downloadspeed/downloadspeed.pro index 18495317e..e082c1f65 100644 --- a/examples/downloadspeed/downloadspeed.pro +++ b/examples/downloadspeed/downloadspeed.pro @@ -1,5 +1,4 @@ -include(../../installerbuilder/installerbuilder.pri) - +include(../../installerbuilder/libinstaller/libinstaller.pri) DEPENDPATH += ../../installerbuilder/libinstaller ../../installerbuilder/common INCLUDEPATH += ../../installerbuilder/libinstaller ../../installerbuilder/common @@ -10,5 +9,6 @@ TARGET = downloadspeed QT -= gui QT += core network +LIBS = -L$$OUT_PWD/../../installerbuilder/lib -linstaller $$LIBS SOURCES += main.cpp 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) |