<html><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /></head><body style='font-size: 10pt; font-family: Verdana,Geneva,sans-serif'>
<p>Hi Henrik,</p>
<p>Here are my cmake parameters (for version 3.4.x):</p>
<p>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</p>
<p>Greetings,</p>
<p>Andreas</p>
<p id="reply-intro">On 2019-01-07 12:34, Henrik Uggla wrote:</p>
<blockquote type="cite" style="padding: 0 0.4em; border-left: #1010ff 2px solid; margin: 0"><!-- html ignored --><!-- head ignored --><!-- meta ignored -->
<div class="pre" style="margin: 0; padding: 0; font-family: monospace">I'm not able to find how to build Qgis Server without desktop anywhere in the documentation (<a href="https://github.com/qgis/QGIS/blob/master/INSTALL" target="_blank" rel="noopener noreferrer">https://github.com/qgis/QGIS/blob/master/INSTALL</a>). How is it done?<br />________________________________________<br />Från: Andreas Neumann <<a href="mailto:a.neumann@carto.net" rel="noreferrer">a.neumann@carto.net</a>><br />Skickat: den 7 januari 2019 11:26:30<br />Till: Henrik Uggla<br />Kopia: <a href="mailto:qgis-user@lists.osgeo.org" rel="noreferrer">qgis-user@lists.osgeo.org</a><br />Ämne: Re: [Qgis-user] Building Qgis Server only<br /><br />Hi Henrik,<br /><br />You can now build QGIS Server without desktop, but not without X. You still need X for PDF generation (GetPrint command).<br /><br />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.<br /><br />I could share the configuration, if it helps for you.<br /><br />Greetings,<br /><br />Andreas<br /><br />On 2019-01-07 11:01, Henrik Uggla wrote:<br /><br />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?<br />_______________________________________________<br />Qgis-user mailing list<br /><a href="mailto:Qgis-user@lists.osgeo.org" rel="noreferrer">Qgis-user@lists.osgeo.org</a><mailto:<a href="mailto:Qgis-user@lists.osgeo.org" rel="noreferrer">Qgis-user@lists.osgeo.org</a>><br />List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br />Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-user" target="_blank" rel="noopener noreferrer">https://lists.osgeo.org/mailman/listinfo/qgis-user</a><br /><br /><br /></div>
</blockquote>
<p><br /></p>

</body></html>