This is obviously false.
I think you might have just beat the other poster in this thread for most ridiculous response ever, though it is pretty hard to compete with using ifdef to autogenerate classes. Not only is it completely redundant to say, "If it doesn't exist then make it," it is also quite possibly the very wrong thing to do, especially if the cost to make it is higher than worth. Several other options come to mind: live without it, don't use Qt, etc... All of which are quite redundant and beside the point of the real question though and amount to no more than simple efforts to be obnoxious.And yes, if you want something as specific as you want, and it doesn't exist, the only thing you can do is create it yourself.
BULL. The question is simple: how do you use the preprocessor or templates to generate Qt objects.Your question does not belong in the newbie or even advanced section. You question belongs in a "super geeky nerd" section.
The answer is also quite simple and still I'm the only one in this entire thread that even mentioned it: you can't. The rest of your guys' nonsense is just that.
Which is simply an amazing presentation of mind-reading abilities.What I think you have done is made some poor choices along the line.
The question is, and has always been, quite clear in my first post and I answered it myself (in spite of attempts to send me down blind alleys) quite a long time ago; even to the point of including exactly the problem I'm trying to solve.Can you explain exactly what you want to do in clear and plain text. Don't use the following words: preprocessor, templates, moc
And be verbose.
Bookmarks