Thanks, solved by changing makefile in that way
LIBS = -L"c:\Qt\QtCreator\qt\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4 [B]-lpsapi[/B]
LIBS = -L"c:\Qt\QtCreator\qt\lib" -lmingw32 -lqtmaind -lQtGuid4 -lQtCored4 [B]-lpsapi[/B]
To copy to clipboard, switch view to plain text mode
now the problem is that i need to convert a TCHAR into QString
TCHAR szProcessName[4096] = {0};
//other code
TCHAR szProcessName[4096] = {0};
//other code
QString aaa = QString::fromUtf16((ushort*)szProcessName);
To copy to clipboard, switch view to plain text mode
but aaa comes out empty!
Bookmarks