Initial commit
[cuteexplorer] / src.pro
1 # -------------------------------------------------
2 # Project created by QtCreator 2010-01-13T19:38:20
3 # -------------------------------------------------
4 TARGET = cuteexplorer
5 TEMPLATE = app
6
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     QT += dbus
23     isEmpty(PREFIX) {
24         PREFIX = /usr
25   }
26 BINDIR = $$PREFIX/bin
27 DATADIR =$$PREFIX/share
28
29 DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
30
31 #MAKE INSTALL
32
33 INSTALLS += target desktop icon icon64
34
35   target.path =$$BINDIR
36
37   desktop.path = $$DATADIR/applications/hildon
38   desktop.files += $${TARGET}.desktop
39
40   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
41   icon64.files += $${TARGET}_icon64.png
42
43   icon.path = $$DATADIR/icons/hicolor/scalable/apps
44   icon.files += $${TARGET}_icon.svg
45 }