summaryrefslogtreecommitdiffstats
path: root/examples/testapp/testapp.pro
blob: 48ac2b0b25995ab3fa43fb92867878e388868e78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
TEMPLATE = app
TARGET =

include( ../../installerbuilder/libinstaller/libinstaller.pri )
LIBS = -L$$OUT_PWD/../../installerbuilder/lib -linstaller $$LIBS

DESTDIR = packages/com.nokia.testapp/data

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 \
    updateagent.h \
    updatesettingswidget.h

SOURCES += main.cpp mainwindow.cpp \
    componentselectiondialog.cpp \
    updatesettingsdialog.cpp \
    updateagent.cpp \
    updatesettingswidget.cpp

RESOURCES += testapp.qrc

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)