Project

General

Profile

Actions

Bug #13439

closed

qt 5 sqlite plugin crash

Added by Cristian ANITA over 1 year ago. Updated over 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
OI-Userland
Target version:
Start date:
2021-01-08
Due date:
2021-01-09
% Done:

100%

Estimated time:
0.25 h
Difficulty:
Bite-size
Tags:

Description

A Qt 5 project that use sqlite plugin will crash at runtime due to incompatible library version.
Reproducible: always
Environment: OpenIndiana Hipster 2020.10 up to date, Qt 5.12.10

Steps to reproduce:

cd ./test_qt_sqlite/cachedtable
/usr/lib/qt/5.12/bin/amd64/qmake -spec solaris-g++-64 CONFIG+=release CONFIG+=shared ./cachedtable.pro
make qmake_all
make
export QT_DEBUG_PLUGINS=1
./cachedtable

//...
QFactoryLoader::QFactoryLoader() looking at "/usr/lib/qt/5.12/plugins/amd64/sqldrivers/libqsqltds.so"
Found metadata in lib /usr/lib/qt/5.12/plugins/amd64/sqldrivers/libqsqltds.so, metadata= {
"IID": "org.qt-project.Qt.QSqlDriverFactoryInterface",
"MetaData": {
"Keys": [
"QTDS7",
"QTDS"
]
},
"archreq": 0,
"className": "QTDSDriverPlugin",
"debug": false,
"version": 330752
}
Got keys from plugin meta data ("QTDS7", "QTDS")
QFactoryLoader::QFactoryLoader() checking directory path "/export/home/canita/work/bld/test_qt_sqlite/cachedtable/sqldrivers" ...
loaded library "/usr/lib/qt/5.12/plugins/amd64/sqldrivers/libqsqlite.so"
Cannot mix incompatible Qt library (version 0x50c09) with this library (version 0x50c0a)
Abort (core dumped)

Regards,
Cristian


Files

test_qt_sqlite.tar.gz (12.7 KB) test_qt_sqlite.tar.gz Cristian ANITA, 2021-01-08 03:41 PM
Screenshot from 2021-01-08 20-33-46.png (104 KB) Screenshot from 2021-01-08 20-33-46.png Aurélien Larcher, 2021-01-08 11:20 PM
Actions #1

Updated by Aurélien Larcher over 1 year ago

Workspace cleaned up and republished package is fixed :)

Actions

Also available in: Atom PDF