How to compile a QMySQL with mysql-install-community-126.96.36.199.
Hi I am casison_7 a little debutant on QtCreator! I used version 5.1.0
I would like to write an application for my final study using a database mysql-install-community-188.8.131.52. I suddenly I realize that some files that tells me QtCreator does not exist!
So please! help! How to compile a QMySQL! I do not know how!
Note that I put the same in other forums, but no answers!
I report on you! last espoire! Excuse my English I'm French
Check "Qt 5 documentation about building QMYSQL":http://qt-project.org/doc/qt-5.0/qtsql/sql-driver.html#qmysql-for-mysql-4-and-higher
Thank you alot! But I used Qt Creator 5.1.0 with MinGW 4.8 in windows 7 OS Ultimate edition! and this link: C: \ Qt \ 4.6.2 \ src \ plugins \ SQLDrivers \ mysql as given in the documentation does not exist!
[quote author="casison_7" date="1386462805"]Thank you alot! But I used Qt Creator 5.1.0 with MinGW 4.8 in windows 7 OS Ultimate edition! and this link: C: \ Qt \ 4.6.2 \ src \ plugins \ SQLDrivers \ mysql as given in the documentation does not exist!
Seems that you have an installation issue. The latest stable version of Qt Creator is 2.8.1 and it is available for download within the Qt 5.1.1 package "here":http://qt-project.org/downloads
I had same problem with path in documentation to compile DB2 driver plugin...
Make a search to find the right folder.
Something like qt-install-dir/5.1.1/Src/qtbase/src/plugins...
Thank you to both for your helps! I'll first go to installed it, this version 5.1.1, then come back for more
Oops! another error during the creation of QMySQL!
In fact, the Qt documentation says:
@Open the DOS prompt, go to C: \ MySQL \ mysql51 \ lib \ opt, and run the Following commands:
dlltool-k-d-l libmysql.def libmysql.a@
And when I taped all that, here is what it gives in Qt Creator 5.1.1(installed)
@reimp is not recognized as an internal or external command @
what to do?
Sorry, I'm on Linux...
But, an hint I can tell you to try finding the solution is searching your file system to find where is the command that is not recognized and add the path at env variables...
This part of the documentation about compiling sql drivers plugins is really outdated and crappy! Not the same quality like the rest of doc.