Solved QSqlDatabase: QPSQL driver not loaded for Imx6ULL
-
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?
-
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.
-
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).
-
Okay , Please let me know if anyone have any idea about the Package to use in Local.conf for include QPSQL plugins.
Thank You @jsulm for your guidance