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. Compile MySQL plugin on QT 4.7.3 [Closed]
QtWS25 Last Chance

Compile MySQL plugin on QT 4.7.3 [Closed]

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 3 Posters 3.6k 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.
  • D Offline
    D Offline
    doobinay
    wrote on last edited by
    #1

    Hello,
    I looked everywhere on Internet but I can't find a way to compile the MySQL driver for Qt 4.7.3!

    On tutorials like "Pikopong":http://www.pikopong.com/blog/2010/04/11/how-to-enable-mysql-support-in-qt-sdk-for-windows/, there is no "mysql/" folder and no "mysql.pro" file anywhere.

    Any idea ?
    Thanks.

    1 Reply Last reply
    0
    • Z Offline
      Z Offline
      ZapB
      wrote on last edited by
      #2
      • Download the Qt sources
      • Install the MySQL development package (you need headers and libs)
      • Configure Qt with mysql support
        @
        ./configure -qt-sql-mysql <plus other options as needed>
        @
        You may also need to explicitly add an include path and a lib path using the -I and -L options in the above configure call so that qmake can find the MySQL headers and libs.
      • Build Qt using make/nmake/jom/whatever.

      Nokia Certified Qt Specialist
      Interested in hearing about Qt related work

      1 Reply Last reply
      0
      • D Offline
        D Offline
        doobinay
        wrote on last edited by
        #3

        Oups I forgot to mention I downloaded the full QT SDK 1.1.

        What should I do then ?

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

          You obviously did not look everywhere, because right here on this forum a "topic":http://developer.qt.nokia.com/forums/viewthread/5698/ was opened yesterday on this.

          Discussion continues there. This topic is closed.

          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