Fixed translation widget refreshing
[mdictionary] / trunk / src / plugins / xdxf / src / src.pro
1 #-------------------------------------------------
2 #
3 # Project created by QtCreator 2010-08-03T09:33:52
4 #
5 #-------------------------------------------------
6
7 QT       += core xml gui
8
9
10 TARGET = XdxfPlugin
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     xdxfplugin.cpp \
32     TranslationXdxf.cpp \
33     XdxfLoadDialog.cpp \
34     XdxfDictDialog.cpp
35
36
37 HEADERS += \
38     xdxfplugin.h \
39     TranslationXdxf.h \
40     XdxfLoadDialog.h \
41     ../../../includes/DictDialog.h \
42     XdxfDictDialog.h \
43     ../../../includes/translation.h \
44     ../../../includes/settings.h \
45     ../../../includes/CommonDictInterface.h \
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   dicts.files += ../../../../../data/dicts/dict.xdxf
69 }