-#-------------------------------------------------
-#
-# Project created by QtCreator 2010-09-04T01:48:53
-#
-#-------------------------------------------------
-
-QT += core gui
-
-TARGET = someplayer
-TEMPLATE = app
+QMAKEVERSION = $$[QMAKE_VERSION]
+ISQT4 = $$find(QMAKEVERSION, ^[2-9])
+isEmpty( ISQT4 ) {
+ error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
+}
+TEMPLATE = subdirs
+SUBDIRS = src
-SOURCES += src/main.cpp\
- src/mainwindow.cpp
+desktop.path = /usr/share/applications/hildon
+desktop.files = src/resources/someplayer.desktop
-HEADERS += src/mainwindow.h
+icon.path = /usr/share/icons/hicolor/scalable/hildon
+icon.files = src/resources/someplayer.png
-FORMS += src/ui/mainwindow.ui
+equalizer.path = "/etc/skel/.someplayer"
+equalizer.files = src/resources/equalizer.ini
-CONFIG += mobility
-MOBILITY =
+translations.path = /opt/someplayer
+translations.files = src/resources/*.qm
-symbian {
- TARGET.UID3 = 0xebd21b9a
- # TARGET.CAPABILITY +=
- TARGET.EPOCSTACKSIZE = 0x14000
- TARGET.EPOCHEAPSIZE = 0x020000 0x800000
-}
+INSTALLS += icon desktop equalizer translations