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).
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
andincludepath/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).