3 ms·
So Qt doesn't work without moc, right?
by GoblinSlayer 5y ago
So Qt doesn't work without moc, right?
- throwaway2037 5y agoNo, it is possible to hand code everything that moc generates.
- GoblinSlayer 5y agoAnd PyQt generates that metadata to make signals work?
- p_l 5y agoIt used to be much more involved in the past. Of course you could hand write the code, but as it was originally I believe a preprocessor was the only way to sensibly write signal support, something that AFAIK stopped being true around 2003 but by then moc was entrenched.
- throwaway2037 5y agoPyQt and PySide (both Python libraries that allow you to use Qt libraries) do not required you to use 'moc'.