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_version_tag'
Forum Updated to NodeBB v4.3 + New Features

undefined reference to `qt_version_tag'

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
14 Posts 3 Posters 2.7k 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.
  • G Offline
    G Offline
    GastonMelo
    wrote on last edited by
    #1

    Hi to all, Im really new to Qt and I download the lastest Open source version (im using linux Tumbleweed ) to develop a simple application with eclipse C++. What I do is to design a Gui in Qt and then convert it to cpp with the UIC file in the bin folder. When I try to compile in eclipse this error message is displayed "undefined reference to `qt_version_tag'".
    What is qt_version_tag?
    Can be solve this problem?
    Is this a Eclipse error?
    Also I was thinking to uninstall this version of Qt and install the previous version. How do I uninstall Qt? I search for MaintenaceTool (as mentioned in other forum) but I cant find it in the installation folder?

    aha_1980A 1 Reply Last reply
    0
    • G GastonMelo

      Hi to all, Im really new to Qt and I download the lastest Open source version (im using linux Tumbleweed ) to develop a simple application with eclipse C++. What I do is to design a Gui in Qt and then convert it to cpp with the UIC file in the bin folder. When I try to compile in eclipse this error message is displayed "undefined reference to `qt_version_tag'".
      What is qt_version_tag?
      Can be solve this problem?
      Is this a Eclipse error?
      Also I was thinking to uninstall this version of Qt and install the previous version. How do I uninstall Qt? I search for MaintenaceTool (as mentioned in other forum) but I cant find it in the installation folder?

      aha_1980A Offline
      aha_1980A Offline
      aha_1980
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi @GastonMelo, welcome!

      Have you already seen https://stackoverflow.com/questions/39871879/why-do-i-get-this-error-undefined-reference-to-qt-version-tag ?

      How do I uninstall Qt? I search for MaintenaceTool (as mentioned in other forum) but I cant find it in the installation folder?

      Can you please tell us, how you installed Qt?

      Qt has to stay free or it will die.

      1 Reply Last reply
      1
      • G Offline
        G Offline
        GastonMelo
        wrote on last edited by
        #3

        thanks for your reply aha_1980
        I download the qt-unified-linux-x64-3.0.6-online.run, give permission and execute by console:
        ./qt-unified-linux-x64-3.0.6-online.run, and followed the Gui.

        Yes I see that post, Thanks for your help. It solve my problem.

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

          Hi and welcome to devnet,

          Do you have the Qt development packages from your distribution installed ?
          Are you sure Eclipse is using the correct version of Qt ?

          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
          • G Offline
            G Offline
            GastonMelo
            wrote on last edited by
            #5

            I solved the qt_version_tag. But how can I uninstall Qt?

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

              The one from the installer ? Use the MaintenanceTool you find at the root of your Qt installation.

              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
              • G Offline
                G Offline
                GastonMelo
                wrote on last edited by
                #7

                I cant find it. I search for MaintenaceTool and cant find it. How do I install Qt? by console:
                ./qt-unified-linux-x64-3.0.6-online.run. Other way?

                aha_1980A 1 Reply Last reply
                0
                • G GastonMelo

                  I cant find it. I search for MaintenaceTool and cant find it. How do I install Qt? by console:
                  ./qt-unified-linux-x64-3.0.6-online.run. Other way?

                  aha_1980A Offline
                  aha_1980A Offline
                  aha_1980
                  Lifetime Qt Champion
                  wrote on last edited by
                  #8

                  @GastonMelo said in undefined reference to `qt_version_tag':

                  ./qt-unified-linux-x64-3.0.6-online.run

                  If you installed with that installer, you should really have a MaintenanceTool. For me it is in /opt/Qt, but that depends on your installation path.

                  The directory looks like that:

                  $ ll /opt/Qt
                  insgesamt 53160
                  drwxrwxrwx 8 root root     4096 Okt 15 14:51 ./
                  drwxr-xr-x 5 root root     4096 Apr 20  2018 ../
                  drwxrwxr-x 3 root root     4096 Okt 15 14:41 5.9.6/
                  -rw-rw-rw- 1 root root    12894 Okt 15 14:41 components.xml
                  drwxrwxr-x 2 root root     4096 Mär  7  2017 dist/
                  drwxrwxr-x 5 root root     4096 Okt 15 14:41 Docs/
                  drwxrwxr-x 5 root root     4096 Okt 15 14:41 Examples/
                  -rw-rw-rw- 1 root root  1779584 Okt 15 14:51 InstallationLog.txt
                  drwxr-xr-x 2 root root     4096 Feb  9  2018 Licenses/
                  -rwxr-xr-x 1 root root 32801464 Okt 15 14:35 MaintenanceTool*
                  -rw-r--r-- 1 root root 19768431 Okt 15 14:51 MaintenanceTool.dat
                  -rw-rw-rw- 1 root root    15760 Okt 15 14:51 MaintenanceTool.ini
                  -rw-rw-rw- 1 root root      362 Okt 15 14:51 network.xml
                  -rw-rw-r-- 1 root root     7991 Okt 25  2016 QtIcon.png
                  drwxrwxr-x 4 root root     4096 Okt 15 14:41 Tools/
                  

                  Regards

                  Qt has to stay free or it will die.

                  1 Reply Last reply
                  0
                  • G Offline
                    G Offline
                    GastonMelo
                    wrote on last edited by
                    #9

                    Nope. My installation folder is /home/user/Qt.

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

                      And what exactly do you have in there ?

                      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
                      • G Offline
                        G Offline
                        GastonMelo
                        wrote on last edited by
                        #11

                        i can tell you that not the MaintenanceTool. I search all folder (the hiddens too) and I cant find that file.

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

                          Hence my question: what do you have in that folder ?

                          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
                          • G Offline
                            G Offline
                            GastonMelo
                            wrote on last edited by
                            #13

                            I have this folders:

                            5.13.0
                            dist
                            Docs
                            Examples
                            Licenses
                            Tools

                            and this files:
                            components.xml
                            update.rcc

                            and the Qt.png icon

                            aha_1980A 1 Reply Last reply
                            0
                            • G GastonMelo

                              I have this folders:

                              5.13.0
                              dist
                              Docs
                              Examples
                              Licenses
                              Tools

                              and this files:
                              components.xml
                              update.rcc

                              and the Qt.png icon

                              aha_1980A Offline
                              aha_1980A Offline
                              aha_1980
                              Lifetime Qt Champion
                              wrote on last edited by
                              #14

                              @GastonMelo strange. so it seems deleting the whole folder is only possible solution.

                              Btw: 5.13 is not official released yet (will be in few weeks), so better use 5.12.x for now.

                              Qt has to stay free or it will die.

                              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