Hi Thiago, 2012/1/3 Thiago Macieira <[email protected]>: > On Friday, 30 de December de 2011 14.55.55, Denis Dzyubenko wrote: >> In qt5 modules we have exactly the same problem as in namespaced-Qt >> itself. Hence my suggestion to solve it in the same way - I would like >> to be able to re-use that QT_BEGIN_MOC_NAMESPACE for qt5 modules, to >> be able to redefine it to use both Qt namespace and my modules' >> namespace. > > I suggest you use your namespace at the end of your .cpp file and #include the > moc output. This improves the compilation time, makes better code and reduces > the need for weird changes in moc.
That's the thing - it doesn't work in some cases - if you do in-source-tree build of the attached project. Well now thinking about it, it is probably a bug in qmake. Denis.
0001-Initial-commit.patch
Description: Binary data
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
