Bug #255
closed
Provide extensions to system packages
Added by Guilhem Saurel over 4 years ago.
Updated over 4 years ago.
Description
Hi,
Currently, ubuntu provides OpenSceneGraph with Qt4. This is boring, because compiling anything for Qt4 is a pain.
Use OSG from the system and build only its Qt plugin for Qt 5 is pretty straitforward:
apt source libopenscenegraph
# untar and cd to source
mkdir build && cd build
cmake -DDESIRED_QT_VERSION=5 ..
cd osgQt
make install
Is there a way to do this with robotpkg ? Or would we have to provide another full OSG, at the same version for all targets ?
And if so, is it possible to provide a robotpkg-pyXY-qt4-gepetto-viewer dependent on the osgqt4 from ubuntu, and robotpkg-pyXY-qt5-gepetto-viewer dependant on the osgqt5 from robotpkg ?
Thanks,
Guilhem.
On Wednesday 13 May 2020, at 10:47, Guilhem Saurel wrote:
Is there a way to do this with robotpkg ? Or would we have to
provide another full OSG, at the same version for all targets ?
I guess you could provide just a robotpkg package openscenegraph-qt
that depends on the system osg.
Tuning the PREFER.openscenegraph-qt depending on the qt version might
be doable with e.g. $(if $(filter 4,${QT_SELECT}),system,robotpkg)
(to be checked).
Note that on ubuntu-20.04 I can't find a osg-qt. Is it expected?
- Status changed from New to Closed
That's right.
dpkg -L libopenscenegraph-dev | grep -i qt
shows osgqt in 18.04 and not in 20.04.
So I guess I'll have to write this robotpkg-qtX-openscenegraph anyway.
Thanks for the answers !
On Wednesday 13 May 2020, at 13:30, Guilhem Saurel wrote:
dpkg -L libopenscenegraph-dev | grep -i qt shows osgqt in 18.04 and
not in 20.04.
It might be worth to check why. If it's only a matter of waiting for
the maintainer, or if it's deemed deprecated, or if there are issues
...
Also available in: Atom
PDF