Deleting notifies after user close it
[mdictionary] / trunk / src / plugins / google / src / src.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-08-03T09:33:52
4 #
5 #-------------------------------------------------
6
7 QT       += core xml gui network
8 maemo5:QT += maemo5
9
10 TARGET = GooglePlugin
11 TEMPLATE = lib
12
13 MDICT_PLUGINSDIR = $$[MDICT_PLUGINSDIR]
14
15 isEmpty(MDICT_PLUGINSDIR) {
16   MDICT_PLUGINSDIR = .
17 }
18
19 MDICT_APPNAME = $$[MDICT_APPNAME]
20
21 isEmpty(MDICT_APPNAME) {
22   MDICT_APPNAME = mdictionary
23 }
24
25
26 DESTDIR = $${MDICT_PLUGINSDIR}/$${MDICT_APPNAME}
27
28
29
30 SOURCES +=  \
31     GooglePlugin.cpp \
32     TranslationGoogle.cpp \
33     GoogleDictDialog.cpp \
34     GoogleSettingsDialog.cpp
35
36 HEADERS += \
37     GooglePlugin.h \
38     ../../../includes/DictDialog.h \
39     ../../../includes/translation.h \
40     ../../../includes/settings.h \
41     ../../../includes/CommonDictInterface.h \
42     TranslationGoogle.h \
43     GoogleDictDialog.h \
44     GoogleSettingsDialog.h
45
46
47
48     
49 unix {
50   #VARIABLES
51   isEmpty(PREFIX) {
52     PREFIX = /usr
53   }
54   
55   BINDIR = $$PREFIX/bin
56   LIBDIR = $$PREFIX/lib/$${MDICT_APPNAME}
57   DATADIR =$$PREFIX/share
58
59   DEFINES += DATADIR=\\\"$$DATADIR\\\" PKGDATADIR=\\\"$$PKGDATADIR\\\"
60
61   #MAKE INSTALL
62
63   INSTALLS += target dicts
64
65   target.path = $$LIBDIR
66
67   dicts.path = $$LIBDIR
68
69 }
70
71 RESOURCES += \
72     icons.qrc