of course it will not work. I don't see where you start event loop.
try this.
Qt Code:
... int main(int argc, char **argv) { MyObject mo; return app.exec(); }To copy to clipboard, switch view to plain text mode
of course it will not work. I don't see where you start event loop.
try this.
Qt Code:
... int main(int argc, char **argv) { MyObject mo; return app.exec(); }To copy to clipboard, switch view to plain text mode
Qt Assistant -- rocks!
please, use tags [CODE] & [/CODE].
Noooooooooooooooooooooooo
Sorry for such a stupid question![]()
And if you derive your class A from some other class B, you should call B's constructor in A():
Qt Code:
MyObject::MyObject() { .... }To copy to clipboard, switch view to plain text mode
Last edited by wysota; 12th April 2009 at 00:33. Reason: missing [code] tags
Bookmarks