Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error compiling Qt 4.8.1 on CentOS4 without XShape
Qt 6.11 is out! See what's new in the release blog

Error compiling Qt 4.8.1 on CentOS4 without XShape

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ? Offline
    ? Offline
    A Former User
    wrote on last edited by
    #1

    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 function bool 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 function Window 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 1

    Any idea or hint on how to resolve this issue?

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved