<div dir="ltr">>> <span style="font-size:12.8px">Can you clarify on which systems you are working and which dependencies</span><br style="font-size:12.8px"><span style="font-size:12.8px">cause headaches?</span><div><span style="font-size:12.8px">In my case I am working on an old machine, where many things have been installed in the past and cause conflicts. So until a new machine can be bought I am attempting to get this done in a custom application directory, where QGIS is then called from a script where the needed environment vars are set so that everything needed is found first.</span><br style="font-size:12.8px"><span style="font-size:12.8px">In my case it is since there are QT3, QT4 and older QT5 installed.</span><br></div><div><span style="font-size:12.8px">So a separate, clean,  QT5 is needed.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">At present I have everything compiled, but QGIS3 fails due to something, some complaining about different libpng's being found:</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px"># libpng warning: Application was compiled with png.h from libpng-1.6.10</span></div><div><span style="font-size:12.8px"># libpng warning: Application  is  running with png.c from libpng-1.2.56</span></div><div><span style="font-size:12.8px"># libpng error: Incompatible libpng version in application and library </span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Here I assume the default libcairo loads </span><span style="font-size:12.8px">libpng-1.2.56, which QT5 used </span><span style="font-size:12.8px">libpng-1.6.10, which is installed in /usr/local/lib for librasterlite2.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">So at the moment I have installed </span><span style="font-size:12.8px">libcairo using libpng-1.6.10 in /usr/local/lib, and recompiling QT5 using the internal PNG/JPEG libs.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">>>In many situations, a build of Qt is not required and doing this</span><br style="font-size:12.8px"><span style="font-size:12.8px">requires deep understanding of all the involved libraries.</span></div><div><span style="font-size:12.8px">Yes and the idea a Wiki page/area for 'Building QGIS from scratch' could assist in making that easier.</span></div><div><span style="font-size:12.8px"><br></span></div><div><span style="font-size:12.8px">Mark<br></span><div><span style="font-size:12.8px"><br></span></div><div><br></div></div></div>