remove this in MenuWidget (line 32)
[mdictionary] / mdictionary.pro
index 1f61f8a..912067e 100644 (file)
@@ -4,20 +4,21 @@ isEmpty( ISQT4 ) {
 error("Use the qmake include with Qt4.4 or greater, on Debian that is qmake-qt4");
 }
 
-MDICT_BINDIR = $$[MDICT_BINDIR]
-
-isEmpty(MDICT_BINDIR) {
-       message("empty")
-}
-message($$MDICT_BINDIR)
-
+QT += sql
 TEMPLATE = subdirs
 SUBDIRS  = trunk
-#SUBDIRS += trunk/src/plugins/xdxf/src/
+
+BINDIR = $$PREFIX/bin
+LIBDIR = $$PREFIX/lib/$${MDICT_APPNAME}
+DATADIR =$$PREFIX/share
 
 check.target = check
 check.CONFIG = recursive
 check.recurse = trunk
-QMAKE_EXTRA_TARGETS += check
 
+rename_plugins.command = scripts/rename-plugins $$LIBDIR
+rename_plugins.path = $$LIBDIR
+
+
+QMAKE_EXTRA_TARGETS += check