Implements a setting environment or config to do not load layouts
rldhont opened this issue · 2 comments
rldhont commented
The QgsProject::read
has a read flags parameter that can contain QgsProject::ReadFlag::FlagDontLoadLayouts
. This flag improves projects read time but disable the QGIS Server GetPrint capabilities.
Like QGIS_SERVER_DONT_LOAD_LAYOUTS
qgis/QGIS#38240
rldhont commented
Suite à discussion la variable d'environnement va changer de nom mais l'idée est la même.
dmarteau commented
Done in 4a0fbd8.
See the DISABLE_GETPRINT configuration.