On 26/08/2016 11:17, Lukáš Tinkl wrote:
> Review: Needs Information
>
> +#include "mirwindowmanager.moc"
>
> Do we need to include the MOC files, are they not generated automatically?
This is needed when you define a class containing a Q_OBJECT macro
inside a .cpp file. Otherwise compilation will fail with:
"""
AUTOGEN: error:
/home/dandrader/qtmir/cursorConfinement/src/platforms/mirserver/mirwindowmanager.cpp:
The file contains a Q_OBJECT macro, but does not include
"mirwindowmanager.moc" !
"""
On 26/08/2016 11:17, Lukáš Tinkl wrote: er.moc"
> Review: Needs Information
>
> +#include "mirwindowmanag
>
> Do we need to include the MOC files, are they not generated automatically?
This is needed when you define a class containing a Q_OBJECT macro
inside a .cpp file. Otherwise compilation will fail with:
""" /qtmir/ cursorConfineme nt/src/ platforms/ mirserver/ mirwindowmanage r.cpp: er.moc" !
AUTOGEN: error:
/home/dandrader
The file contains a Q_OBJECT macro, but does not include
"mirwindowmanag
"""