Hello,
the last days I played around with my linker settings and my Qt designer crashes when I compile Qt with "/MT" (Multithreaded Static Runtime). Since QTextCodec::makeDecoder() new's a QTextDecoder which gets deleted in QXmlInputSource::~QXmlInputSource(). This is not allowed when not using "/MD" (which is Qt's default). When using "/MD" the new and delete operators are together in the msvcrt71.dll, which allows the delete of objects which have been new'ed in other dlls.
So am I only allowed to link with "/MT" when I'm building static, otherwise only "/MD"?
Am I too stupid to find this in the docs? :P
Thanks,
gri
Bookmarks