Windows 10, 64;
Qt5.12.6 (mingw73_64)
Postgresql 11.2 (64)
QT link Postgresql appear the following error: QSqlDatabase: QPSQL driver not the loaded
As shown in the figure below:
11 \ bin \ PostgreSQL \ \ the libpq DLL, ssleay32. DLL, libeay32. DLL file copy to D: \ Qt \ Qt5.12.6\5.12.6 \ mingw73_64 \ bin below, still won't do;
Trouble you to help me have a look
CodePudding user response:
See information to compile drive,CodePudding user response:
Postgresql path is added to the environment variableCodePudding user response:
Itself after installed the pg, don't need to copy the pg. DLL,You're in qtcreator normal? If this is normal, the mostly qt. Conf no configuration
Need to copy sqldriver along with a directory in the local directory,
But also can specify the location of the driver by means of code (qt)