Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt sdk build fails only with static option

Qt sdk build fails only with static option

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 778 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.
  • B Offline
    B Offline
    brainchild
    wrote on last edited by
    #1

    Hi,

    As Qt 5.0 binaries are not yet available for Ubuntu x86 64-bit, I am building my own. I recently built the SDK in shared mode without incident. However, when the I attempt to build in static mode (in order to build a statically-linked application), I get the below error. Does anyone know how to resolve it?

    /home/epl/dst/qt-everywhere-opensource-src-5.0.0-static/qtbase/lib/libQt5Gui.a(qopenglframebufferobject.o): In function qt_gl_read_framebuffer(QSize const&, bool, bool)': qopenglframebufferobject.cpp:(.text+0x1ab0): multiple definition of qt_gl_read_framebuffer(QSize const&, bool, bool)'
    /home/epl/dst/qt-everywhere-opensource-src-5.0.0-static/qtbase/lib/libQt5OpenGL.a(qgl.o):qgl.cpp:(.text+0x28d0): first defined here
    collect2: ld returned 1 exit status

    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