Qt 6.11 is out! See what's new in the release
blog
Is there something equivalent to AUTOMOC_MACRO_NAMES in qmake?
-
I have a project in which the Q_OBJECT macro is hidden inside another macro and qmake doesn't seem to like that.
With CMake there's AUTOMOC_MACRO_NAMES that I can set so my macro gets picked up to process the file with the moc.
Is there a way of doing that with qmake? It's also OK if I can just specify all the files that need moc processing in the .pro.
-
Should work without specifying anything in particular, see https://forum.qt.io/topic/54053/force-moc-to-moc-a-file