QSqlDatabase: QPSQL driver not loaded for Imx6ULL
-
wrote on 21 Apr 2021, 13:07 last edited by
Hi
I have created rootfs with Yocto Rocko version for Imx6ULL.
while booting with qt application on it i am observing following error.
QSqlDatabase: QPSQL driver not loaded
QSqlDatabase: available drivers:
"Driver not loaded Driver not loaded"and Database not working properly.
Can You please guide for this.
Thanks and Regards
Rohit -
Hi
I have created rootfs with Yocto Rocko version for Imx6ULL.
while booting with qt application on it i am observing following error.
QSqlDatabase: QPSQL driver not loaded
QSqlDatabase: available drivers:
"Driver not loaded Driver not loaded"and Database not working properly.
Can You please guide for this.
Thanks and Regards
Rohit@Rohit39 said in QSqlDatabase: QPSQL driver not loaded for Imx6ULL:
QSqlDatabase: available drivers:
Looks like no Qt plug-ins for SQL databases were built. How did you build Qt?
-
wrote on 21 Apr 2021, 14:17 last edited by
I have created toolchain for QT by Yocto version Rocko.
and I have set the repective path on Qt creator. -
I have created toolchain for QT by Yocto version Rocko.
and I have set the repective path on Qt creator.@Rohit39 I think you did not build the SQL plug-ins.
-
wrote on 21 Apr 2021, 14:40 last edited by
How to build it ?
I have just updated rootfs with Yocto Rocko.Can you please guide me.
-
@Rohit39 I don't know, I'm not an Yocto expert.
-
@jsulm okay . Thank You for Your Guidance.
It will help me if you specify any specific plug-ins for sql?@Rohit39 Well, if you want to use PostgreSQL then it is QPSQL (as error you posted says).
9/9