QSqlDatabase: QMYSQL driver not loaded
-
-
You said in one of the posts linked above to Update to 6.8.2 / 6.9.0
But when I run my code with plugin version 6.7.3 I got the following error
Cannot mix incompatible Qt library (6.7.3) with this library (6.8.1)If I install version 6.8.2 wouldn't this incompatibility happen in the same way?
-
I also wrote that you can apply the patch...
-
@Christian-Ehrlicher Can you provide me with an explanation on how to apply the patch?
-
From the looks of it, you can also disable the sbom. See this comment on the bug report.
As for patching, do you know how to apply a diff ?
If not, one possible solution is to just copy the two files from 6.8.2 into your current sources but I would encourage you to learn how to apply a patch. -
@SGaist
I tried to learn how to apply a patch but it's complicated, I'm Brazilian and I can't find much about it in Portuguese.
About disabling sbom I tried adding the commands -DQT_GENERATE_SBOM=OFF and -no-sbom but it didn't change. I'm thinking about giving up and doing it the traditional way -
@ThiagoSys What about this suggestion from @SGaist : "one possible solution is to just copy the two files from 6.8.2 into your current sources"?
And applying patches isn't isn't complicated.
-
If you go to the patch linked in the bug report, you'll see the exact path of the two files that have been modified in qtbase.