【发布时间】:2016-06-15 18:21:50
【问题描述】:
我正在学习 Qt5.6。我正在开发 Ubuntu 14.4。
链接程序时出现以下错误:
undefined reference to `qt_version_tag'
在 CMakeLists.txt 中:
link_libraries(
Qt5::Widgets
Qt5::Core
)
这个符号在哪里定义? link_libraries 中缺少什么?
我使用以下内容来构建我的 CMakeLists.txt:
https://gitlab.com/Gluttton/SOS/blob/master/25989448/issue/CMakeLists.txt
【问题讨论】:
标签: qt