Version 0.3.23. Setup for PR1.3.
[easylist] / easylist.pro
index 9b32c1c..0a17108 100755 (executable)
@@ -1,8 +1,77 @@
-QMAKEVERSION = $$[QMAKE_VERSION]\r
-ISQT4 = $$find(QMAKEVERSION, ^[2-9])\r
-isEmpty( ISQT4 ) {\r
-error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");\r
-}\r
+#-------------------------------------------------\r
+#\r
+# Project created by QtCreator 2010-09-07T13:50:39\r
+#\r
+#-------------------------------------------------\r
+\r
+# This needs to be removed in order for the binary\r
+# to be chmod to 755 in the debian package.\r
+QT       += core gui maemo5\r
+TARGET = easylist\r
+TEMPLATE = app\r
+DEPENDPATH += .\r
+INCLUDEPATH += .\r
+DESTDIR = .\r
+\r
+SOURCES += main.cpp\\r
+        mycheckbox.cpp\\r
+    mainform.cpp \\r
+    mycheckboxcontainer.cpp \\r
+    systemsettings.cpp \\r
+    listform.cpp \\r
+    editform.cpp \\r
+    slidewidget.cpp \\r
+    chooselistform.cpp\r
+\r
+HEADERS  +=\\r
+        mycheckbox.h \\r
+    mainform.h \\r
+    mycheckboxcontainer.h \\r
+    systemsettings.h \\r
+    listform.h \\r
+    editform.h \\r
+    slidewidget.h \\r
+    chooselistform.h \\r
+    globals.h\r
+\r
+FORMS    += \\r
+    mainform.ui \\r
+    listform.ui \\r
+    editform.ui \\r
+    chooselistform.ui\r
+\r
+CONFIG += mobility\r
+\r
+unix {\r
+    QT += dbus\r
+    #VARIABLES\r
+    PREFIX = /usr\r
+    BINDIR = /opt/easylist/bin\r
+    DATADIR = $$PREFIX/share\r
+\r
+    DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"\r
+\r
+    #MAKE INSTALL\r
+    INSTALLS += target desktop icon26 icon40 icon48 icon64\r
 \r
-TEMPLATE = subdirs\r
-SUBDIRS  = src\r
+    target.path =$$BINDIR\r
+\r
+    desktop.path = $$DATADIR/applications/hildon\r
+    desktop.files += $${TARGET}.desktop\r
+\r
+    #iconxpm.path = $$DATADIR/pixmap\r
+    #iconxpm.files += data/maemo/$${TARGET}.xpm\r
+\r
+    icon26.path = $$DATADIR/icons/hicolor/26x26/apps\r
+    icon26.files += data/26x26/$${TARGET}.png\r
+\r
+    icon40.path = $$DATADIR/icons/hicolor/40x40/apps\r
+    icon40.files += data/40x40/$${TARGET}.png\r
+\r
+    icon48.path = $$DATADIR/icons/hicolor/48x48/apps\r
+    icon48.files += data/48x48/$${TARGET}.png\r
+\r
+    icon64.path = $$DATADIR/icons/hicolor/64x64/apps\r
+    icon64.files += data/64x64/$${TARGET}.png\r
+\r
+}\r