View Single Post
Old 01-08-2022, 09:58 AM   #84
thiago.eec
Wizard
thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.thiago.eec ought to be getting tired of karma fortunes by now.
 
Posts: 1,233
Karma: 1419583
Join Date: Dec 2016
Location: Goiânia - Brazil
Device: iPad, Kindle Paperwhite, Kindle Oasis
Quote:
Originally Posted by jackie_w View Post
app.exec_() works OK with calibre v3.48-v5.34 but not with v5.99.2, which needs to be app.exec().

app.exec() works OK from v5.0-v5.99.2 but not with v3.48-v4.23.

Is there a neat way to handle both simultaneously? I did notice that dlg.exec_() still works in v5.99.2 where dlg is a QDialog object.
Looking at https://github.com/kovidgoyal/calibr...yqt6_compat.py, app.exec_ is not on the list, but QDialog.exec_ is.
thiago.eec is offline   Reply With Quote