PDA

View Full Version : equivalent



deepa.selvaraj
12th November 2007, 08:42
hi
this is vc++ code
AFX_MANAGE_STATE(AfxGetStaticModuleState())
what is similar in QT4

wysota
12th November 2007, 09:41
Qt doesn't use such things. What do you need it for?

DeepDiver
12th November 2007, 10:27
Hi deppa.selvaraj,

having a look at your thread in this forum - it looks like you are porting an MFC application to Qt4. Right?
It's a good decision to do so! ;-)
But one thing is very important: DON'T PORT THE APP LINE BY LINE!

The concepts are completely different!

And first try to understand how Qt work - otherwise you will fail.
Qt Tutorials (http://doc.trolltech.com/4.3/tutorial.html)
Examples (http://doc.trolltech.com/4.3/examples.html)

Good luck,

Tom

pherthyl
12th November 2007, 18:33
This might help as well:
http://trolltech.com/products/qt/learnmore/migration/mfc