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. undefined reference to `qt_resourceFeatureZlib'
Forum Updated to NodeBB v4.3 + New Features

undefined reference to `qt_resourceFeatureZlib'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
6 Posts 5 Posters 3.3k Views 2 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.
  • nshiellN Offline
    nshiellN Offline
    nshiell
    wrote on last edited by
    #1

    Hello, I'm trying to compile a QT app on Ubuntu 19.10 and I see the following error:

    undefined reference to `qt_resourceFeatureZlib'
    

    Is the a package I'm missing or something?

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

      Hi,

      What kind of project ?
      What version of Qt ?
      How did you install it ?

      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
      0
      • L Offline
        L Offline
        luy3728000
        wrote on last edited by
        #3

        yes ,I also have this problem

        i run my app in imx6ull

        it show me
        “
        relocation error: ./App: symbol qt_resourceFeatureZlib version Qt_5 not defined in file libQt5Core.so.5 with link time reference
        ”
        QT version is 5.14

        jsulmJ kshegunovK 2 Replies Last reply
        0
        • L luy3728000

          yes ,I also have this problem

          i run my app in imx6ull

          it show me
          “
          relocation error: ./App: symbol qt_resourceFeatureZlib version Qt_5 not defined in file libQt5Core.so.5 with link time reference
          ”
          QT version is 5.14

          jsulmJ Offline
          jsulmJ Offline
          jsulm
          Lifetime Qt Champion
          wrote on last edited by
          #4

          @luy3728000 You probably have more than one set of Qt libraries on your device. Is there preinstalled Qt on the device coming with the Linux distribution?

          https://forum.qt.io/topic/113070/qt-code-of-conduct

          L 1 Reply Last reply
          2
          • L luy3728000

            yes ,I also have this problem

            i run my app in imx6ull

            it show me
            “
            relocation error: ./App: symbol qt_resourceFeatureZlib version Qt_5 not defined in file libQt5Core.so.5 with link time reference
            ”
            QT version is 5.14

            kshegunovK Offline
            kshegunovK Offline
            kshegunov
            Moderators
            wrote on last edited by
            #5

            Also check the architecture matches between libraries and the application.

            Read and abide by the Qt Code of Conduct

            1 Reply Last reply
            3
            • jsulmJ jsulm

              @luy3728000 You probably have more than one set of Qt libraries on your device. Is there preinstalled Qt on the device coming with the Linux distribution?

              L Offline
              L Offline
              luy3728000
              wrote on last edited by
              #6

              @jsulm thanks very much!!
              Qt libraries is 5.11,App is 5.14 。I copy libraries to imx6 ,It works!
              thanks again!

              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