On sexta-feira, 30 de agosto de 2013 16:41:12, Mitchell Verter wrote: > moc_MainWindow.cpp:104:50: error: expected unqualified-id before ‘int’ > moc_MainWindow.cpp:104:50: error: expected ‘}’ before ‘int’
> 104: QMetaType::Void, QMetaType::UInt, QMetaType::Bool, 2, 2, Note how there's no "int" on that line. Whenever you get an error that doesn't make sense, it's likely to be a preprocessor problem. My guess: #define Bool int Solution: get a big axe and apply to the C header that does such things If you need booleans in C code, use this: #ifndef __cplusplus # include <stdbool.h> #endif Then use regular bool. -- Thiago Macieira - thiago.macieira (AT) intel.com Software Architect - Intel Open Source Technology Center
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest