summaryrefslogtreecommitdiffstats
path: root/examples/testapp/testapp.pro
blob: 1c55a71451ed791720858b0a5c6bc2221355e2f4 (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
34
35
36
37
38
TEMPLATE = app
DEPENDPATH += . ..
INCLUDEPATH += . ..
TARGET = testapp

include(../../installerfw.pri)

!static {
    warning("You can use this example only with a static build of Qt and IFW!")
}

LIBS += -linstaller
DESTDIR = packages/com.nokia.testapp/data

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

isEqual(IFW_SOURCE_TREE, $$IFW_BUILD_TREE) {
    macx:QMAKE_POST_LINK = ($$IFW_APP_PATH/binarycreator -p $$PWD/packages -c $$PWD/config -t $$IFW_APP_PATH/installerbase TestAppInstaller.app)
    win32:QMAKE_POST_LINK = ($$IFW_APP_PATH/binarycreator.exe -p $$PWD/packages -c $$PWD/config -t $$IFW_APP_PATH/installerbase.exe TestAppInstaller.exe)
}