When launching krita (version 5.0.2) after fresh install, I got this error: Could not initialize the resource cache database. Connection error: Driver not loaded Driver not loaded, Krita will quit now. error logs: QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: Could not connect to resource cache database QSqlQuery::prepare: database not open Install databases/qt5-sqldrivers-sqlite3 seems to fix this problem.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=b486c815e485eb061e24a9a2f1af68fbfdc4cdc4 commit b486c815e485eb061e24a9a2f1af68fbfdc4cdc4 Author: Max Brazhnikov <makc@FreeBSD.org> AuthorDate: 2022-03-09 08:09:11 +0000 Commit: Max Brazhnikov <makc@FreeBSD.org> CommitDate: 2022-03-09 08:09:11 +0000 graphics/krita: add missing run-time dependency Qt5 sqlite3 plugin is required to run Krita. PR: 262422 graphics/krita/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Fixed, thanks!