codebackup / touchegg

Automatically exported from code.google.com/p/touchegg
0 stars 0 forks source link

QtGui/QX11Info: No such file or directory #209

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
OS : Ubuntu 12.10
running GNOME 3.6.3.1

With Qt5, the installation gives the following error :
g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -fPIE -DQT_NO_DEBUG -DQT_XML_LIB 
-DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt5/mkspecs/linux-g++-64 -I. 
-I/usr/include/qt5 -I/usr/include/qt5/QtXml -I/usr/include/qt5/QtGui 
-I/usr/include/qt5/QtCore -I. -o Config.o src/touchegg/config/Config.cpp
In file included from src/touchegg/config/Config.h:24:0,
                 from src/touchegg/config/Config.cpp:21:
./src/touchegg/util/Include.h:26:30: fatal error: QtGui/QX11Info: No such file 
or directory
compilation terminated.
make: *** [Config.o] Error 1

How to solve this problem? Is there any extra package to be installed?

Original issue reported on code.google.com by vibhavsi...@gmail.com on 23 Jun 2013 at 4:38

GoogleCodeExporter commented 9 years ago
Looks like  QX11Info has been removed from Qt 5:
http://qt-project.org/forums/viewthread/20363

Try to compile with Qt 4.8.4

Original comment by jose.exposito89@gmail.com on 24 Jun 2013 at 9:38

GoogleCodeExporter commented 9 years ago
I did a `sed s/qt5/qt4/ Makefile -i` to change all qt5 to qt4, there must be a 
better way to do that with qmake itself, and it worked.
Thanks.

Original comment by vibhavsi...@gmail.com on 25 Jun 2013 at 2:05