Sorry. I've just understood the difference between source package and
installed package name (I should use apt show more often...)
Completely minimal example:
#!/usr/bin/python3
# -*- coding: utf-8 -*-
import sys
from PyQt5.QtWidgets import QApplication
from PyQt5.QtSql import QSqlDatabase
app = QApplication(sys.argv)
db = QSqlDatabase.addDatabase("QMYSQL")
with libmysqlclient21=8.0.19-0ubuntu5:
(OK)
with libmysqlclient21=8.0.21-0ubuntu0.20.04.3:
QSqlDatabase: QMYSQL driver not loaded
QSqlDatabase: available drivers: QSQLITE QMYSQL QMYSQL3
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1889851
Title:
Driver QMysql can't be loaded
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mysql-8.0/+bug/1889851/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs