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 442503
To view parent comment, click here.
To read all comments associated with this story, please click here.
Morty
Member since:
2005-07-06

"[q] It's not. The Signals And Slots mechanism requires the MOC.
that is in turn pure c++ now one can debate if auto generated code is a good thing or not, but if you open a moc file you'll find nothing but perfectly valid c++ " You didn't get it. Qt is not pure C++ because it requires an external tool other than the compiler itself. [/q]
Since you are not requred to use MOC to utilize the Qt libraries, it's by your own reasoning pure C++. Since nothing stops you from manually write the pure C++ code that MOC generates, rather than having MOC generate it for you. That it would be a totally stupid and pointless thing to do, is another issue altogheter. Much like arguing against Qt on grounds of it not being "pure" C++.

Reply Parent Score: 2

axilmar Member since:
2006-03-20

Since you are not requred to use MOC to utilize the Qt libraries, it's by your own reasoning pure C++.


How is it pure C++, when it requires me to alter the way I work? with pure C++, you only need a text editor and the compiler.

Reply Parent Score: 2

Morty Member since:
2005-07-06

"Since you are not requred to use MOC to utilize the Qt libraries, it's by your own reasoning pure C++.
How is it pure C++, when it requires me to alter the way I work? with pure C++, you only need a text editor and the compiler. "

As I already have written, you do not have to use MOC. Nothing stops you from manually write the pure C++ code that MOC generates.

Edited 2010-09-24 14:03 UTC

Reply Parent Score: 2

siride Member since:
2006-01-02

Do you really call gcc manually always, or do you use makefiles? If you use makefiles, like any sane person, then your workflow is not altered by using MOC.

Of course, it sounds like you're one of those people who wants to take a dumbass stand on an issue of insignificance as you try to get people to convince you that what already makes sense (MOC) isn't unreasonable.

Reply Parent Score: 2