Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
undefined reference to `qt_version_tag'
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?
Hi @GastonMelo, welcome!
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?
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.
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 ?
I solved the qt_version_tag. But how can I uninstall Qt?
The one from the installer ? Use the MaintenanceTool you find at the root of your Qt installation.
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?
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/
Nope. My installation folder is /home/user/Qt.
And what exactly do you have in there ?
i can tell you that not the MaintenanceTool. I search all folder (the hiddens too) and I cant find that file.
Hence my question: what do you have in that folder ?
I have this folders:
and this files:
and the Qt.png icon
@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.