Results 1 to 5 of 5

Thread: Qt will not be built with XShape support.

  1. #1
    Join Date
    Mar 2006
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Qt will not be built with XShape support.

    Hi Folks,

    I try tto build
    - qt-x11-opensource-src-4.1.1

    my environment:
    - debian sage v 3.1.1
    - g++ (GCC) 3.3.5 (Debian 1:3.3.5-13)
    - GNU Make 3.80

    configure ends with the following message:
    NOTICE: Qt will not be built with XShape support.

    As a result, drag-and-drop in the Qt Designer will NOT
    work. We recommend that you enable XShape support by passing
    the -xshape switch to ./configure.
    I tryed the option ./configure -qt-zlib but this ends with the same result.


    Anyway, I can live without drag and drop. So I tryed to build with "make".
    Make fails with:
    g++ -c -pipe -O2 -Wall -W -DQT_BOOTSTRAPPED -DQT_RCC -DQT_LITE_UNICODE -DQT_NO_DATASTREAM -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_UNICODETABLES -DQT_NO_LIBRARY -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I../../../mkspecs/linux-g++ -I. -I../../corelib/arch/generic -I../../../include -I. -I../../../include/QtCore -I../../../include/QtXml -I../../3rdparty/zlib -I. -o .obj/release-shared/qlistdata.o ../../corelib/tools/qlistdata.cpp
    g++: Internal error: Segmentation fault (program cc1plus)
    Please submit a full bug report.
    See <URL:http://gcc.gnu.org/bugs.html> for instructions.
    For Debian GNU/Linux specific bug reporting instructions,
    see <URL:file:///usr/share/doc/gcc-3.3/README.Bugs>.

    make[2]: *** [.obj/release-shared/qlistdata.o] Error 1
    make[2]: Leaving directory `/home/mf/qt-x11-opensource-src-4.1.1/src/tools/rcc'
    make[1]: *** [sub-tools-rcc-make_default-ordered] Error 2
    make[1]: Leaving directory `/home/mf/qt-x11-opensource-src-4.1.1/src'
    make: *** [sub-src-make_default-ordered] Error 2
    Any Ideas?
    Does someone have a howto install?
    Cheers
    Manfred

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt will not be built with XShape support.

    Quote Originally Posted by manfredfr
    NOTICE: Qt will not be built with XShape support.
    You might be missing some package with X11 headers. Qt uses this program to check for XShape support:
    Qt Code:
    1. #include <X11/Xlib.h>
    2. #include <X11/Xutil.h>
    3. #include <X11/extensions/shape.h>
    4.  
    5. int main(int, char **)
    6. {
    7. XShapeEvent shapeevent;
    8. shapeevent.type = 0;
    9. return 0;
    10. }
    To copy to clipboard, switch view to plain text mode 
    Go to $QTDIR/config.tests/x11/xshape and try to compile that program. It might be also a problem with compiler.

    Quote Originally Posted by manfredfr
    Make fails
    I use g++ 3.3.6 and Qt compiles fine.

  3. #3
    Join Date
    Mar 2006
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt will not be built with XShape support.

    Hi Jacek,

    You might be missing some package with X11 headers. Qt uses this program to check for XShape support:
    Thx fore your hints I am going to try that.

    Is there a way to figure out which packages qt does expect?

  4. #4
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    5,372
    Thanks
    28
    Thanked 976 Times in 912 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt will not be built with XShape support.

    Quote Originally Posted by manfredfr
    Is there a way to figure out which packages qt does expect?
    First check if you are missing one of those headers. If yes, you will have to find a package that contains them. Debian should have some tool for this, but unfortunately I don't use it, so I can't help you.

  5. #5
    Join Date
    Mar 2006
    Posts
    3
    Qt products
    Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Qt will not be built with XShape support.

    Hi Jacek,

    Quote Originally Posted by jacek
    First check if you are missing one of those headers. If yes, you will have to find a package that contains them. Debian should have some tool for this, but unfortunately I don't use it, so I can't help you.
    xlibs-dev is the missing package.

    >apt-get install xlibs-dev
    solves the problem.

    thx for your help.

Similar Threads

  1. Installation Problem
    By QbelcorT in forum Installation and Deployment
    Replies: 4
    Last Post: 22nd April 2010, 09:04
  2. Qt 4.4.3 commercial on Kubuntu 8.10
    By Micawber in forum Installation and Deployment
    Replies: 5
    Last Post: 17th February 2010, 01:02
  3. Qt-4.4.0 installation error in linux
    By babu198649 in forum Installation and Deployment
    Replies: 4
    Last Post: 27th May 2008, 14:35
  4. Access to PostgreSQL DB on a linux server
    By rmagro in forum Qt Programming
    Replies: 28
    Last Post: 13th March 2008, 09:02
  5. No xshape support note
    By impeteperry in forum Installation and Deployment
    Replies: 16
    Last Post: 18th August 2006, 20:10

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.