Answer the question
In order to leave comments, you need to log in
What is the cause of QT MYSQL error?
I'm running the release version on 1 computer (directly from a flash drive), the console shows everything is in order, the connection is established.
I turn to another, the error "Driver not loaded" appears. And to be honest, I'm confused. All drivers are compiled and lie inside the program. What else can influence?
I run the program not on the PC where QT is installed.
Answer the question
In order to leave comments, you need to log in
Look here: Qt. QSqlDatabase: QMYSQL driver not loaded. Why? How to fix?
Throw all the libraries that the mysql plugin uses directly into the application's executable. Libraries are best taken from a working PC with a similar bit depth.
Ideally, recompile qt statically and do the same with mysql and use them.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question