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. [SOLVED] Undefined symbol: _ZN9QlistData11detach_growEPii
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Undefined symbol: _ZN9QlistData11detach_growEPii

Scheduled Pinned Locked Moved General and Desktop
5 Posts 4 Posters 18.0k 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.
  • A Offline
    A Offline
    aashish.lg
    wrote on last edited by
    #1

    Hi,

    I have developed a Qt application on Ubuntu machine which has Qt4.7 installed on it and I am using QStringList
    in my code.
    When I move output binaries to Suse11 Linux machine which has Qt 4.6.2 run time environment , I am getting the error as "Undefined symbol: _ZN9QlistData11detach_growEPii".

    Please let me know how we can get rid out of this problem.

    Regards
    Ashish

    1 Reply Last reply
    0
    • JohanSoloJ Offline
      JohanSoloJ Offline
      JohanSolo
      wrote on last edited by
      #2

      You cannot move the binaries! Especially if you know that the Qt version is different. You have to clean the project, (maybe run qmake, it won't harm), and rebuild it.

      `They did not know it was impossible, so they did it.'
      -- Mark Twain

      1 Reply Last reply
      0
      • L Offline
        L Offline
        lgeyer
        wrote on last edited by
        #3

        [quote]Qt is backwards binary and source compatible within each major release. This means that a program linked dynamically to e.g Qt 4.5.1 will continue running with Qt 4.5.3 without the need to recompile. Qt is not binary compatible between major versions such as Qt 2.x, Qt 3.x and Qt 4.x etc. Qt is also not forwards compatible, meaning that applications created with a newer version of Qt will not necessarily run or compile against older Qt versions.[/quote]

        1 Reply Last reply
        0
        • A Offline
          A Offline
          aashish.lg
          wrote on last edited by
          #4

          I have solved the prblem by rebuilding my project on lower version of QtSDK and it executed successfully.

          1 Reply Last reply
          0
          • M Offline
            M Offline
            miroslav
            wrote on last edited by
            #5

            If you gt a message like this, invoke "c++filt" with the undefined symbol. It will tell you the plain C++ name of the symbol. Usually, that is much easier to understand:

            c++filt _ZN9QlistData11detach_growEPii

            Mirko Boehm | mirko@kde.org | KDE e.V.
            FSFE Fellow
            Qt Certified Specialist

            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