Linkage error while linking libQtGui.so



  • Hi Everyone!

    There is the following problem: I use Qt4 and when I build my project using cmake, I get the following link error:

    @/usr/bin/ld: /usr/lib/gcc/i686-linux-gnu/4.8/../../../i386-linux-gnu/libQtGui.so: undefined reference to symbol 'XShmPutImage'
    /usr/lib/i386-linux-gnu/libXext.so.6: error adding symbols: DSO missing from command line
    collect2: error: ld returned 1 exit status@

    Adding Xext library to the target_link_libraries command doesn't solve this problem. I am using Ubuntu 13.10. This issue is reproducable with qt4.7.2 and with Kubuntu13.10


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.