Add new widget ToolButtonBox. Add setting to prevent display blanking.
[dorian] / dorian.pro
1 QT += webkit xml
2
3 SOURCES += \
4     main.cpp \
5     mainwindow.cpp \
6     bookview.cpp \
7     unzip/unzip.c \
8     unzip/ioapi.c \
9     extractzip.cpp \
10     library.cpp \
11     book.cpp \
12     librarydialog.cpp \
13     devtools.cpp \
14     infodialog.cpp \
15     translucentbutton.cpp \
16     settingswindow.cpp \
17     settings.cpp \
18     bookmarksdialog.cpp \
19     sortedlibrary.cpp \
20     bookmarkinfodialog.cpp \
21     dialog.cpp \
22     chaptersdialog.cpp \
23     fullscreenwindow.cpp \
24     trace.cpp \
25     toolbuttonbox.cpp
26
27 HEADERS += \
28     mainwindow.h \
29     bookview.h \
30     opshandler.h \
31     unzip/unzip.h \
32     unzip/ioapi.h \
33     extractzip.h \
34     library.h \
35     book.h \
36     librarydialog.h \
37     devtools.h \
38     infodialog.h \
39     translucentbutton.h \
40     settingswindow.h \
41     settings.h \
42     bookmarksdialog.h \
43     xmlerrorhandler.h \
44     containerhandler.h \
45     sortedlibrary.h \
46     ncxhandler.h \
47     bookmarkinfodialog.h \
48     dialog.h \
49     chaptersdialog.h \
50     fullscreenwindow.h \
51     trace.h \
52     toolbuttonbox.h
53
54 RESOURCES += \
55     dorian.qrc
56
57 OTHER_FILES += \
58     TODO.txt \
59     pkg/acknowledgements.txt \
60     pkg/maemo/postinst \
61     pkg/maemo/dorian.desktop \
62     pkg/maemo/control \
63     pkg/maemo/changelog \
64     pkg/maemo/build.sh \
65     styles/night.css \
66     pkg/changelog \
67     pkg/maemo/build-scratchbox.sh \
68     styles/sand.css \
69     styles/default.css \
70     pkg/version.txt \
71     styles/sand.js \
72     styles/night.js \
73     styles/default.js \
74     styles/day.js \
75     www/index.html
76
77 DEFINES += \
78     USE_FILE32API \
79     DORIAN_TEST_MODEL
80
81 include(modeltest/modeltest.pri)
82
83 unix {
84     LIBS += -lz
85 }
86 windows {
87     # FIXME: Build zlib, too
88 }
89 maemo5 {
90     QT += maemo5 dbus
91     isEmpty(PREFIX) {
92         PREFIX = /usr
93     }
94     BINDIR = $$PREFIX/bin
95     DATADIR =$$PREFIX/share
96     DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
97
98     # For "make install"
99
100     INSTALLS += target desktop icon48 iconscalable
101
102     target.path = $$BINDIR
103
104     desktop.path = $$DATADIR/applications/hildon
105     desktop.files += pkg/maemo/dorian.desktop
106
107     icon48.path = $$DATADIR/icons/hicolor/48x48/hildon
108     icon48.files += pkg/maemo/icon-48/dorian.png
109
110     iconscalable.path = $$DATADIR/icons/hicolor/scalable/hildon
111     iconscalable.files += pkg/maemo/icon-scalable/dorian.png
112 }