how to integrate libmediasoupclient to qt

I am trying to build mediasoup-broadcaster-demo.
All install process is correct.
then it showed me many link errors.
ex: webrtc.lib(audio_options.obj) : error LNK2038: mismatch detected for ‘_ITERATOR_DEBUG_LEVEL’: value ‘0’ doesn’t match value ‘2’ in MediaStreamTrackFactory.obj

is it possible to use mediasoup-broadcaster-demo in Qt application?
How to fix link errors?
Please touch me if you have experience.

Hi @zhao,

No QT experience here. Any findings you may encounter feel free to document them so we can point it for future QT developers.

It’s been a while since I’ve been in that game, but I think this is a bit more of a VisualStudio/C++ question. Whatever their current version of “make clean, rebuild for real” could help you out, if I recall correctly that error could show up if object files who were compiled under different debug flags were linked together.

A Qt demo would be cool to see.

MT mode bulid