texworks/texworks-0.4.0-64bit.patch

19 lines
549 B
Diff

diff -up texworks-0.4.0/TeXworks.pro.64bit texworks-0.4.0/TeXworks.pro
--- texworks-0.4.0/TeXworks.pro.64bit 2011-03-30 20:01:49.000000000 +0200
+++ texworks-0.4.0/TeXworks.pro 2011-03-30 20:02:00.000000000 +0200
@@ -107,6 +107,14 @@ linux-g++ {
LIBS += -lz
}
+linux-g++-64 {
+ # Qt/dbus config on Debian is broken, hence the lines below
+ LIBS += -lQtDBus
+ INCLUDEPATH += /usr/include/qt4/QtDBus
+ # needed to link successfully on Fedora, apparently
+ LIBS += -lz
+}
+
openbsd-g++ {
# Same bug exists in OpenBSD/qt4
LIBS += -lQtDBus