Merge branch 'master' of ssh://drop.maemo.org/git/mdictionary
[mdictionary] / mdictionary.pro
1 QMAKEVERSION = $$[QMAKE_VERSION]
2 ISQT4 = $$find(QMAKEVERSION, ^[2-9])
3 isEmpty( ISQT4 ) {
4 error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
5 }
6
7 QT += sql
8 TEMPLATE = subdirs
9 SUBDIRS  = trunk
10 TRANSLATIONS += dict_pl.ts
11
12 BINDIR = $$PREFIX/bin
13 LIBDIR = $$PREFIX/lib/$${MDICT_APPNAME}
14 DATADIR =$$PREFIX/share
15
16 check.target = check
17 check.CONFIG = recursive
18 check.recurse = trunk
19
20 rename_plugins.command = scripts/rename-plugins $$LIBDIR
21 rename_plugins.path = $$LIBDIR
22
23
24 QMAKE_EXTRA_TARGETS += check
25