V
V
Vladislav Molchanov2020-01-08 21:23:21
Qt
Vladislav Molchanov, 2020-01-08 21:23:21

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

1 answer(s)
J
jcmvbkbc, 2020-01-08
@vmolchanov

Tried to include a library to convert xml to json

It's not a library, it's a piece of shit code. And you probably added #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 question

Ask a Question

731 491 924 answers to any question