Solved MYSQL error in Qt
-
So I opened the terminal from the qt5.13.2 mingw32. Is that where i open the terminal from or is it another directory?
-
@Alfie-Anil said in MYSQL error in Qt:
Is that where i open the terminal from or is it another directory?
That's correct. But then you have to go to the correct source dir as you can see in the documentation: <srcdir>\qtbase\src\plugins\sqldrivers
Is it really that hard to follow the instructions? -
I've tried everything said but still comes up with the exact error.
-
@Alfie-Anil said in MYSQL error in Qt:
I've tried everything said but still comes up with the exact error.
Did you really call the correct qmake in the correct directory? I would guess no.
-
@Christian-Ehrlicher Yes I did. As stated in the documentation I cd to the correct directory and then followed the commands as given.
-
@Alfie-Anil The question was rather: did you call correct qmake?
To make sure you call correct qmake use absolute path (instead of simply calling qmake). -
So do you mean 'C:<NecessaryDirectory>? Yes
-
@Alfie-Anil Yes, absolute path like c:\Qt\5.12.0\mingw73_64\bin\qmake.exe
-
Yes That's what I did
-
@jsulm Actually I did get it working. But then I ran into the problem that although the problem was gone, none of the sql commands would not work so I was trying to fix that. Then, I ran into a problem with the computer which meant I had to reset the computer. So now I have to do it all over again (hahaha). (I've tried all the steps I did before)