Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. QMYSQL Build Issue -Qt 4.8.0 MSVC 2010- [SOLVED]
Forum Updated to NodeBB v4.3 + New Features

QMYSQL Build Issue -Qt 4.8.0 MSVC 2010- [SOLVED]

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 2 Posters 5.8k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    s7777
    wrote on 22 May 2012, 12:11 last edited by
    #1

    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:

    @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)

    NMAKE: fatal error U1077: 'rc': return code 0x1
    Stop.

    NMAKE: fatal error U1077: C:\Program Files(x86)\Microsoft Visual Studio 10.0\VC\bin\nmake.exe return code 0x2
    Stop.@

    What could be the issue here? Thanks.

    1 Reply Last reply
    0
    • C Offline
      C Offline
      ChrisW67
      wrote on 27 May 2012, 09:17 last edited by
      #2

      Your Microsoft development environment is not correctly set up or installed. RC.exe is the Windows resource compiler.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        s7777
        wrote on 27 May 2012, 13:47 last edited by
        #3

        [quote author="ChrisW67" date="1338110228"]Your Microsoft development environment is not correctly set up or installed. RC.exe is the Windows resource compiler.[/quote]

        Thanks, how can I overcome this?

        1 Reply Last reply
        0
        • C Offline
          C Offline
          ChrisW67
          wrote on 27 May 2012, 21:49 last edited by
          #4

          From http://msdn.microsoft.com/en-us/library/f2ccy3wt(v=vs.100).asp

          "The vcvars32.bat file sets the appropriate environment variables to enable 32-bit command-line builds. For information on how to enable a 64-bit toolset at the command line, see How to: Enable a 64-Bit Visual C++ Toolset at the Command Line.

          Note that if you are doing command-line builds with DEVENV, vcvars32 settings will have no affect on your builds, unless you also specify the /useenv option.
          To run vcvars32.bat

          At the command prompt, change to the \bin subdirectory of your Visual C++ installation.
          
          Run vcvars32.bat by typing VCVARS32.
          

          "

          You would do that from your Qt Command Prompt.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            s7777
            wrote on 7 Jun 2012, 10:43 last edited by
            #5

            Took care of the problem, thanks for the reply.

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved