Windows, mingw, Qt and MySQL

Building the QMYSQL database driver plug-in using the mingw environment shipped with Qt is not a nice process. It seems easy when you look at the documentation, but it is not. I got it working and have summarized it at the QtCentre wiki. I also added a task to the task tracker over at Trolltech.


At 4:23 PM, Blogger AlphaJoseph said...

i follwed your instructions at trolltech wiki
i followed till step 2
i encountered this
'reimp' is not recognized as an internal or external command,
operable program or batch file.

At 4:36 PM, Blogger Johan Thelin said...

Are you sure that you have MinGW in your PATH? If not, try to locate the reimp.exe and run it using an absolute path, i.e. C:\where-ever-it-is-installed\reimp.exe .

At 7:10 PM, Blogger skaravarsamis said...

Hello, I rush to convert the MySQL .lib file from the MySQL C connector bundle with reimp, and all i get is an error message telling me that the .lib file I'm trying to transform is corrupt or malformed. I was curious and I tried this against other library files, and I am always gettings the same error. Do you have any insight as to why this happens?

At 10:32 AM, Blogger Johan Thelin said...

It was a while since I tried this, so things might have changed. Could it be that the compiler used for building the lib is incompatible with reimp (does the reimp docs say anything about this?)


Post a Comment

<< Home