Results 1 to 3 of 3

Thread: Building of MySQL plugin fails

  1. #1
    Join Date
    Jan 2006
    Posts
    6
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Angry Building of MySQL plugin fails

    I'm not able to install the MySQL plugin for Qt 4.1.0, because the nmake command does not find the file "stddef.h" located in the include directory of Microsoft Visual Studio .NET 2003. I get the following error message:

    c:\Qt\4.1.0\include\QtCore\../../src\corelib\global\qglobal.h(25) : fatal error C1083: Cannot open include file: 'stddef.h': No such file or
    directory

    I am using the following commands

    cd %QTDIR%\src\plugins\sqldrivers\mysql
    qmake -o Makefile "INCLUDEPATH+=C:\Program Files\MySQL\MySQL Server 5.0\include" "LIBS+=C:\Program Files\MySQL\MySQL Server 5.0\lib\opt\LIBMYSQL.LIB" mysql.pro
    nmake

    Why does the nmake command fail?

  2. #2
    Join Date
    Jan 2006
    Location
    Ukraine,Lviv
    Posts
    454
    Thanks
    9
    Thanked 27 Times in 27 Posts
    Qt products
    Qt3
    Platforms
    Unix/X11 Windows

    Default Re: Building of MySQL plugin fails

    are you sure that path to needed file available in environment variables INCLUDE?

  3. #3
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: Building of MySQL plugin fails

    Run <VisualStudio install dir>\VC98\Bin\VCVARS32.BAT to setup your environment correctly or use the Visual Studio shell to start the Qt build process.

    See also:
    Installing Qt - "windows.h" file
    Installation error
    Qt install issue on XP
    How to set environment variables for all sessions when installing Qt
    ...

Similar Threads

  1. How to use static mysql plugin
    By khikho in forum Qt Programming
    Replies: 7
    Last Post: 19th January 2009, 22:44
  2. building plugin for mysql?
    By triperzonak in forum Installation and Deployment
    Replies: 1
    Last Post: 25th June 2008, 09:57
  3. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 15:13
  4. Qt4 win opensource + mysql plugin
    By vr in forum Installation and Deployment
    Replies: 3
    Last Post: 25th May 2007, 10: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, 16: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.