I've done a new step - move to QT4
i try to port some old test apps and the next line of code:
returns error while compiling
i haven't noticed any diff between Qt3 and Qt4 docs.
Printable View
I've done a new step - move to QT4
i try to port some old test apps and the next line of code:
returns error while compiling
i haven't noticed any diff between Qt3 and Qt4 docs.
did you include QDesktopWidget.h ?
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.hQuote:
Check again. Look near QT_MODULE macro.