[Development] Help with build failure on Windows

Thiago Macieira thiago.macieira at intel.com
Tue Aug 6 05:27:39 CEST 2013


On segunda-feira, 5 de agosto de 2013 19:51:00, Chris Meyer wrote:
> I assume that means that it includes the qdesktopwidget.h file (which I
> _do_ see is properly included)... but how does it know to include
> qdesktopwidget_qpa_p.h (or even qdesktopwidget_p.h), neither of which I see
> included? via the Q_DECLARE_PRIVATE macro?

It doesn't.

> I don't see _any_ private header files get included from moc files, and yet
> they seem to be required for the Q_PRIVATE_SLOT macro... so I don't
> understand this yet.

For a Q_PRIVATE_SLOT macro to work, which requires access to the private 
header, the moc output must be #included at the end of the .cpp file.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/development/attachments/20130805/aa2dca24/attachment.sig>


More information about the Development mailing list