TEMPLATE = app
+TARGET = irwi
SOURCES += main.cpp
SOURCES += mainwidget.cpp
include(qmaemo5homescreenadaptor/qmaemo5homescreenadaptor.pri)
-desktop.path = /usr/share/applications/hildon-home
-desktop.files = irwi.desktop
-
-target.path = /usr/lib/hildon-desktop
-#INSTALLS += target desktop
QT += network
- unix {
- #VARIABLES
- isEmpty(PREFIX) {
- PREFIX = /usr/local
- }
+unix {
+#VARIABLES
+isEmpty(PREFIX) {
+ PREFIX = /usr
+}
BINDIR = $$PREFIX/bin
DATADIR =$$PREFIX/share
#MAKE INSTALL
-INSTALLS += target desktop service iconxpm icon26 icon48 icon64
+INSTALLS += target desktop iconxpm icon26 icon48 icon64
- target.path =$$BINDIR
+ target.path = $$PREFIX/lib/hildon-desktop
- desktop.path = $$DATADIR/applications/hildon
+ desktop.path = $$PREFIX/share/applications/hildon-home
desktop.files += $${TARGET}.desktop
- service.path = $$DATADIR/dbus-1/services
- service.files += $${TARGET}.service
-
iconxpm.path = $$DATADIR/pixmap
iconxpm.files += ../data/maemo/$${TARGET}.xpm