VLC-Qt Problem!
Unsolved
General and Desktop
-
Hello, I'm new in this forum nice to meet u.
I am studying VLC-Qt. After I builded VLC Lib,I try to run simple-player. The problem below appears when i build it. It seems that a conflict occurred between Qt5Core and VCLQtCore,But I don't know how to solve it.
Thank!Qt5Core.lib(Qt5Core.dll):-1: error: LNK2005: "public: __cdecl QString::~QString(void)" (??1QString@@QEAA@XZ) 已经在 VLCQtCore.lib(Video.obj) 中定义 Qt5Core.lib(Qt5Core.dll):-1: error: LNK2005: "public: void __cdecl QListData::dispose(void)" (?dispose@QListData@@QEAAXXZ) 已经在 VLCQtCore.lib(Video.obj) 中定义 Qt5Core.lib(Qt5Core.dll):-1: error: LNK2005: "public: void * * __cdecl QListData::begin(void)const " (?begin@QListData@@QEBAPEAPEAXXZ) 已经在 VLCQtCore.lib(Video.obj) 中定义 main.obj:-1: error: LNK2019: 无法解析的外部符号 "__declspec(dllimport) bool __cdecl VlcCommon::setPluginPath(class QString const &)" (__imp_?setPluginPath@VlcCommon@@YA_NAEBVQString@@@Z),函数 main 中引用了该符号
-
Hi and welcome to devnet,
Can you provide the English version of the messages you are getting ?
Which compiler are you using ?
Which version of Qt ?