Is there any way to get rid of shadow build in qtCreator forever!!?
It's driving me crazy sometime because of irrelevant errors!
Is there any way to get rid of shadow build in qtCreator forever!!?
It's driving me crazy sometime because of irrelevant errors!
I know this way!!! But whenever i change the compiler or clean generated files the shadow build will return again!!!
It doesn't do anything like that for me. Apparently you're doing something wrong.
Anyway, What is the useful thing about shadow build wysota?
Shadow build generates moc_ and .o files inside another -Debug directory. it never generates files inside your release Qt Project. Maybe you
are giving the wrong directory address in project. The moc tool reads a C++ header file. If it finds one or more class declarations that contain the Q_OBJECT macro, it produces a C++ source file containing the meta-object code for those classes. Among other things, meta-object code is required for the signals and slots mechanism, the run-time type information, and the dynamic property system. The C++ source file generated by moc must be compiled and linked with the implementation of the class.
If you use qmake to create your makefiles, build rules will be included that call the moc when required, so you will not need to use the moc directly.
alizadeh91 (3rd March 2013)
Bookmarks