I'm using MS Developer Studio and want to see the debug output (fprintf gets lost within MS Dev Studio).
I want to use OutputDebugString(), but it takes a LPCWSTR.
How do I convert from a QString to a LPCWSTR?
- brc
Printable View
I'm using MS Developer Studio and want to see the debug output (fprintf gets lost within MS Dev Studio).
I want to use OutputDebugString(), but it takes a LPCWSTR.
How do I convert from a QString to a LPCWSTR?
- brc
Then maybe you should try qDebug()?
Try QString::toWCharArray().