Hi Henrik, Here are my cmake parameters (for version 3.4.x):
cmake /build/QGIS -GNinja -DWITH_STAGED_PLUGINS=OFF
-DCMAKE_INSTALL_PREFIX=/usr -DWITH_GRASS=OFF -DWITH_GRASS7=OFF
-DSUPPRESS_QT_WARNINGS=ON -DENABLE_TESTS=OFF -DWITH_QSPATIALITE=OFF
-DWITH_QWTPOLAR=OFF -DWITH_APIDOC=OFF -DWITH_ASTYLE=OFF
-DWITH_DESKTOP=OFF -DWITH_SERVER=ON -DWITH_SERVER_PLUGINS=ON
-DWITH_BINDINGS=ON -DWITH_QTMOBILITY=OFF -DWITH_QUICK=OFF -DWITH_3D=OFF
-DWITH_GUI=OFF -DDISABLE_DEPRECATED=ON -DSERVER_SKIP_ECW=ON
-DWITH_GEOREFERENCER=OFF Greetings, Andreas
On 2019-01-07 12:34, Henrik Uggla wrote:

I'm not able to find how to build Qgis Server without desktop anywhere in the 
documentation (https://github.com/qgis/QGIS/blob/master/INSTALL). How is it 
done?
________________________________________
Från: Andreas Neumann <a.neum...@carto.net>
Skickat: den 7 januari 2019 11:26:30
Till: Henrik Uggla
Kopia: qgis-user@lists.osgeo.org
Ämne: Re: [Qgis-user] Building Qgis Server only

Hi Henrik,

You can now build QGIS Server without desktop, but not without X. You still 
need X for PDF generation (GetPrint command).

If you are interested, I have docker configurations for QGIS Server 2.x. and 
3.x based on Ubuntu and NginX server. Still struggling a bit with NGinX URL 
forwarding, but hoping to solve it tomorrow with the help of Marco B.

I could share the configuration, if it helps for you.

Greetings,

Andreas

On 2019-01-07 11:01, Henrik Uggla wrote:

I would like to create a Qgis Server Docker container based on Alpine. Is it 
possible to build Qgis Server, without the desktop applications, on a server 
that doesn't run X?
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org<mailto:Qgis-user@lists.osgeo.org>
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
_______________________________________________
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Reply via email to