Why am I getting this error: undefined reference to `qt_version_tag '"?

I am using Qt 5.7 on an Ubuntu 16 LTS machine.

I get this error:

(. qtversion [qt_version_tag] + 0x0): - 1: error: undefined reference to `qt_version_tag '

This error only occurs when I use the SDL libraries.

+4
source share
1 answer

I understand that this is an old thread, but you can avoid it by specifying QT_NO_VERSION_TAGGING; that is, passing the option:

-DQT_NO_VERSION_TAGGING

in gcc.

+3
source

Source: https://habr.com/ru/post/1656794/


All Articles