Sunday, July 20th 2008, 2:29am UTC+1

You are not logged in.

  • Login
  • Register

1

Wednesday, February 27th 2008, 3:34pm

Installing QT with MySQL Support

Hello,

id like to get a connection to a MySQL database.

Im using the commercial version of QT in version 4.3.3 under Visual Studio 6.0.

To build my QT with SQL support i ran
configure -platform win32-msvc -qt-sql-mysql -plugin-sql-mysql
nmake

The configuring passes, but nmake not. After waiting many minutes a message called
---------------
.\../../../sql/drivers/mysql/qsql_mysql.h(32) : fatal error C1083: Cannot open i
nclude file: 'mysql.h': No such file or directory
NMAKE : fatal error U1077: 'cl' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Programme\Microsoft Visual Studio\VC98\bin\NMAKE
.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
----------------

displayed and the building stops.

I installed MySQL in c:\mysql with all includes and libraries.

Now i tried so many ways but no one works.

Does anyone knows this error and could help me?



Best regards,
Tom
  • Go to the top of the page

2

Saturday, March 1st 2008, 5:49pm

hi
the short way to do download mysql-odbc driver then connect to your database over odbc
  • Go to the top of the page

Rate this thread