[solved]Qt 5.2 with MySQL- driver not loaded
-
Not in the sources no, only in the binary tree
-
wrote on 5 Feb 2014, 11:23 last edited by
what do you mean by binary tree ? Sorry excuse my Ignorant
-
The folder where the dlls and executable can be found.
Something like
@C:\Qt\Qt5.2.0\5.2.0\msvc_2012@I'm not sure for the exact name
-
wrote on 5 Feb 2014, 13:37 last edited by
I have the qsqlmysqld.dll and qsqlmysql.dll in this path
C:\Qt\Qt5.2.0\5.2.0\mingw48_32\plugins\sqldrivers
Is that means that I don't have to build the driver? -
wrote on 5 Feb 2014, 16:50 last edited by
I found the file qsqlmysql.dll in this path C:\Qt\Qt5.2.0\5.2.0\mingw48_32\plugins\sqldrivers and I run dependacy walker on it and here is a photo of what I got
!http://imageshack.com/a/img197/4814/ek87.JPG(There should be a photo here )!any tips?
-
wrote on 5 Feb 2014, 17:34 last edited by
I had similar problems with the postgresql driver when installing on a second Win7 machine. After making sure, that the database drivers were in the path ...mingw..plugins\sqldrivers and ...postgresql\lib and bin I still saw the simillar message (missing driver although in list) and I had to completely build new - now it works!
Perhaps you may delete the build-directories and build debug or release new. -
If I see thing correctly, you have a 64bit MySQL installed and the MinGW Qt package is 32bit
-
wrote on 6 Feb 2014, 08:39 last edited by
Hi Baso, I mean: delete the build directory of your application (ie ...myapp\Debug or ...myapp\Release). The location of your plugins is correct - for testing you may also copy the directory sqldrivers from C:\Qt\Qt5.2.0\5.2.0\mingw48_32\plugins\ to the application build directory ...myapp\Debug\sqldrivers.
-
wrote on 6 Feb 2014, 11:51 last edited by
<SOLVED>
@SGaist You are right (How embarrassing :) ) the tick was that I downloaded the offline MySQL installer for windows(x86-32bit) the installer is 32bit, but the server combined with it was (5.6 64bit) looks like there is no 5.6 server 32bit so I installed the 5.5 32bit server instead and it worked.Thank you all for your help.
-
wrote on 6 Feb 2014, 12:26 last edited by
How do you deal with numbers? Not everyone is good at math. Many of us were vexed by the complexity of those essential abstractions since school days. And still, as adults we need to build certain math skills to be able to make good financial decisions. We need to know the difference between simple and compound interest, and how to calculate each. And for those seeking to invest, the same can be said of dividends. Below are some basic steps to navigate through the labyrinth of figures. We humbly offer this information in a desire to help the mathematically impaired. How many times have you expected more details on how to apply for a payday loan and resorted to an internet search on quick cash advance?" Your search is over, all of the info you'll need is at "www.MatchFinancial.com.":http://www.matchfinancial.com/
-
You're welcome !
Now that you have it up and running, please update the thread title prepending [solved] so other forum users may know a solution has been found :)
-
wrote on 7 Feb 2014, 13:15 last edited by
@SGalst Done :)
16/19