Linked by Thom Holwerda on Tue 21st Sep 2010 21:32 UTC, submitted by diegocg
Qt After many months of designing, coding, reviewing, testing and documenting, Qt 4.7.0 is finally ready for the big time. Although it's a little more than nine months since Qt's last feature release (4.6.0 on December 1, 2009), the seeds of some of the new stuff in 4.7 were sown much earlier. Indeed, many of the ideas behind the biggest new feature in Qt 4.7.0, Qt Quick, were born more than two years ago, not long after Qt 4.4 was released
Thread beginning with comment 442538
To view parent comment, click here.
To read all comments associated with this story, please click here.
axilmar
Member since:
2006-03-20

Yes you can. Go look at what MOC generates. It just generates some tables and a few boilerplate methods. It's all there, in C++. There's no special tricks that only MOC can do. You can write it manually if you want. It's just tedious and pointless because MOC does it automatically and with more readable C++. Same reason why people use macros and templates instead of tediously writing out the same code over and over again. Or why people use C and C++ instead of assembly. And so on.


Ok, rephrase: can you define new signals and slots with reasonable effort using only the c++ compiler and linker?

Reply Parent Score: 2

siride Member since:
2006-01-02

Does it matter? For God's sake, just use MOC. Either that, or use a language that can actually do reflection so we don't need tools like MOC.

Reply Parent Score: 2

axilmar Member since:
2006-03-20

Does it matter? For God's sake, just use MOC. Either that, or use a language that can actually do reflection so we don't need tools like MOC.


Yes, it matters a lot. For example, we have to maintain 5 year old apps, written in Qt 3.0. Moving the apps to Visual Studio 2008 is not possible because there is no support for the Qt 3.0 MOC for VS9. We don't want to spend time manually configuring each file in the project for using the MOC, nor we have time to even look this up, at the moment.

Edited 2010-09-24 15:47 UTC

Reply Parent Score: 2