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. Problem with using MySQL with Qt and VS2010
QtWS25 Last Chance

Problem with using MySQL with Qt and VS2010

Scheduled Pinned Locked Moved Installation and Deployment
1 Posts 1 Posters 1.5k 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.
  • A Offline
    A Offline
    Aun Avatar
    wrote on last edited by
    #1

    I try to use MySQL with Qt and VS 2010

    I use Qt 4.7.4 and MySQL Connector C 6.0.2

    I successfully used the following commands to build the files for Qt:

    qmake "INCLUDEPATH+=C:\...\include" "LIBS+=C:\...\lib\opt\libmysql.lib" mysql.pro
    nmake

    He generated 8 new files in plugins\sqldrivers for mysql similar to the sqlite files, but when i try to use Mysql he still cant find the driver
    Would be nice if someone could help me with that Problem since i have no more idea how to bring MySQL to work with Qt and VS

    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