Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. 3rd Party Software
  4. Cannot compile MySql driver under Windows
QtWS25 Last Chance

Cannot compile MySql driver under Windows

Scheduled Pinned Locked Moved 3rd Party Software
mysqlqt creatorwindows
4 Posts 2 Posters 1.4k Views
  • 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.
  • Y Offline
    Y Offline
    Yury
    wrote on last edited by
    #1

    I read many topics about this problem but cannot solve it. My task is to make application which may be run on old computers under Windows XP. This application must connect to MySQL database. I try follow this instruction: http://doc.qt.io/qt-5/sql-driver.html#qmysql
    But when I enter command "nmake", it interrupts with error:
    "rc" is not recognized as an internal or external command.
    I was seeking file rc.exe, but not found it. How did it come? After all, I downloaded QT Creator and minGW from official sites and make full install. How can I solve my problem?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      nmake is for Visual Studio, if you are using MinGW-32, the you must call mingw32_make

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Y 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        nmake is for Visual Studio, if you are using MinGW-32, the you must call mingw32_make

        Y Offline
        Y Offline
        Yury
        wrote on last edited by
        #3

        @SGaist I'm using standart compiler (MSVC 2010). Where can I find instruction to configuring QT-Creator to work with MinGW-32? And what will be changed in qmake.exe work? Will configuring MinGW-32 affect qmake.exe work?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          You can't mix compilers like that on Windows, either you use MinGW and the MinGW package or you use Visual Studio and the corresponding Qt package. Even more, you need to match the Qt package and Visual Studio version because the compilers are not compatible one with the other.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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