Initial commit
[tietoopcom] / tietoopcom.pro
1 QMAKEVERSION = $$[QMAKE_VERSION]
2 ISQT4 = $$find(QMAKEVERSION, ^[2-9])
3 isEmpty( ISQT4 ) {
4 error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
5 }
6
7 SUBDIRS += src
8 TEMPLATE = subdirs
9 CONFIG += debug_and_release
10 QT += core \
11     gui
12
13 PREFIX=/usr
14
15 service.files = ./data/com.tieto.tietoopcom.service
16 service.path = $$PREFIX/share/dbus-1/services
17
18 desktop.files = ./data/tietoopcom.desktop
19 desktop.path = $$PREFIX/share/applications/hildon
20
21 logo.files = ./data/icons/jabber.png
22 logo.path = $$PREFIX/share/pixmap
23
24 emoticons.files = ./data/emoticons/*
25 emoticons.path = $$PREFIX/share/$$TARGET/emoticons
26
27 stylesheets.files = ./data/stylesheets/*
28 stylesheets.path = $$PREFIX/share/$$TARGET/stylesheets
29
30 licence.files = ./data/copyright
31 licence.path = $$PREFIX/share/$$TARGET/licence
32
33 INSTALLS += service emoticons desktop logo stylesheets licence