Hi,

I have tried to install the plugin for MYSQL Server 4.1. On windows XP with QT 4.5.

The first part of compiling appeared to work. No message appeared. I used:

Qt Code:
  1. ..\..\..\..\bin\qmake -o Makefile "INCLUDEPATH+=C:\Program%20Files\MYSQL\MySQL%20\INCLUDE" "LIBS+=C:\Program%20Files\MYSQL\MySQL%20\LIB\OPT\LIBMYSQL.LIB" mysql.pro
To copy to clipboard, switch view to plain text mode 

But then I tried various MAKE.EXE's (nmake, make,...) and didn't have any luck.

Got the following error with nmake:
Qt Code:
  1. NMAKE -f makefile.Debug
  2. g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_DLL -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtSql" -I"..\..\..\..\include" -I"c:\PROGRAM%20FILES\MYSQL\MYSQL%20SERVER\%204.1\INCLUDE" -I"..\..\..\..\include\ActiveQt" -I"debug" -I"..\..\..\..\mkspecs\default" -o debug\main.o main.cpp
  3. 'g++' is not recognized as an internal or external command,
  4. operable program or batch file.
  5. NMAKE: fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x1'
  6. Stop.
  7. NMAKE: fatal error U1077: 'C:\WINDOWS\system32\cmd.exe' : return code '0x2'
  8. Stop.
To copy to clipboard, switch view to plain text mode 

I tried to get GMAKE but looks likes its not compiled just code. So didn't get that going.

I read somewhere you can't compile with QT Creator etc running. Tried that.

Any help would be appreciated
Brendan