Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
Qt PSQL driver not found after Qt app deployment
I deployed my Qt Application in Linux using linuxdeployqt tool.after deployment i tried to run the application on the other machine.But it saying that PSQL driver not loaded.please help me or give me some better idea to deploy Qt application.
@Thejas Try to set QT_DEBUG_PLUGINS=1 variable before starting your app, you then will see more information about what is missing.
@jsulm but im running in a fresh machine (No Qt installed).app works fine in my developing machine
@Thejas "but im running in a fresh machine" - so what?
It does not run there, right?
So, you need to find out why the PSQL plug-in was not loaded.
To see what happens exactly I suggested to set QT_DEBUG_PLUGINS to a value != 0.
Did you try?
@jsulm Im a beginner, where exactly i should set above parameter? through terminal or .pro file ?
@Thejas In terminal (Linux version):
QT_DEBUG_PLUGINS=1 && ./my_app