Fixed some of memory leaks and sigsev and bugs
[mdictionary] / mdictionary.pro
index 0b0cbc8..912067e 100644 (file)
@@ -4,14 +4,21 @@ isEmpty( ISQT4 ) {
 error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
 }
 
-
+QT += sql
 TEMPLATE = subdirs
 SUBDIRS  = trunk
 
+BINDIR = $$PREFIX/bin
+LIBDIR = $$PREFIX/lib/$${MDICT_APPNAME}
+DATADIR =$$PREFIX/share
+
 check.target = check
 check.CONFIG = recursive
 check.recurse = trunk
 
+rename_plugins.command = scripts/rename-plugins $$LIBDIR
+rename_plugins.path = $$LIBDIR
+
+
+QMAKE_EXTRA_TARGETS += check
 
-rename_plugins.commands = ./rename-plugins "lib/mdictionary"
-QMAKE_EXTRA_TARGETS += check rename_plugins