That .moc file, among other things, contains the code that implements the signals and slots mechanism for your class. If you won't link your application with it, signals and slots won't work for your class. To avoid such problems in future, you should use qmake, CMake or any other build system, that understands Qt needs.





Reply With Quote
Bookmarks