Sunday, July 6th 2008, 4:59pm UTC+1

You are not logged in.

  • Login
  • Register

Dear visitor, welcome to QtForum.org. If this is your first visit here, please read the Help. It explains how this page works. You must be registered before you can use all the page's features. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

Talmage

Beginner

Posts: 2

Location: Duncan, Oklahoma

Occupation: Engineer

1

Friday, January 11th 2008, 8:38pm

build problem qt4.3.3 mysql winxp

Installed mysql 5.0.45 ran reimp and dlltool on the \opt and \debug directory
Have installed mingw along with qt 4.3.3
Verified that qt would compile programs, but want mysql support.
So configured with
configure -platform win32-g++ -debug-and-release -qt-sql-sqlite -qt-sql-mysql -l mysql -I c:\mysql\include -L c:\mysql\lib\opt -L c:\mysql\lib\debug

but I am getting an error on mingw32-make
Took a screenshot of the last part of the error. See attachment.

Any help would be greatly appreciated. I have been a week on this and have been down many bunny trails trying to get this to build.
Doing this with ubuntu was very simple.
Talmage has attached the following file:
  • errorOnBuild.jpg (33.91 kB - 238 times downloaded - Last download: Yesterday, 2:01pm)
JT Fleming
  • Go to the top of the page

Messenger

Intermediate

Posts: 325

Location: Lt

2

Saturday, January 12th 2008, 10:00am

RE: build problem qt4.3.3 mysql winxp

Because mysql library is compiled using MS VC compiler. To convert to mingw format (not dll, but link info) you must use reimp and dlltool. Use forum search "mysql reimp dlltool".
Fighting fire with fire.
  • Go to the top of the page

Talmage

Beginner

Posts: 2

Location: Duncan, Oklahoma

Occupation: Engineer

3

Saturday, January 12th 2008, 12:26pm

RE: build problem qt4.3.3 mysql winxp

I ran reimp and dlltool from a command line in the c:\mysql\lib\opt and the c:\mysql\ib\debug .
I just went through the same steps on another computer and all went well.
Going to clean off computer and try again.
JT Fleming
  • Go to the top of the page

Rate this thread