Tag Archives: Error: Failed to connect database.Driver not loaded Driver not loaded

Error: Failed to connect database.Driver not loaded Driver not loaded

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.

 

 

#######################