viktorgino / headunit-desktop

HeadUnit Desktop is a car PC software built with Qt 5 and QML
https://github.com/viktorgino/headunit-desktop/wiki
GNU General Public License v3.0
285 stars 64 forks source link

Error when adding scanning media library #37

Closed viktorgino closed 3 years ago

viktorgino commented 5 years ago

I get the following error when trying to add new folders to the media library. This wasn't there before, possibly caused by changes to the Qt SQLite DB. (using Qt 5.11.1 on Ubuntu 18.10 x64)

QSqlDatabasePrivate::database: requested database does not belong to the calling thread.
QSqlQuery::prepare: database not open
viktorgino commented 5 years ago

Quick google points to this : https://bugreports.qt.io/browse/QTBUG-68486