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. Linkage error while linking libQtGui.so

Linkage error while linking libQtGui.so

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.6k Views
  • 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.
  • O Offline
    O Offline
    Ov3r1oad666
    wrote on last edited by
    #1

    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

    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