Hi
I have to write few macros which I have, but are very simple, eg.
Qt Code:
void Macros::Example( cond ) { if ( cond ) QFAIL("some message"); }To copy to clipboard, switch view to plain text mode
This works fine but it does not show me a message line and file where it failed. It shows me a file and the line of QFAIL("some message");.
I would like to write a macro like QVERIFY to show me where it failed. I tried digging in libraries, all functions like QTestLog are not available from the include.
Possible?
Bookmarks