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] Qt 5.1 installing mysql plugin.
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] Qt 5.1 installing mysql plugin.

Scheduled Pinned Locked Moved Installation and Deployment
5 Posts 3 Posters 2.0k 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.
  • Z Offline
    Z Offline
    zeno tash
    wrote on last edited by
    #1

    I've been having a lot of trouble getting mysql plugin to work so that I can access an online sql database. I'm new to programming and especially Qt. Would appreciate any help.

    1 Reply Last reply
    0
    • P Offline
      P Offline
      Psycho_Coder
      wrote on last edited by
      #2

      Have a look at these :-

      http://qt-project.org/forums/viewthread/26792

      http://www.qtcentre.org/threads/23974-Build-Mysql-plugin-for-Qt

      http://stackoverflow.com/questions/14362881/qt-mysql-cant-load-plugin-driver-qlibrary-qpluginloader-successfuly-loaded-qs

      These should help you out.

      "Don't do anything by half. If you love someone, love them with all your soul. When you hate someone, hate them until it hurts."
      -------- Henry Rol...

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        Hi and welcome to devnet,

        You need to provide more information about your problem. What is not working ? What have you tried ? What version of OS etc...

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • Z Offline
          Z Offline
          zeno tash
          wrote on last edited by
          #4

          Here's what I've tried:

          I've tried "this guide":http://www.seppemagiels.com/blog/create-mysql-driver-qt5-windows .

          I got to step 4. version 5.1 has different paths than 5.0.1 so my target folder was
          C:\Qt\Qt5.1.0\5.1.0\Src\qtbase\src\plugins\sqldrivers\mysql
          the mysql files were ok. I tried with double \ and single / with similar results.

          everything ran except "mingw32-make". I'm not sure what it is and the line's not recognized after I install MinGW. There are no qsqlmysql.dll and qsqlmysqld.dll files.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #5

            What installer did you use for Qt ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            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