
Originally Posted by
jpn
No, re-compiling Qt is not necessary. Sorry, I have no idea what's the problem with no text appearing, though. Did you clean and rebuild the whole project?
Yes, I deleted the "release" directory and compiled it from scratch. I don't use a fancy IDE, just Vim 7.0 (gvim) as the editor and compiling at the console. Old school!
Maybe I could redirect the stderror output to a file?
EDIT:
I just realised that I made a mistake. For the QLabel, instead of doing this:
textDisplay
= new QLabel("Enter Text here",
this);
textDisplay = new QLabel("Enter Text here", this);
To copy to clipboard, switch view to plain text mode
I had left out the "this", thus making the QLabel not a child Widget of the application window.
But still, even now that I have changed it, calling raise() seems to do nothing at all. Of course, there is always the possibility that I am making another stupid mistake...
Bookmarks