I have problems with QMYSQL Driver!
-
I am not understanding your command line notation, especially with your "
If you write a command line in this forum, you should embrace with '@'like this sample line
@
qmake test.pro
@
Just press on quote on my reply in order to see how to do.The example given will start qmake with an input file called "test.pro".
I assume that you try to start qmake with mysql.pro as an input file. If the file does not exist, you do not have an input file. That is the reason why was asking the question.
So, do you have mysql.pro as an input file? -
What should you do after building mysql plugin?
Hm. Maybe use it? -
Where I did wrong?
!http://img641.imageshack.us/img641/1700/unledvfc.png!I can`t find
- libqsqlmysql4.a
- libqsqlmysqld4.a
- qsqlmysql4.dll
- qsqlmysqld4.dll
-
[quote author="kaloo" date="1307294661"]
"qmake "INCLUDEPATH+=C:\MySQL\include" "LIBS+=C:\MYSQL\MySQL Server <version>\lib\opt\libmysql.lib" mysql.pro"it says mysql.pro don`t exist. What shoul I do?
[/quote]your last statement was the reason to ask my question, if mysql.pro exists. I guess you added this file now. Your output does not show the error message anymore. Is that right?
-
typically you would have also the following statements @
INCLUDEPATH ...
LIBS ...
@
I do not know the details of qmake, but possibly you can do as you did.Maybe should do a
@
mingw32-make clean
@
to clean up the directories and retry.
Unfportunately, I cannot give more or better advice, since I am not using mingw on windows. -
did you try "these":http://www.lmgtfy.com/?q=qmsql+tutorial+
-
There is (or at least should be) a mysql.pro file in your Qt sources. If there isn't, you either are not looking hard enough, or you have an incomplete installation of the Qt sources. The former is more likely. Just making up a .pro file yourself is obviously not going to result in a valid project that is going to help you build the drivers.