did you include QDesktopWidget.h ?
did you include QDesktopWidget.h ?
I'm a rebel in the S.D.G.
codebehind (18th August 2008)
No. thanks. it works.
I don't really understand why?
I'm using QApplication and its function. I thought it was enough to include QApplication?
Read a bit about forward declarations.
http://www.parashift.com/c++-faq-lit...html#faq-39.11
thanks for the link jacek. It makes things a little more clear but still does not explain me why I could compile this code with qt3 and with qt4 i couldn't?
i've looked in qapplication.h and there is no forward declaration.
sorry. i was thinking about qt3 - qapplication.hCheck again. Look near QT_MODULE macro.
Bookmarks