Is there something equivalent to AUTOMOC_MACRO_NAMES in qmake?
Unsolved
General and Desktop
-
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