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. Compiling Qt with VS2010 and MySQL
Forum Updated to NodeBB v4.3 + New Features

Compiling Qt with VS2010 and MySQL

Scheduled Pinned Locked Moved Installation and Deployment
6 Posts 2 Posters 4.9k 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.
  • rudagR Offline
    rudagR Offline
    rudag
    wrote on last edited by
    #1

    Hello
    I'm just planning to compile Qt 4.7.2 sources with Visual Studio 2010. I will follow this tutorial:
    http://www.holoborodko.com/pavel/2011/02/01/how-to-compile-qt-4-7-with-visual-studio-2010/
    I would like to know what do I have to change (following the tutorial) to compile it with QtMySQL enabled, then I don't have to worry about compile further plugins/libs.

    By the way, will I have to compile anything else anyway to get QtMySQL working?

    Thanks

    1 Reply Last reply
    0
    • A Offline
      A Offline
      andre
      wrote on last edited by
      #2

      Actually, that should be easier than compiling it with the MinGw32. You should be able to use the standard libs from MySql, AFAIK.

      1 Reply Last reply
      0
      • rudagR Offline
        rudagR Offline
        rudag
        wrote on last edited by
        #3

        Thanks for the answer, but I want to know what I do have to modify to compile Qt with VS2010 and QtMySQL. I guess I have to modify something in this line:

        configure -debug-and-release -opensource -platform win32-msvc2010

        but I'm not sure about this.

        1 Reply Last reply
        0
        • A Offline
          A Offline
          andre
          wrote on last edited by
          #4

          I would first just compile Qt itself. The MySql driver can be compiled separately later on. A simple Google search will tell you how to do that...

          1 Reply Last reply
          0
          • rudagR Offline
            rudagR Offline
            rudag
            wrote on last edited by
            #5

            So, there's no way to compile Qt and the MySQL driver at once?

            1 Reply Last reply
            0
            • A Offline
              A Offline
              andre
              wrote on last edited by
              #6

              Sure there is, if you want.
              Did you run configure --help?

              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