summaryrefslogtreecommitdiffstats
path: root/mybudget/mybudget.pro
blob: 71666760c7a3ef064d59ade03d0fc43a5408565a (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
TEMPLATE = app
TARGET =

# All generated files goes same directory
OBJECTS_DIR = build
MOC_DIR = build
UI_DIR = build
DESTDIR = build

RESOURCES += images/images.qrc

include(src/src.pri)

include(../shared/shared.pri)
include(shared2.pri)

isEmpty(PREFIX) {
    PREFIX = "/usr/local"
}

INSTALLS += target
target.path = $$PREFIX/bin

INSTALLS    += desktop
desktop.path  = /usr/share/applications/hildon
desktop.files  = maemo/mybudget.desktop

INSTALLS    += icon64
icon64.path  = /usr/share/icons/hicolor/64x64/apps
icon64.files  = maemo/mybudget-icon.png

INSTALLS    += initsh
initsh.path  = /usr/bin/
initsh.files  = maemo/start_mybudget.sh

QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.5

# S60
symbian {
    isEmpty(NODEPLOYMENT) {
        TARGET.UID3 = 0xe1234566
        TARGET.EPOCHEAPSIZE = 0x020000 0x2000000
        ICON = images/mybudget-icon.svg
        mybudget.sources = mybudget.conf
        mybudget.path = c:\DATA\.config\openBossa
        DEPLOYMENT += mybudget
    }
}

# Maemo 5
linux-g++-maemo5{
  # Targets for debian source and binary package creation
  debian-src.commands = dpkg-buildpackage -S -r -us -uc -d
  debian-bin.commands = dpkg-buildpackage -b -r -uc -d
  debian-all.depends = debian-src debian-bin


  # Clean all but Makefile
  compiler_clean.commands = -$(DEL_FILE) $(TARGET)

  QMAKE_EXTRA_TARGETS += debian-all debian-src debian-bin compiler_clean
}