Reputation: 485
I am using Qt 5.7 on Ubuntu 16 LTS machine.
I get this error:
(.qtversion[qt_version_tag]+0x0):-1: error: undefined reference to `qt_version_tag'
This error comes only when I use SDL libraries.
Upvotes: 13
Views: 14434
Reputation: 1431
I realize this is an old thread but you may be able to avoid it by defining QT_NO_VERSION_TAGGING; that is, by passing the option:
-DQT_NO_VERSION_TAGGING
to gcc.
Upvotes: 20