Fix forward navigation control on Linux.
[dorian] / dorian.pro
index 40de241..87b7367 100644 (file)
@@ -1,4 +1,4 @@
-QT += webkit xml
+QT += webkit xml sql network
 
 INCLUDEPATH += $$PWD \
     $$PWD/model \
@@ -24,13 +24,23 @@ SOURCES += \
     bookmarkinfodialog.cpp \
     widgets/dyalog.cpp \
     chaptersdialog.cpp \
-    widgets/fullscreenwindow.cpp \
+    fullscreenwindow.cpp \
     trace.cpp \
     widgets/toolbuttonbox.cpp \
     model/bookfinder.cpp \
     widgets/listwindow.cpp \
     widgets/progress.cpp \
-    widgets/adopterwindow.cpp
+    adopterwindow.cpp \
+    platform.cpp \
+    model/bookdb.cpp \
+    searchdialog.cpp \
+    search.cpp \
+    widgets/flickable.cpp \
+    searchresultsdialog.cpp \
+    searchresultinfodialog.cpp \
+    widgets/progressdialog.cpp \
+    widgets/splash.cpp \
+    widgets/mainbase.cpp
 
 HEADERS += \
     mainwindow.h \
@@ -55,14 +65,24 @@ HEADERS += \
     bookmarkinfodialog.h \
     widgets/dyalog.h \
     chaptersdialog.h \
-    widgets/fullscreenwindow.h \
+    fullscreenwindow.h \
     trace.h \
     widgets/toolbuttonbox.h \
     model/bookfinder.h \
     widgets/listwindow.h \
     widgets/progress.h \
-    widgets/adopterwindow.h \
-    widgets/listview.h
+    adopterwindow.h \
+    model/xmlhandler.h \
+    platform.h \
+    model/bookdb.h \
+    searchdialog.h \
+    search.h \
+    widgets/flickable.h \
+    searchresultsdialog.h \
+    searchresultinfodialog.h \
+    widgets/progressdialog.h \
+    widgets/splash.h \
+    widgets/mainbase.h
 
 RESOURCES += \
     dorian.qrc
@@ -88,13 +108,25 @@ OTHER_FILES += \
     www/index.html \
     pkg/maemo/autobuild.sh \
     pkg/maemo/autobuild-scratchbox.sh \
-    LICENSE.txt
+    LICENSE.txt \
+    pkg/symbian/book.svg \
+    pkg/symbian/clean.bat \
+    pkg/maemo/icon-48/dorian.png \
+    pkg/maemo/icon-scalable/dorian.png \
+    qtc_packaging/debian_fremantle/rules \
+    qtc_packaging/debian_fremantle/README \
+    qtc_packaging/debian_fremantle/copyright \
+    qtc_packaging/debian_fremantle/control \
+    qtc_packaging/debian_fremantle/compat \
+    qtc_packaging/debian_fremantle/changelog
 
 DEFINES += \
-    USE_FILE32API \
-    DORIAN_TEST_MODEL
+    USE_FILE32API
 
-include(model/modeltest/modeltest.pri)
+!symbian {
+    DEFINES += DORIAN_TEST_MODEL
+    include(model/modeltest/modeltest.pri)
+}
 
 unix {
     symbian {
@@ -102,18 +134,29 @@ unix {
         LIBS += -lz
     }
 }
+
 win32 {
     DEFINES += ZLIB_WINAPI
     INCLUDEPATH += $$PWD/model/zlib
     LIBS += pkg/win32/zlibstat.lib
 }
+
 symbian {
-    # ICON = ...
-    TARGET.UID3 = 0xEA633557
-    # TARGET.CAPABILITY = ...
-    # FIXME: Add OpenC ZLIB?
-    INCLUDEPATH += C:\NokiaQtSDK\Symbian\SDK\src\3rdparty\zlib
+    TARGET = Dorian
+    TARGET.UID3 = 0xA89FC85B
+    TARGET.CAPABILITY = UserEnvironment NetworkServices ReadUserData \
+        WriteUserData
+    ICON = $$PWD/pkg/symbian/book.svg
+
+    HEADERS += \
+        widgets/flickcharm.h \
+        widgets/mediakeysobserver.h
+    SOURCES += \
+        widgets/flickcharm.cpp \
+        widgets/mediakeysobserver.cpp
+    LIBS += -lremconinterfacebase -lremconcoreapi -lcone -leikcore -lavkon
 }
+
 maemo5 {
     QT += maemo5 dbus
     isEmpty(PREFIX) {
@@ -138,6 +181,6 @@ maemo5 {
     iconscalable.path = $$DATADIR/icons/hicolor/scalable/hildon
     iconscalable.files += pkg/maemo/icon-scalable/dorian.png
 }
-macx {
-    CONFIG += x86
-}
+
+include(deployment.pri)
+qtcAddDeployment()