[QGIS-Developer] How to build QGIS 2.99 with 3D?
Yves Jacolin
yjacolin at free.fr
Wed Dec 6 06:41:25 PST 2017
Another way to try QGIS 3D:
docker run --rm -ti -e DISPLAY=unix${DISPLAY} -v
/tmp/.X11-unix:/tmp/.X11-unix -v ${HOME}:${HOME}
camptocamp/qgis-server:3 /usr/local/bin/start-client.sh
You can add "--add-host osm.tatras:172.18.0.1" to create an host to your
local system or so.
Y.
Le 06/12/2017 à 15:37, Matthias Kuhn a écrit :
> On 12/06/2017 03:20 PM, Ben Hur Pintor wrote:
>> @Saber
>>
>> I had the same issue with python and Qt 5.9. I ended up with 2
>> build directories: one for Qt 5.x (comes with your system) and
>> one for Qt 5.9.
>>
>>
>> I haven't done this yet. Will try it. Thanks! I do hope this is just
>> a problem with my system or some lacking dependency that I don't know
>> of, it'd be a bit of a hassle to have multiple build directories just
>> to test 3D and then other stuff.
>>
>>
>> @Matthias
>>
>> Did you also build PyQt for the custom installed Qt 5.9?
>>
>>
>> I don't remember doing so. Should I build it myself or will
>> installing it via pip suffice? I'm thinking if I can build using a
>> virtual env with all the python dependencies installed there. Thanks!
>
> I remember seeing pyqt in pypi, but I think this ships with yet
> another set of Qt libraries (besides the system and the ones from the
> SDK), so I'm not sure about the compatibility.
>
> It might be easiest to switch to a distro, where everything is
> available out of the box already.
> If you want to give it a try, I once wrote some scripts that compiles
> all the dependencies on a really old system, which you can use for
> reference
>
> https://github.com/opengisch/osgeo4travis/tree/master/docker/qt5/scripts
>
> Matthias
>
>>
>>
>> Ben Hur
>>
>>
>> On Wed, Dec 6, 2017 at 9:54 PM, Matthias Kuhn <matthias at opengis.ch
>> <mailto:matthias at opengis.ch>> wrote:
>>
>> Did you also build PyQt for the custom installed Qt 5.9?
>>
>> Matthias
>>
>>
>> On 12/06/2017 02:51 PM, Saber Razmjooei wrote:
>>> Hi Ben,
>>>
>>> I had the same issue with python and Qt 5.9. I ended up with 2
>>> build directories: one for Qt 5.x (comes with your system) and
>>> one for Qt 5.9.
>>>
>>> Regards
>>> Saber
>>>
>>> On 6 December 2017 at 13:41, Ben Hur Pintor <bnhr.dev at gmail.com
>>> <mailto:bnhr.dev at gmail.com>> wrote:
>>>
>>> Hi! Sorry if I'm late to the party but I've regularly been
>>> able to build 2.99 with 3D support using the instructions
>>> from (a) https://github.com/qgis/QGIS/blob/master/INSTALL
>>> <https://github.com/qgis/QGIS/blob/master/INSTALL> supplemented
>>> by
>>> (b) https://www.lutraconsulting.co.uk/blog/2017/08/06/qgis3d-build/
>>> <https://www.lutraconsulting.co.uk/blog/2017/08/06/qgis3d-build/> on
>>> my Xubuntu 16.04 machine. I didn't encounter any problems
>>> with building Qt5.9, Qwt, etc though.
>>>
>>> The only problem/issue I've had was that plugins are
>>> unavailable when running the built QGIS. The Settings tab of
>>> "Manage and Install Plugins" says "No Python support
>>> detected thus no settings available." I don't know if that's
>>> normal because I've only tried building QGIS recently. If
>>> you're able to build with 3D support or if you know whether
>>> this is normal, maybe you can also help a brother out.
>>>
>>> Thanks!
>>>
>>> On Wed, Dec 6, 2017 at 7:28 AM, Alexandre Neto
>>> <senhor.neto at gmail.com <mailto:senhor.neto at gmail.com>> wrote:
>>>
>>> Following the instructions on that link, I end up being
>>> blocked at some point... because I wasn't able to build qwt.
>>>
>>> compiling moc/moc_qwt_designer_plotdialog.cpp
>>> In file included from qwt_designer_plugin.h:13:0,
>>> from qwt_designer_plugin.cpp:23:
>>> /opt/qt59/include/QtDesigner/QDesignerCustomWidgetInterface:4:4:
>>> warning: #warning Header
>>> <QtDesigner/QDesignerCustomWidgetInterface> is
>>> deprecated. Please include
>>> <QtUiPlugin/QDesignerCustomWidgetInterface> instead. [-Wcpp]
>>> # warning Header
>>> <QtDesigner/QDesignerCustomWidgetInterface> is
>>> deprecated. Please include
>>> <QtUiPlugin/QDesignerCustomWidgetInterface> instead.
>>> ^
>>> In file included from moc/../qwt_designer_plugin.h:13:0,
>>> from moc/moc_qwt_designer_plugin.cpp:9:
>>> /opt/qt59/include/QtDesigner/QDesignerCustomWidgetInterface:4:4:
>>> warning: #warning Header
>>> <QtDesigner/QDesignerCustomWidgetInterface> is
>>> deprecated. Please include
>>> <QtUiPlugin/QDesignerCustomWidgetInterface> instead. [-Wcpp]
>>> # warning Header
>>> <QtDesigner/QDesignerCustomWidgetInterface> is
>>> deprecated. Please include
>>> <QtUiPlugin/QDesignerCustomWidgetInterface> instead.
>>> ^
>>> rm -f libqwt_designer_plugin.so
>>> linking plugins/designer/libqwt_designer_plugin.so
>>> mv -f libqwt_designer_plugin.so plugins/designer/
>>> make[1]: Leaving directory
>>> '/tmp/qgis_deps/qwt-6.1.3/designer'
>>>
>>>
>>>
>>> matteo <matteo.ghetta at gmail.com
>>> <mailto:matteo.ghetta at gmail.com>> escreveu no dia terça,
>>> 5/12/2017 às 19:40:
>>>
>>> Hi Harrissou,
>>>
>>> > Hi,
>>> > Maybe I miss something but I fail to fully
>>> understand the link between
>>> > Matteo needs and your explanation, Patrick. it
>>> doesn't look like Matteo has
>>> > issues to build QGIS. He already does it, he
>>> compiles from source himself (
>>> > master or any other branch).
>>> > What he wants is simply a way to build QGIS with
>>> 3D enabled, thing that by
>>> > default requires an upgraded version of QT (and
>>> not available in even known
>>> > and supported distro like Ubuntu 16.04). Unless I
>>> misunderstood...
>>>
>>> that's exactly the point. I don't have any problem
>>> to build QGIS master
>>> (and other versions).
>>> >
>>> > Btw, which key package is missing in Xenial since
>>> january? I also do build
>>> > with Xenial and never felt that i'm missing some
>>> key features (except 3D
>>> > but i chose to not upgrade for that - worried to
>>> break a working
>>> > environment)
>>> >
>>> > Matteo, have you seen the link I sent earlier
>>> (https://www.lutraconsulting.
>>> > co.uk/blog/2017/08/06/qgis3d-build/
>>> <http://co.uk/blog/2017/08/06/qgis3d-build/>)? Looks
>>> like there's a way to have two
>>> > versions of qt and build different QGIS depending
>>> on what's enabled....
>>>
>>> yep I saw the link (actually also when Martin posted
>>> it a few months ago
>>> ;) ). Ok, then if this is currently the only way to
>>> have 3D enabled I'll
>>> try to do that, hoping to not breaking some Qt or
>>> other stuff..
>>>
>>> Thanks!
>>>
>>> Matteo
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> QGIS-Developer at lists.osgeo.org
>>> <mailto:QGIS-Developer at lists.osgeo.org>
>>> List info:
>>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>> Unsubscribe:
>>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>
>>> --
>>> Alexandre Neto
>>> ---------------------
>>> @AlexNetoGeo
>>> http://sigsemgrilhetas.wordpress.com
>>> <http://sigsemgrilhetas.wordpress.com>
>>> http://gisunchained.wordpress.com
>>> <http://gisunchained.wordpress.com>
>>>
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> QGIS-Developer at lists.osgeo.org
>>> <mailto:QGIS-Developer at lists.osgeo.org>
>>> List info:
>>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>> Unsubscribe:
>>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>
>>>
>>>
>>>
>>> --
>>> ---
>>> *
>>> Engr. Ben Hur S. Pintor*
>>> Senior Science Research Specialist
>>> /IAMBlueCECAM Project 9: WebGIS for Mapping, Supporting,
>>> Decision-making, and Promoting Ecological Services of Blue
>>> Carbon Ecosystems (BlueWebMapS)/
>>> UP Training Center for Applied Geodesy and Photogrammetry
>>> /
>>> /
>>> MS Geomatics Engineering (GeoInformatics)
>>> /National Graduate School of Engineering/
>>> *University of the Philippines Diliman*
>>> Quezon City 1101, PHL
>>>
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> QGIS-Developer at lists.osgeo.org
>>> <mailto:QGIS-Developer at lists.osgeo.org>
>>> List info:
>>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>> Unsubscribe:
>>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>>
>>>
>>>
>>>
>>> --
>>> Saber Razmjooei
>>> www.lutraconsulting.co.uk <http://www.lutraconsulting.co.uk>
>>> +44 (0)7568 129733 <tel:+44%207568%20129733>
>>>
>>>
>>> _______________________________________________
>>> QGIS-Developer mailing list
>>> QGIS-Developer at lists.osgeo.org
>>> <mailto:QGIS-Developer at lists.osgeo.org>
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>
>>
>> _______________________________________________
>> QGIS-Developer mailing list
>> QGIS-Developer at lists.osgeo.org
>> <mailto:QGIS-Developer at lists.osgeo.org>
>> List info:
>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>> Unsubscribe:
>> https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> <https://lists.osgeo.org/mailman/listinfo/qgis-developer>
>>
>>
>>
>>
>> --
>> ---
>> *
>> Engr. Ben Hur S. Pintor*
>> Senior Science Research Specialist
>> /IAMBlueCECAM Project 9: WebGIS for Mapping, Supporting,
>> Decision-making, and Promoting Ecological Services of Blue Carbon
>> Ecosystems (BlueWebMapS)/
>> UP Training Center for Applied Geodesy and Photogrammetry
>> /
>> /
>> MS Geomatics Engineering (GeoInformatics)
>> /National Graduate School of Engineering/
>> *University of the Philippines Diliman*
>> Quezon City 1101, PHL
>
>
>
> _______________________________________________
> QGIS-Developer mailing list
> QGIS-Developer at lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20171206/6f9eea96/attachment-0001.html>
More information about the QGIS-Developer
mailing list