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. Can not compile mysql driver
Forum Updated to NodeBB v4.3 + New Features

Can not compile mysql driver

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

    Hey,

    at first, sorry for this double post, but i think, that this topic is here on the right place and not in the "Desktop Forum". I have a problem to compile the mysql-driver with qt. I´ve chosen this introduction to compile the driver with mingw: http://ieatbinary.com/2011/07/11/how-to-enable-mysql-support-in-qt-sdk-for-windows/

    My QT Version is 5.1
    My MinGw Version is 4.8
    I`ve downloaded the newest MySql Server (for the include and libs) 5.6.14

    If i compile the mysql driver i dont get errors, but if i look in the release or in the debug folder, i dont can find data likes lib or everything.

    In a little test project I`ve entered this code (qDebug() << QSqlDatabase::drivers;), to get all sql driver they are installted in qt. Here i dont can find the mysql driver, too.

    Please can tell me somebody what i doing wrong ?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mcosta
      wrote on last edited by
      #2

      HI,

      in this forum there are a lot of thread describing and solving your problem.

      • "here":http://qt-project.org/forums/viewthread/34621/
      • "here":http://qt-project.org/forums/viewthread/30559/
      • "here":http://qt-project.org/forums/viewthread/29767/

      Read these links and try yourself; if you don't reach the goal ask again providing as mush as details possible (input command, command output, environment, .....)

      Good Luck

      Once your problem is solved don't forget to:

      • Mark the thread as SOLVED using the Topic Tool menu
      • Vote up the answer(s) that helped you to solve the issue

      You can embed images using (http://imgur.com/) or (http://postimage.org/)

      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