I need explicit instructions on using Code::Blocks with Qt Please. :?
System Configuration:
- Windows XP Pro
- Qt 4.2.2
- MinGW
- Code::Blocks (Mar 7 2007, 16:52:13-wx2.6.3)
Background:
- I’ve been writing C++ code for a while, but new to GUI’s
- Have Qt working from command line (qmake, make, etc)
- Have Qt working with MS-VS.net (qmake –t vcapp, etc)
- C::B new Qt project template works fine, as long as I don’t try to add other source files.
OK, when I try to add additional source files, they compile, but I get “undefined reference to ‘vtable for …’ when linking. This has to do with not generating MOC file, etc. How do I fix this. I need explicit instructions please.
Another thing, is that if I include Qt classes that are not in QtGUI the includes are not found. I can fix this by adding the paths to the cbp file. Is there a better way to take care of this?
Thanks so much for the help
ARQuist