faq
flatforty
contribute
subscribe
configure
search
rdf
main
parent
thread
|
Re: QT not quite C++
by Lubos Lunak on Thursday 15/Apr/2004, @05:18
|
| Qt is standard C++, otherwise it wouldn't compile with g++ obviously. And moc, BTW, is actually not a preprocessor, the only preprocessor used is the standard C++ preprocessor (well, at least if I understand the difference between a preprocessor and a code generator or whatever the proper name for this functionality is). In other words, Qt C++ code is compiled as is just like any other C++ code, and hence it's standard C++ as well. The difference between Qt and gtkmm is basically the fact that they're different. |
|
|
The Fine Print: The following comments
are owned by whomever posted them.
( Reply )
|
Re: QT not quite C++
by Richard Dale on Thursday 15/Apr/2004, @08:13
|
Yes, complaining about moc code generation is like complaining that it's wrong to generate code from a Qt Designer .ui file, because you should only have 'pure C++' in your project. After all C++ wouldn't be any fun if it wasn't 'difficult' - you need to show off to lesser programmers that you'd actually mastered it. And of course those 'hand crafted' widgets are so much better than any autogenerated nonsense from a .ui file.
But I'm personally not a fan of C++, although I can code in it, because I just find it too much of a headache. If I was a PHP/C programmer I think I'd try out PyQt or PyGtk perhaps, not C++. There is absolutely no such thing as 'C++ for Dummies', whichever toolkit you use it is very, very hard.
|
[
Reply To This | View ]
|
The Fine Print: The previous
comments are owned by whomever posted them.
( Reply )
|
|