Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Update: Forum Guidelines & Code of Conduct

    Cannot compile MySql driver under Windows

    3rd Party Software
    mysql qt creator windows
    2
    4
    1022
    Loading More Posts
    • 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
      Yury last edited by

      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 Reply Quote 0
      • SGaist
        SGaist Lifetime Qt Champion last edited by

        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 Reply Quote 0
        • Y
          Yury @SGaist last edited by

          @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 Reply Quote 0
          • SGaist
            SGaist Lifetime Qt Champion last edited by

            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 Reply Quote 0
            • First post
              Last post