cf54d45f8aeaa749746eed080e63eb8b2a954ed8
[cuteexplorer] / src / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-01-13T19:38:20
3 # -------------------------------------------------
4 TARGET = cuteexplorer
5 TEMPLATE = app
6 QT += dbus
7 SOURCES += main.cpp \
8     mainwindow.cpp \
9     filelistwidget.cpp
10 HEADERS += mainwindow.h \
11     filelistwidget.h
12 FORMS += mainwindow.ui
13 TRANSLATIONS += cuteexplorertranslation_fi_FI.ts
14 RESOURCES += i18n.qrc
15
16
17 maemo5 {
18     #VARIABLES
19     CONFIG += link_pkgconfig
20     PKGCONFIG += dbus-1 gnome-vfs-2.0
21     LIBS += -lhildonmime -ldbus-1
22     isEmpty(PREFIX) {
23         PREFIX = /usr
24   }
25 BINDIR = $$PREFIX/bin
26 DATADIR =$$PREFIX/share
27
28 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
29
30 #MAKE INSTALL
31
32 INSTALLS += target desktop icon icon64
33
34   target.path =$$BINDIR
35
36   desktop.path = $$DATADIR/applications/hildon
37   desktop.files += $${TARGET}.desktop
38
39   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
40   icon64.files += $${TARGET}_icon64.png
41
42   icon.path = $$DATADIR/icons/hicolor/scalable/apps
43   icon.files += $${TARGET}_icon.svg
44 }