With Qt-5.2.1 (or 5.3.0-alpha) Qt's cmake config files don't seem to be able to find private headers. Qt5GuiConfig.cmake looks like below, for example:
The problem with that seems to be that there is no ExtraSourceIncludes.cmake installed anywhere, except as /usr/share/qt5/mkspecs/features/data/cmake/ExtraSourceIncludes.cmake.in
When I install Qt from the current stable branch I get the following file which finds the private headers (tested with KF5GuiAddons):
I'm not sure how those files are generated so i have to ask is this bug or am I doing something wrong?