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. Difference between libQt5Gui.so.5 + Linux
Forum Updated to NodeBB v4.3 + New Features

Difference between libQt5Gui.so.5 + Linux

Scheduled Pinned Locked Moved Solved General and Desktop
2 Posts 2 Posters 537 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.
  • S Offline
    S Offline
    stretchthebits
    wrote on last edited by stretchthebits
    #1

    Hello,
    I am on Linux, more specifically Kubuntu.
    The OS comes with Qt .SO files preinstalled.
    For example, libQt5Gui.so.5.

    I installed Qt Creator with
    sudo ./qt-unified-linux-x64-3.1.1-online.run

    and I chose Qt 5.9.9 and Qt 5.12.2.
    nm shows something interesting.

    nm --with-symbol-versions -D /opt/Qt/5.9.9/gcc_64/lib/libQt5Gui.so.5 | grep __cxa_throw_bad_array_new_length
    Gives:
    00000000004aa800 T __cxa_throw_bad_array_new_length@@Qt_5@@Qt_5
    
    nm --with-symbol-versions -D /opt/Qt/5.12.2/gcc_64/lib/libQt5Gui.so.5 | grep __cxa_throw_bad_array_new_length
    Gives:
    000000000050f0d0 T __cxa_throw_bad_array_new_length@@Qt_5@@Qt_5
    
    nm --with-symbol-versions -D /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5 | grep __cxa_throw_bad_array_new_length
    Gives:
    nothing
    

    Why is __cxa_throw_bad_array_new_length exported by the libQt5Gui.so.5 that comes with Qt Creator but the libQt5Gui.so.5 that comes with Kubuntu does not have it?
    The same applies to OpenSuse.

    A guy at linuxquestions said,
    if it does export it, find out if it accidental or intentional.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The most likely is that your distribution does not use the same flags to build Qt than the one from the pre-built packages.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      1

      • Login

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