Error: Failed to connect database.Driver not loaded Driver not loaded
QT the packaged program reports an error: error: failed to connect database.driver not loaded driver not loaded
After investigation, it was found that QT msvc2015_ 64\plugins\sqldrivers Copy the folder to the program directory, sqldrivers directory.
Run the program and eliminate the error.
Succeed to connect database.
#######################
Similar Posts:
- Solving the problem of QT connecting MySQL database in Windows system: qmmysql driver not loaded
- Unity uses UMP to play RTSP stream, and displays blank after packaging exe
- [Solved] Maven Error: Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:2.5:clean
- How to Solve QSqlDatabase Error: QMYSQL driver not loaded
- [Solved] Error: unable to find or load main class org.apache.zookeeper.server.quorum.QuorumPeerMain
- MySQL installation error — failed to find valid data directory
- Pyodbc error pyodbc.interfaceerror [How to Solve]
- EF Core Error: “Format of the initialization string does not conform to specification starting at index 0.”
- [Solved] QT operate error: exited with code – 1073741515
- AndroidStudio 3: How to Export Jar File