Answer the question
In order to leave comments, you need to log in
How to fix a bug in qt?
I tried to include a library for converting xml to json in my qt project (in the Cheedoong/xml2json github). Got error error: 4 duplicate symbols for architecture x86_64. There is no error in xcode. Tell me how to fix it for qt
Answer the question
In order to leave comments, you need to log in
Tried to include a library to convert xml to json
#include <xml2json.hpp>
to filefactory.cpp and xmlfile.cpp? Well, it's not meant to be used. Include it in one cpp, and copy function prototypes into a separate header and include it in all other cpps where these functions are needed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question