On Wed, May 13, 2015 at 11:01 AM, Vadim Zhukov <[email protected]> wrote:
> 13 мая 2015 г. 11:54 пользователь "David Coppa" <[email protected]> написал:
>
>
>>
>>
>> Here's what I've found today...
>>
>> If you want to use the OpenGL backend for phonon-based applications
>> (like Minitube) instead of the unaccelerated X11 one, you need to
>> export a "QT_GL_USE_OPENGL1ENGINE=1" env variable.. Otherwise all
>> you can see is a black screen.
>>
>> This is because Qt4 defaults to OpenGL2, while the phonon backend
>> only supports OpenGL 1.x :(
>>
>> See pobj/qt4-4.8.6/qt-everywhere-opensource-src-4.8.6/src/opengl/qgl.cpp
>>
>> What is for you the right place to put such a note?
>> /usr/ports/x11/qt4/pkg/README-main ?
>
> I'm afraid that this info should get into the each package containing
> affected applications instead. :( Will you look each pkgreadme when some app
> breaks?
After all, I think a note into minitube/pkg/README would be sufficient.
Besides minitube, there are few apps using the old phonon library from qt4:
musique is just an audio player.
Maybe qlandkartegt could take advantage of acceleration?
> But let's look if something could be fixed in Qt source itself...
Sure, I'll have a look if time permits.
> --
> Vadim Zhukov
Ciao!
David
--
"If you try a few times and give up, you'll never get there. But if
you keep at it... There's a lot of problems in the world which can
really be solved by applying two or three times the persistence that
other people will."
-- Stewart Nelson