Results 1 to 2 of 2

Thread: Problems generating Mysql Server 4.1 Plugin

  1. #1
    Join Date
    Aug 2009
    Location
    Brisbane, Australia
    Posts
    75
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Question Problems generating Mysql Server 4.1 Plugin

    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

  2. #2
    Join Date
    Aug 2009
    Location
    Brisbane, Australia
    Posts
    75
    Thanks
    18
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Problems generating Mysql Server 4.1 Plugin

    I think I just need to find the right MAKE.EXE.

    I just tried to make QextSerialPort and it gave the same error.

Similar Threads

  1. Issues creating MySql Plugin on Windows
    By NicholasSmith in forum Installation and Deployment
    Replies: 2
    Last Post: 29th April 2009, 09:04
  2. How to use static mysql plugin
    By khikho in forum Qt Programming
    Replies: 7
    Last Post: 19th January 2009, 21:44
  3. Staying connected to a MySQL server
    By fnmblot in forum Qt Programming
    Replies: 1
    Last Post: 22nd November 2007, 10:39
  4. Qt4 win opensource + mysql plugin
    By vr in forum Installation and Deployment
    Replies: 3
    Last Post: 25th May 2007, 09:01
  5. Problems building mysql plugin for Qt 4.1.2 on windows XP
    By Philip_Anselmo in forum Installation and Deployment
    Replies: 3
    Last Post: 17th May 2006, 15:38

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.