dcourtois / premake-qt

Premake module adding support for Qt to actions (Visual Studio, makefiles, etc.)
Do What The F*ck You Want To Public License
45 stars 11 forks source link

Add support for including private Qt headers #7

Closed smbradley closed 8 years ago

smbradley commented 8 years ago

This mirrors QMake's QT += *-private functionality.

Essentially this will implicitly add the corresponding public module in addition to adding its private header paths to the list of includes.

These paths take the form of includepath/Module/version and includepath/Module/version/Module

When including a private module; it will attempt to retrieve the version string (if not explicitly stated in the project via config.qtversion) by querying qconfig.h and qglobal.h (since the Qt devs moved the version string starting with 5.6).

dcourtois commented 8 years ago

Thanks for the pull request, seems good to me (And I discover new things about Qt :p)