SUMMARY flatpak not include a mysql driver, can't connect to mysql server STEPS TO REPRODUCE 1. flatpak install digikam -y 2. try connect a mysql server OBSERVED RESULT "Driver not loaded" EXPECTED RESULT SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Which Flatpak bundle did you use exactly ? 1/ from KDE repository : https://apps.kde.org/digikam/ 2/ from FlatHub repository : https://flathub.org/apps/details/org.kde.digikam
For the Flatpak from the KDE repository the problem should already be fixed: Bug 404642 Maik
Although I change to kdeapps/digikam, but it seem no difference. ``` $ flatpak install kdeapps digikam -y Looking for matches… org.kde.digikam permissions: ipc cups wayland x11 file access [1] dbus access [2] tags [3] [1] host, xdg-config/kdeglobals:ro [2] com.canonical.AppMenu.Registrar [3] nightly ID Branch Op Remote Download 1. [✓] org.kde.digikam.Locale master i kdeapps 33.3 kB / 3.0 MB 2. [✓] org.kde.digikam master i kdeapps 135.8 MB / 167.5 MB Installation complete. $ flatpak run org.kde.digikam QSocketNotifier: Can only be used with threads started with QThread libEGL warning: wayland-egl: could not open /dev/dri/renderD128 (没有那个文件或目录) QSqlDatabase: QMYSQL driver not loaded QSqlDatabase: available drivers: QSQLITE QSqlDatabase: QMYSQL driver not loaded QSqlDatabase: available drivers: QSQLITE QSqlDatabase: QMYSQL driver not loaded QSqlDatabase: available drivers: QSQLITE ```
I see this report is still open: https://phabricator.kde.org/T10579 I think we as the digiKam team have no influence on the creation of the Flatpak with Qt-MySQL drivers. I recommend that they use the AppImage we provide. Maik
yes, it just beacause lack qt-runtime, but flatpak has no this :(. Thanks for your reply. Please close this issue.