Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. [SOLVED]QMySQL Plugin for Windows
Forum Updated to NodeBB v4.3 + New Features

[SOLVED]QMySQL Plugin for Windows

Scheduled Pinned Locked Moved General and Desktop
4 Posts 2 Posters 1.8k 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.
  • M Offline
    M Offline
    melghawi
    wrote on last edited by
    #1

    Hello everyone,

    I am trying to build the plugin for MySQL and am following "these":http://qt-project.org/doc/qt-5.0/qtsql/sql-driver.html#how-to-build-the-qmysql-plugin-on-windows instructions.

    I have installed Qt 5.1 and MySQL 5.6 on my Windows machine.

    I cannot find the file paths referred to by the instructions in MySQL installation. I did however find the header files and lib it was asking for not sure if they are the correct ones. When I build using them Qt reports that it has QMYSQL support but when I try to use it, it says did not load QMYSQL driver.

    Can anyone help?

    Thanks you very much in advance.

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

      Hi,

      once you compiled QMYSQL Driver, you must copy mysql native library in a directory inserted in PATH environemt variable

      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
      • M Offline
        M Offline
        melghawi
        wrote on last edited by
        #3

        I'm sure I have since Qt reports that it has QMYSQL support.

        1 Reply Last reply
        0
        • M Offline
          M Offline
          melghawi
          wrote on last edited by
          #4

          Solved in "this":http://qt-project.org/forums/viewthread/30332/ thread.

          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