Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. gentoo & QtCreator: suddenly qt_version_tag error!
Qt 6.11 is out! See what's new in the release blog

gentoo & QtCreator: suddenly qt_version_tag error!

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 3 Posters 2.9k 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.
  • A Offline
    A Offline
    AlterX
    wrote on last edited by AlterX
    #1

    Hello there,
    I don't know why, all my Qml projects are giving me the error:

    .obj/main.o:(.qtversion[qt_version_tag]+0x0): undefined reference to `qt_version_tag'
    

    I don't really understand what the problem could be, since gcc is working well (I can build library using QtCreator) and there shouldn't be any relation between the Qt used in plasma and the Qt framework bundled with Qt package (v. 5.7.0)

    Someone has or had the same problem? How to fix it?

    Qt Ambassador
    Real-time cooperative teams: http://www.softairrealfight.net
    Free Real-time network platform sdk: https://github.com/AlterX76/Solomon

    https://codereview.qt-project.org/...

    user2892909U 1 Reply Last reply
    0
    • A AlterX

      Hello there,
      I don't know why, all my Qml projects are giving me the error:

      .obj/main.o:(.qtversion[qt_version_tag]+0x0): undefined reference to `qt_version_tag'
      

      I don't really understand what the problem could be, since gcc is working well (I can build library using QtCreator) and there shouldn't be any relation between the Qt used in plasma and the Qt framework bundled with Qt package (v. 5.7.0)

      Someone has or had the same problem? How to fix it?

      user2892909U Offline
      user2892909U Offline
      user2892909
      wrote on last edited by
      #2

      @AlterX
      I have a similar problem. I am using Qt5.6.1 on Ubuntu 14.04. My 2 other programs compile and run as intended. But one of my programs which uses caffe, Peak-can libraries and MQTT throws this error - undefined reference to qt_version_tag. file not found. Please help.

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

        Hi and welcome to devnet,

        QTBUG-54377 might be of interest.

        Hope it helps

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

        A 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi and welcome to devnet,

          QTBUG-54377 might be of interest.

          Hope it helps

          A Offline
          A Offline
          AlterX
          wrote on last edited by
          #4

          @SGaist

          i have filed that bug :)

          Qt Ambassador
          Real-time cooperative teams: http://www.softairrealfight.net
          Free Real-time network platform sdk: https://github.com/AlterX76/Solomon

          https://codereview.qt-project.org/...

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

            I guessed so seeing your avatar :)

            It was to inform @user2892909 that there was something he could check on for his problem

            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

            • Login

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