Error compiling Qt 4.8.1 on CentOS4 without XShape
-
Hi,
I configured Qt 4.8.1 with the -no-xshape flag, since the machine Qt needs to be compiled for does not support XShape. Now, I get the following error:
g++ -c -pipe -pthread -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -O2 -Wall -W -D_REENTRANT -I/usr/include/freetype2 -fPIC -DQT_SHARED -DQT_BUILD_GUI_LIB -DQT_NO_USING_NAMESPACE -DQT_NO_CAST_TO_ASCII -DQT_ASCII_CAST_WARNINGS -DQT_MOC_COMPAT -DQT_USE_QSTRINGBUILDER -DQT_NO_OPENTYPE -DQT_NO_STYLE_MAC -DQT_NO_STYLE_WINDOWSVISTA -DQT_NO_STYLE_WINDOWSXP -DQT_NO_STYLE_WINDOWSCE -DQT_NO_STYLE_WINDOWSMOBILE -DQT_NO_STYLE_S60 -DQ_INTERNAL_QAPP_SRC -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE3 -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../mkspecs/linux-g++ -I. -I../../include/QtCore -I../../include -I../../include/QtGui -I.rcc/release-shared -I../3rdparty/xorg -Iimage -I/usr/include/freetype2 -I../3rdparty/harfbuzz/src -Idialogs -I.moc/release-shared -I/usr/X11R6/include -I.uic/release-shared -o .obj/release-shared/qdnd_x11.o kernel/qdnd_x11.cpp
kernel/qdnd_x11.cpp: In functionbool windowInteractsWithPosition(const QPoint&, Window, int)': kernel/qdnd_x11.cpp:1429: error:
XShapeGetRectangles' was not declared in this scope
kernel/qdnd_x11.cpp:1429: warning: unused variable 'XShapeGetRectangles'
kernel/qdnd_x11.cpp: In functionWindow findRealWindow(const QPoint&, Window, int)': kernel/qdnd_x11.cpp:1468: error:
ShapeInput' was not declared in this scope
kernel/qdnd_x11.cpp:1468: error: `ShapeBounding' was not declared in this scope
kernel/qdnd_x11.cpp:1468: warning: unused variable 'ShapeInput'
kernel/qdnd_x11.cpp:1468: warning: unused variable 'ShapeBounding'
gmake[1]: *** [.obj/release-shared/qdnd_x11.o] Error 1Any idea or hint on how to resolve this issue?