[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Qt 5.9 long-term support release and Anki



On Wed, Aug 01, 2018 at 01:12:01PM -0300, Lisandro Damián Nicanor Pérez Meyer wrote:
> Sounds good to me! 

Hi Lisandro,

I wonder whether you or someone else would be able to help me with bug
#905379?  I am quite stymied and don't know Qt well enough myself.
Anki apparently works fine with Qt 5.9 (that's the version supported
upstream), but crashes out on Debian's 5.11.1.  My analysis is as
follows:

Anki runs (/usr/share/anki/aqt/webview.py, line 18):

QWebEngineView.__init__(self, parent=parent)

which seems to run fine, but something seems wrong, as
self.focusProxy() is Null after this.  A few lines later, it runs
(line 18):

QWebEnginePage.__init__(self)

which gives the non-significant error:

[0816/101823.790400:WARNING:stack_trace_posix.cc(699)] Failed to open file: /tmp/.gloFZVqc (deleted)
  Error: No such file or directory

(This seems to be related to running an NVIDIA chipset.)

But after that, it tries to call
self.focusProxy().installEventFilter(self), but as self.focusProxy()
is Null, it bombs out.

I don't know why Qt 5.11.1 would have focusProxy() being Null while it
is fine on Qt 5.9.

Any ideas would be gratefully appreciated!

Many thanks,

   Julian

> El mié., 1 de ago. de 2018 12:48, Julian Gilbey <julian@d-and-j.net> escribió:
> 
>   On Wed, Aug 01, 2018 at 11:49:06AM -0300, Lisandro Damián Nicanor Pérez Meyer
>   wrote:
>   > Hi Julian!
>   >
>   > El mié., 1 de ago. de 2018 10:09, Julian Gilbey <julian@d-and-j.net>
>   escribió:
>   >
>   >   Hello there,
>   >
>   >   I'm the maintainer for Anki, which is soon to release version 2.1.0.
>   >   It depends on Qt5, but they have decided to depend specifically on
>   >   version 5.9.x, because that is a long-term support release of Qt.
>   >   (See the start of http://doc.qt.io/qt-5/whatsnew59.html for example.)
>   >
>   >   Debian doesn't support 5.9 any longer, so do you have any suggestions?
>   >
>   > Yes: don't worry at all. Qt is backwards compatible, so if upstream builds
>   and
>   > runs against 5.9 it will continue doing do with any later version *except*
>   they
>   > are using a bug as a feature, which would be a strange case.
>   > But basically: relax and enjoy using Qt on Debian :-)
>   > Cheers!
> 
>   Thanks!
> 
>   I'll just have to remove the check, then, and warn people that they
>   are using it "at their own risk" ;-)
> 
>   Best wishes,
> 
>      Julian


Reply to: