In Clean constructor defined?
Also it's a very good practice to write QObject derived classes in it's own header and cpp, else you need to include the .moc generated file for your QObjec derived class.
In Clean constructor defined?
Also it's a very good practice to write QObject derived classes in it's own header and cpp, else you need to include the .moc generated file for your QObjec derived class.
GeorgeDao123 (8th February 2013)
Thanks for your help. It's highly appreciated.
Sorry but my English is poor, and I'm so new to Qt. In my country there's no centre teaching Qt, so I have to learn it myself. You can call me "a noob". This is also my first Qt project ever made.
I believe Clean constructor is defined. I did everything similar to this sample project from Nokia Dev page:
But it doesn't work.
By the way, the problem is at .CPP file, line 30.
Could you please help me more? Thank you so much for that.
My best regards,
George Dao.
Last edited by GeorgeDao123; 8th February 2013 at 12:55.
If you didn't define it in a separate file that you didn't post here then I believe the constructor is not defined, only declared. And based on the project file that you posted I believe main.cpp is your only C++ file (apart qmlapplicationviewer) thus I believe there are no other files in your project where you might have defined the constructor. This is basic C++ stuff, nothing Qt related.
Bookmarks