Results 1 to 5 of 5

Thread: MySql Plugin again!

  1. #1
    Join Date
    Jul 2010
    Posts
    30
    Thanks
    10
    Thanked 1 Time in 1 Post
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Angry MySql Plugin again!

    hi
    Excuse me for my English mistakes!
    I have built mysql plugin for creator successfully

    but when I try to build it for using in visual studio I get the following error:
    Qt Code:
    1. C:\Qt\4.7.0\src\plugins\sqldrivers\mysql>nmake
    2.  
    3. Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
    4. Copyright (C) Microsoft Corporation. All rights reserved.
    5.  
    6. "C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\nmake.exe" -f Makef
    7. ile.Debug all
    8.  
    9. Microsoft (R) Program Maintenance Utility Version 9.00.21022.08
    10. Copyright (C) Microsoft Corporation. All rights reserved.
    11.  
    12. cl -c -nologo -Zm200 -Zc:wchar_t- -Zi -MDd -GR -EHsc -W3 -w34100 -w34189
    13. -DUNICODE -DWIN32 -DQT_LARGEFILE_SUPPORT -DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -D
    14. QT_THREAD_SUPPORT -I"..\..\..\..\include\QtCore" -I"..\..\..\..\include\QtGui" -
    15. I"..\..\..\..\include" -I"c:\MySql\include" -I"." -I"..\..\..\..\include\ActiveQ
    16. t" -I"tmp\moc\debug_shared" -I"c:\Qt\2010.05\qt\mkspecs\win32-msvc2008" -Fotmp\o
    17. bj\debug_shared\ @C:\Users\Saeed\AppData\Local\Temp\nmD366.tmp
    18. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
    19. \cl.EXE"' : return code '0xc0000135'
    20. Stop.
    21. NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin
    22. \nmake.exe"' : return code '0x2'
    23. Stop.
    To copy to clipboard, switch view to plain text mode 
    Help me pls

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: MySql Plugin again!

    Make sure you are running the build with the environment set correctly: use the Visual Studio command prompt or try running the vcvars32.bat or equivalent file before running configure.

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

    Default Re: MySql Plugin again!

    If you are using Win XP

    use: mingw32-make and not nmake

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: MySql Plugin again!

    use: mingw32-make and not nmake
    The OP is using MSVC: the make tool is nmake.

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

    Default Re: MySql Plugin again!


Similar Threads

  1. MySql plugin
    By hubipet in forum Installation and Deployment
    Replies: 0
    Last Post: 7th August 2010, 12:23
  2. plugin in mysql n qt
    By kazal in forum Qt Programming
    Replies: 10
    Last Post: 24th June 2010, 12:02
  3. after plugin Mysql n Qt..??
    By kazal in forum Newbie
    Replies: 0
    Last Post: 23rd June 2010, 10:44
  4. MySQL plugin
    By ksqt in forum Installation and Deployment
    Replies: 12
    Last Post: 24th September 2009, 14:26
  5. Build Mysql plugin for Qt
    By Qt Coder in forum Qt Programming
    Replies: 9
    Last Post: 19th September 2009, 10:07

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.