This problem is unrelated to Qt, moving the thread to a more appropriate forum.
This problem is unrelated to Qt, moving the thread to a more appropriate forum.
Sorry, I didn't know it wasn't a Qt issue - I'm new to C++ and Qt. We found an answer:
The issue is that the Google Breakpad library is compiled with "Treat wchar_t as Built-in Type" enabled (/Zc:wchar_t). Qt compiles with that option disabled (/Zc:wchar_t-). This means that at compile time, everything matches up: the std::wstring is defined in terms of unsigned short, which is what Qt expects. But at link time, the Breakpad library has defined wstring in terms of __wchar_t (or wchar_t). The effect is that the linker cannot resolve your call to their function, since the parameter types to not match (at link time.)
The solution is to either:
• disable the "Treat wchar_t as Built-in Type" in the Google Breakpad library (under Configuration Properties > C/C++ > Language.
• enable the option in Qt (remove /Zc:wchar_t-)
For more information:
http://msdn.microsoft.com/en-us/libr...(v=VS.90).aspx
Bookmarks