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
11 BINDIR = $$PREFIX/bin
12 LIBDIR = $$PREFIX/lib/$${MDICT_APPNAME}
13 DATADIR =$$PREFIX/share
14
15 check.target = check
16 check.CONFIG = recursive
17 check.recurse = trunk
18
19 rename_plugins.command = scripts/rename-plugins $$LIBDIR
20 rename_plugins.path = $$LIBDIR
21
22
23 QMAKE_EXTRA_TARGETS += check
24