Error compiling Qxt with Qt5.1.0 on linux Ubuntu 64 bit

Issue #46 new
Alberto Valero created an issue

When compiling Qxt (commit 3a84efc4860740f5665594ef7d454bd2de8ccd96) with Qt5.1.0 64 bits on Ubuntu 13.04 I got the following error:

In file included from /opt/Qt5.1/5.1.0/gcc_64/include/QtWidgets/qapplication.h:45:0, from /opt/Qt5.1/5.1.0/gcc_64/include/QtWidgets/QApplication:1, from ./qxtapplication.h:34, from x11/qxtapplication_x11.cpp:1: /opt/Qt5.1/5.1.0/gcc_64/include/QtCore/qcoreapplication.h:168:10: note: void QCoreApplication::removeNativeEventFilter(QAbstractNativeEventFilter) /opt/Qt5.1/5.1.0/gcc_64/include/QtCore/qcoreapplication.h:168:10: note: no known conversion for argument 1 from ‘QxtNativeEventFilter const’ to ‘QAbstractNativeEventFilter’ x11/qxtapplication_x11.cpp: At global scope: x11/qxtapplication_x11.cpp:35:31: error: expected constructor, destructor, or type conversion before ‘(’ token x11/qxtapplication_x11.cpp:40:31: error: expected constructor, destructor, or type conversion before ‘(’ token x11/qxtapplication_x11.cpp:48:37: error: ‘bool QxtApplication::x11EventFilter’ is not a static member of ‘class QxtApplication’ x11/qxtapplication_x11.cpp:48:37: error: ‘XEvent’ was not declared in this scope x11/qxtapplication_x11.cpp:49:1: error: expected ‘,’ or ‘;’ before ‘{’ token make[1]: [release/.obj/qxtapplication_x11.o] Error 1 make[1]: Leaving directory `/home/avalero/Downloads/libqxt/src/widgets' make: * [sub-src-widgets-make_first] Error 2