Den 08-09-2016 kl. 14:19 skrev Konstantin Tokarev:
> The only problem is that you have to run moc on each of the .h files.
Run moc from inside script when you generate header.
Yes, I thought about that at the time as well. While simple enpough,
there are some complications. You would have to run moc exactly like if
it was done by the qmake built makefiles, with exactly the same
environment and arguments. Not impossible, but it does sound brittle.
For example different qmake versions might do things differently.
Bo Thorsen,
Director, Viking Software.
--
Viking Software
Qt and C++ developers for hire
http://www.vikingsoft.eu
_______________________________________________
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development