Added custom menu widget
[mdictionary] / trunk / src / base / base.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-08-03T08:54:27
4 #
5 #-------------------------------------------------
6
7 QT       += core gui 
8
9 TARGET = mdictionary
10 TEMPLATE = app
11
12
13 SOURCES += gui/main.cpp\
14         gui/MainWindow.cpp \
15     gui/SearchBarWidget.cpp \
16     gui/WordListWidget.cpp \
17     gui/TranslationWidget.cpp \
18     backbone/backbone.cpp \
19     gui/MenuWidget.cpp \
20     gui/MenuTabWidget.cpp
21
22 HEADERS  += gui/MainWindow.h \
23     gui/SearchBarWidget.h \
24     gui/WordListWidget.h \
25     gui/TranslationWidget.h \
26     backbone/backbone.h \
27     ../includes/translation.h \
28     ../includes/settings.h \
29     ../includes/CommonDictInterface.h \
30     gui/MenuWidget.h \
31     gui/MenuTabWidget.h
32
33 FORMS    += gui/MainWindow.ui
34
35 unix {
36   #VARIABLES
37   isEmpty(PREFIX) {
38     PREFIX = /usr
39   }
40   BINDIR = $$PREFIX/bin
41   DATADIR =$$PREFIX/share
42
43   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
44
45   #MAKE INSTALL
46
47   INSTALLS += target desktop icon26 icon48 icon64
48
49   target.path =$$BINDIR
50
51   desktop.path = $$DATADIR/applications/hildon
52   desktop.files += ../../../data/$${TARGET}.desktop
53
54   icon26.path = $$DATADIR/icons/hicolor/26x26/apps
55   icon26.files += ../../../data/26x26/$${TARGET}.png
56
57   icon48.path = $$DATADIR/icons/hicolor/48x48/apps
58   icon48.files += ../../../data/48x48/$${TARGET}.png
59
60   icon64.path = $$DATADIR/icons/hicolor/64x64/apps
61   icon64.files += ../../../data/64x64/$${TARGET}.png
62 }