Hey all, I am not sure, but I think I found a bug in the Qt modules for QBS: cpp.systemIncludePaths are not added to moc via -I, only cpp.includePaths. Is that intended behavior, or a bug?
If you depend on another Qt project that defines a Q_INTERFACE, the depending projects moc needs that. Without the include path, moc fails with „Undefined Interface“. Usually, a Qt project would export it’s dependencies via cpp.systemIncludePaths though, to not disturb the depending projects with warning about unused variables etc in its header files. I also had the case where moc is not run for projects that depend on a product that exports the dependency on Qt. Every project needs its own dependency on qt so that the moc would be called. Is that also intended? greetings Jan _______________________________________________ QBS mailing list QBS@qt-project.org http://lists.qt-project.org/mailman/listinfo/qbs