Update splash pixmap.
[dorian] / dorian.pro
index 8c26e30..11e044f 100644 (file)
-QT += webkit xml
-
-INCLUDEPATH += $$PWD \
-    $$PWD/model \
-    $$PWD/widgets
-
-SOURCES += \
-    main.cpp \
-    mainwindow.cpp \
-    bookview.cpp \
-    model/unzip/unzip.c \
-    model/unzip/ioapi.c \
-    model/extractzip.cpp \
-    model/library.cpp \
-    model/book.cpp \
-    librarydialog.cpp \
-    devtools.cpp \
-    infodialog.cpp \
-    widgets/translucentbutton.cpp \
-    settingswindow.cpp \
-    model/settings.cpp \
-    bookmarksdialog.cpp \
-    model/sortedlibrary.cpp \
-    bookmarkinfodialog.cpp \
-    widgets/dyalog.cpp \
-    chaptersdialog.cpp \
-    widgets/fullscreenwindow.cpp \
-    trace.cpp \
-    widgets/toolbuttonbox.cpp \
-    model/bookfinder.cpp \
-    widgets/listwindow.cpp \
-    widgets/progress.cpp \
-    widgets/adopterwindow.cpp
-
-HEADERS += \
-    mainwindow.h \
-    bookview.h \
-    model/opshandler.h \
-    model/unzip/unzip.h \
-    model/unzip/ioapi.h \
-    model/extractzip.h \
-    model/library.h \
-    model/book.h \
-    librarydialog.h \
-    devtools.h \
-    infodialog.h \
-    widgets/translucentbutton.h \
-    settingswindow.h \
-    model/settings.h \
-    bookmarksdialog.h \
-    model/xmlerrorhandler.h \
-    model/containerhandler.h \
-    model/sortedlibrary.h \
-    model/ncxhandler.h \
-    bookmarkinfodialog.h \
-    widgets/dyalog.h \
-    chaptersdialog.h \
-    widgets/fullscreenwindow.h \
-    trace.h \
-    widgets/toolbuttonbox.h \
-    model/bookfinder.h \
-    widgets/listwindow.h \
-    widgets/progress.h \
-    widgets/adopterwindow.h \
-    widgets/listview.h
-
-RESOURCES += \
-    dorian.qrc
-
-OTHER_FILES += \
-    TODO.txt \
-    pkg/acknowledgements.txt \
-    pkg/maemo/postinst \
-    pkg/maemo/dorian.desktop \
-    pkg/maemo/control \
-    pkg/maemo/changelog \
-    pkg/maemo/build.sh \
-    styles/night.css \
-    pkg/changelog \
-    pkg/maemo/build-scratchbox.sh \
-    styles/sand.css \
-    styles/default.css \
-    pkg/version.txt \
-    styles/sand.js \
-    styles/night.js \
-    styles/default.js \
-    styles/day.js \
-    www/index.html \
-    pkg/maemo/autobuild.sh \
-    pkg/maemo/autobuild-scratchbox.sh \
-    LICENSE.txt
-
-DEFINES += \
-    USE_FILE32API \
-    DORIAN_TEST_MODEL
-
-include(model/modeltest/modeltest.pri)
-
-unix {
-    LIBS += -lz
-}
-windows, symbian {
-    # FIXME: Build zlib, too
-}
-maemo5 {
-    QT += maemo5 dbus
-    isEmpty(PREFIX) {
-        PREFIX = /usr
-    }
-    BINDIR = $$PREFIX/bin
-    DATADIR =$$PREFIX/share
-    DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
-
-    # For "make install"
-
-    INSTALLS += target desktop icon48 iconscalable
-
-    target.path = $$BINDIR
-
-    desktop.path = $$DATADIR/applications/hildon
-    desktop.files += pkg/maemo/dorian.desktop
-
-    icon48.path = $$DATADIR/icons/hicolor/48x48/hildon
-    icon48.files += pkg/maemo/icon-48/dorian.png
-
-    iconscalable.path = $$DATADIR/icons/hicolor/scalable/hildon
-    iconscalable.files += pkg/maemo/icon-scalable/dorian.png
-}
-macx {
-    CONFIG += x86
-}
+QT += webkit xml sql network\r
+\r
+INCLUDEPATH += $$PWD \\r
+    $$PWD/model \\r
+    $$PWD/widgets\r
+\r
+SOURCES += \\r
+    main.cpp \\r
+    mainwindow.cpp \\r
+    bookview.cpp \\r
+    model/unzip/unzip.c \\r
+    model/unzip/ioapi.c \\r
+    model/extractzip.cpp \\r
+    model/library.cpp \\r
+    model/book.cpp \\r
+    librarydialog.cpp \\r
+    devtools.cpp \\r
+    infodialog.cpp \\r
+    widgets/translucentbutton.cpp \\r
+    settingswindow.cpp \\r
+    model/settings.cpp \\r
+    bookmarksdialog.cpp \\r
+    model/sortedlibrary.cpp \\r
+    bookmarkinfodialog.cpp \\r
+    widgets/dyalog.cpp \\r
+    chaptersdialog.cpp \\r
+    fullscreenwindow.cpp \\r
+    trace.cpp \\r
+    widgets/toolbuttonbox.cpp \\r
+    model/bookfinder.cpp \\r
+    widgets/listwindow.cpp \\r
+    widgets/progress.cpp \\r
+    adopterwindow.cpp \\r
+    platform.cpp \\r
+    model/bookdb.cpp \\r
+    searchdialog.cpp \\r
+    search.cpp \\r
+    widgets/flickable.cpp \\r
+    searchresultsdialog.cpp \\r
+    searchresultinfodialog.cpp \\r
+    widgets/progressdialog.cpp \\r
+    widgets/splash.cpp\r
+\r
+HEADERS += \\r
+    mainwindow.h \\r
+    bookview.h \\r
+    model/opshandler.h \\r
+    model/unzip/unzip.h \\r
+    model/unzip/ioapi.h \\r
+    model/extractzip.h \\r
+    model/library.h \\r
+    model/book.h \\r
+    librarydialog.h \\r
+    devtools.h \\r
+    infodialog.h \\r
+    widgets/translucentbutton.h \\r
+    settingswindow.h \\r
+    model/settings.h \\r
+    bookmarksdialog.h \\r
+    model/xmlerrorhandler.h \\r
+    model/containerhandler.h \\r
+    model/sortedlibrary.h \\r
+    model/ncxhandler.h \\r
+    bookmarkinfodialog.h \\r
+    widgets/dyalog.h \\r
+    chaptersdialog.h \\r
+    fullscreenwindow.h \\r
+    trace.h \\r
+    widgets/toolbuttonbox.h \\r
+    model/bookfinder.h \\r
+    widgets/listwindow.h \\r
+    widgets/progress.h \\r
+    adopterwindow.h \\r
+    model/xmlhandler.h \\r
+    platform.h \\r
+    model/bookdb.h \\r
+    searchdialog.h \\r
+    search.h \\r
+    widgets/flickable.h \\r
+    searchresultsdialog.h \\r
+    searchresultinfodialog.h \\r
+    widgets/progressdialog.h \\r
+    widgets/splash.h\r
+\r
+RESOURCES += \\r
+    dorian.qrc\r
+\r
+OTHER_FILES += \\r
+    TODO.txt \\r
+    pkg/acknowledgements.txt \\r
+    pkg/maemo/postinst \\r
+    pkg/maemo/dorian.desktop \\r
+    pkg/maemo/control \\r
+    pkg/maemo/changelog \\r
+    pkg/maemo/build.sh \\r
+    styles/night.css \\r
+    pkg/changelog \\r
+    pkg/maemo/build-scratchbox.sh \\r
+    styles/sand.css \\r
+    styles/default.css \\r
+    pkg/version.txt \\r
+    styles/sand.js \\r
+    styles/night.js \\r
+    styles/default.js \\r
+    styles/day.js \\r
+    www/index.html \\r
+    pkg/maemo/autobuild.sh \\r
+    pkg/maemo/autobuild-scratchbox.sh \\r
+    LICENSE.txt \\r
+    pkg/symbian/book.svg \\r
+    pkg/symbian/clean.bat\r
+\r
+DEFINES += \\r
+    USE_FILE32API\r
+\r
+!symbian {\r
+    DEFINES += DORIAN_TEST_MODEL\r
+    include(model/modeltest/modeltest.pri)\r
+}\r
+\r
+unix {\r
+    symbian {\r
+    } else {\r
+        LIBS += -lz\r
+    }\r
+}\r
+\r
+win32 {\r
+    DEFINES += ZLIB_WINAPI\r
+    INCLUDEPATH += $$PWD/model/zlib\r
+    LIBS += pkg/win32/zlibstat.lib\r
+}\r
+\r
+symbian {\r
+    TARGET = Dorian\r
+    TARGET.UID3 = 0xA89FC85B\r
+    TARGET.CAPABILITY = UserEnvironment NetworkServices ReadUserData \\r
+        WriteUserData\r
+    TARGET.EPOCHEAPSIZE = 0x080000 0x4000000\r
+    ICON = $$PWD/pkg/symbian/book.svg\r
+\r
+    # FIXME: Package header for Qt 4.6.2:\r
+    packageheader = \\r
+        "$${LITERAL_HASH}{\"Dorian\"},(0xA89FC85B),0,4,1" \\r
+        "[0x101F7961],0,0,0,{\"S60ProductID\"}" \\r
+        "[0x102032BE],0,0,0,{\"S60ProductID\"}" \\r
+        "[0x102752AE],0,0,0,{\"S60ProductID\"}" \\r
+        "[0x1028315F],0,0,0,{\"S60ProductID\"}"\r
+    default_deployment.pkg_prerules = packageheader\r
+\r
+    # FIXME: Package header for Qt 4.6.3 or later:\r
+    # packageheader = "$${LITERAL_HASH}{\"Dorian\"},(0xA89FC85B),0,4,0"\r
+    # my_deployment.pkg_prerules = packageheader\r
+    # DEPLOYMENT += my_deployment\r
+\r
+    INCLUDEPATH += $(QTDIR)/src/3rdparty/zlib\r
+    HEADERS += \\r
+        widgets/flickcharm.h \\r
+        widgets/mediakeysobserver.h\r
+    SOURCES += \\r
+        widgets/flickcharm.cpp \\r
+        widgets/mediakeysobserver.cpp\r
+    LIBS += -lremconinterfacebase -lremconcoreapi\r
+}\r
+\r
+maemo5 {\r
+    QT += maemo5 dbus\r
+    isEmpty(PREFIX) {\r
+        PREFIX = /usr\r
+    }\r
+    BINDIR = $$PREFIX/bin\r
+    DATADIR =$$PREFIX/share\r
+    DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"\r
+\r
+    # For "make install"\r
+\r
+    INSTALLS += target desktop icon48 iconscalable\r
+\r
+    target.path = $$BINDIR\r
+\r
+    desktop.path = $$DATADIR/applications/hildon\r
+    desktop.files += pkg/maemo/dorian.desktop\r
+\r
+    icon48.path = $$DATADIR/icons/hicolor/48x48/hildon\r
+    icon48.files += pkg/maemo/icon-48/dorian.png\r
+\r
+    iconscalable.path = $$DATADIR/icons/hicolor/scalable/hildon\r
+    iconscalable.files += pkg/maemo/icon-scalable/dorian.png\r
+}\r