Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void qDebugHandler(QtMsgType type, const char *msg)
- {
- OutputDebugString(L"qDebug");
- }
- int main(int argc, char *argv[]) {
- qInstallMsgHandler(qDebugHandler);
- qDebug("qDebug")
- OutputDebugString(L"test");
- }
- // output:
- // test
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement