(Resolved)How can I use QtXml in my plugin?
Posted: Tue Jul 02, 2019 3:46 pm
Hello,
In my plugin CC, I want to use QtXml to load/save xml file to get/save parameters. But I got errors.
What should I do in my plugin source? Modify CMakeLists file of the plugin?
The compilation error as this:
error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QDomElement __cdecl QDomDocument::createElement(class QString const &)" (__imp_?createElement@QDomDocument@@QEAA?AVQDomElement@@AEBVQString@@@Z) referenced in function "public: void __cdecl qFilteringChainDlg::onFileSave(void)" (?onFileSave@qFilteringChainDlg@@QEAAXXZ) C:\Export\Users\CloudCompare\CloudCompare-2.10.2\build\plugins\3rdParty\qFilteringChain\qFilteringChainDlg.obj QFILTERING_CHAIN_PLUGIN
Thanks
In my plugin CC, I want to use QtXml to load/save xml file to get/save parameters. But I got errors.
What should I do in my plugin source? Modify CMakeLists file of the plugin?
The compilation error as this:
error LNK2019: unresolved external symbol "__declspec(dllimport) public: class QDomElement __cdecl QDomDocument::createElement(class QString const &)" (__imp_?createElement@QDomDocument@@QEAA?AVQDomElement@@AEBVQString@@@Z) referenced in function "public: void __cdecl qFilteringChainDlg::onFileSave(void)" (?onFileSave@qFilteringChainDlg@@QEAAXXZ) C:\Export\Users\CloudCompare\CloudCompare-2.10.2\build\plugins\3rdParty\qFilteringChain\qFilteringChainDlg.obj QFILTERING_CHAIN_PLUGIN
Thanks