Results 1 to 2 of 2

Thread: QMYSQL Build Issue -Qt 4.8.0 MSVC 2010-

  1. #1
    Join Date
    May 2012
    Posts
    9
    Thanks
    8
    Qt products
    Qt4
    Platforms
    Windows

    Default QMYSQL Build Issue -Qt 4.8.0 MSVC 2010-

    I'm trying to build the QMYSQL plugin for the QT -I have the latest version, Qt 4.8.0 source files and I use the MSVC 2010 compiler along with the QtCreator IDE- and upon executing qmake (ran successfully) -using the MySQL win32 files I had placed into C:- I tried to run nmake and got the following errors:

    Qt Code:
    1. rc is not recognized as an internal or external command, operable program or batch file -I guess it refers to the qsqlmysqld_resource.rc file here-
    2.  
    3. NMAKE: fatal error U1077: 'rc': return code 0x1
    4. Stop.
    5.  
    6. NMAKE: fatal error U1077: C:\Program Files(x86)\Microsoft Visual Studio 10.0\VC\bin\nmake.exe return code 0x2
    7. Stop.
    To copy to clipboard, switch view to plain text mode 



    What could be the issue here? Thanks.

  2. #2
    Join Date
    Oct 2011
    Location
    Germany
    Posts
    27
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: QMYSQL Build Issue -Qt 4.8.0 MSVC 2010-

    It looks like that the Resouce Compiler (rc.exe) is not in the PATH env. variable.
    I would compile Qt libraries + MySql plugin within the Visual Studio command line.
    Insanity: doing the same thing over and over again and expecting different results.
    Albert Einstein

  3. The following user says thank you to ObiWanKenobe for this useful post:

    s7 (22nd May 2012)

Similar Threads

  1. Qt Creator Debugging using Qt Creator + MSVC 2010 Express SP1 (+ CMake)
    By agarny in forum Qt Tools
    Replies: 1
    Last Post: 30th May 2012, 01:45
  2. MSVC 2010 Binary for Qt
    By pssss in forum Qt Programming
    Replies: 12
    Last Post: 10th March 2011, 23:24
  3. Plan for Visual Studio 2010 (MSVC 2010)?
    By Vinzz in forum Qt Programming
    Replies: 1
    Last Post: 18th April 2010, 17:42
  4. Problem with compiling Qt 4.6 via MSVC 2010 Beta2 (win32-msvc specs)
    By Erik-Moscow in forum Installation and Deployment
    Replies: 2
    Last Post: 17th December 2009, 18:44
  5. Possible to compile Qt 4.5 source with msvc 2010 beta?
    By JimDaniel in forum Installation and Deployment
    Replies: 2
    Last Post: 22nd July 2009, 14:19

Tags for this Thread

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.