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. [Solved] Problems with building MySQL Driver
Forum Updated to NodeBB v4.3 + New Features

[Solved] Problems with building MySQL Driver

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

    Hi

    I'm new to this whole Qt thing and I've been trying to build the MySQL driver today (the whole day, actually).

    This is what I do:

    Windows 7 64 bit

    Qt 5.1.1 + sources installed

    MySQL 5.6.X installed (using 32bit files from zip distribution)

    Using MinGW shipped with Qt (4.8 I think)

    Using Qt shell from start menu

    Executing:
    set mysql=D:\Qt\Qt5.1.1\mysql-5.6.15-win32
    cd /D D:\Qt\Qt5.1.1\sources\qtbase\src\plugins\sqldrivers\mysql
    qmake -o Makefile "INCLUDEPATH+=%mysql%\include" "LIBS+=%mysql%\lib\libmysql.a" mysql.pro

    ---No errors---

    mingw32-make

    I get this:

    http://pastebin.com/rLnBakiR

    No errors in this mess, but I see no .dll and .a files created anywhere in the current folder.
    Any tips? What's happening?

    There files are supposed to appear in D:\Qt\Qt5.1.1\sources\qtbase\src\plugins\sqldrivers:

    libqsqlmysql.a

    libqsqlmysqld.a

    qsqlmysql.dll

    qsqlmysqld.dll

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tsuki
      wrote on last edited by
      #2

      Nevermind,
      "mingw32-make install" showed me that I was looking in the wrong folder, the files were created just fine.

      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