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] QT5.0.1 - MYSQL5.1 - Windows7 (32x/64x) - Driver not loaded
Forum Updated to NodeBB v4.3 + New Features

[SOLVED] QT5.0.1 - MYSQL5.1 - Windows7 (32x/64x) - Driver not loaded

Scheduled Pinned Locked Moved Installation and Deployment
4 Posts 2 Posters 2.9k 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
    rohaase
    wrote on last edited by
    #1

    Hi,

    first, yes I am newbie in QT.
    I have read several forums, how to bind mysql driver into my Projekt.

    1. I wand to use no plugin
      so ich tryed to configure QT5 with the following steps:

    a) mingw32-make confclean.
    b) configure.exe
    -debug-and-release
    -force-debug-info
    -platform win32-g++
    -qt-sql-mysql
    -I d:/Programme/MySQL/MySQLServer51/include
    -L d:/Programme/MySQL/MySQLServer51/lib/opt
    -l mysql
    -opensource
    -qt-libpng
    -qt-libjpeg
    -qt-freetype
    *the following flag I set, because of warnings by configure
    -no-opengl
    this flas was set because I got complier errror ld(2)
    qcollator.o not found
    -no-icu

    so, I tried outserveral flag combinations fpr the configure tool. The complier stops at different places.
    By the way, yes i used reimp ( mybe fron an older version, because this tool was not insstaled by the installing routines, not msi or zip file for Windows Installer)
    the part with dlltool ich did also, the files are in dirs, were the system has access.

    No my Question:
    Has somebody a solution for me, how I have to set the configure flas, so that qt5.01 will compile all I need ?
    If a configuration is compiled, what happend, I alsway get the info Driver not loaded.

    I read now a few nights texts, but i do not found a solution... PLEASE HELP ME ..

    Maybe, there ist no way ?

    I am a newbie in C++ - so be kind ;=)

    1 Reply Last reply
    0
    • Q Offline
      Q Offline
      qxoz
      wrote on last edited by
      #2

      Hi!
      Try this: "MySQL driver for win":http://seppemagiels.com/blog/create-mysql-driver-qt5-windows

      1 Reply Last reply
      0
      • R Offline
        R Offline
        rohaase
        wrote on last edited by
        #3

        Thx, will try this again, maybe it will help. But in various ways ich got alway mistakes like

        xx.o not found (ex. qcollator.o)

        I install after this try all again new to have a brand new system of QT5.

        thx so far for your help.
        I willpost if it works or not.
        By the way whats wrong with the flag -qt-opengl desktop alway i got a message something is missing

        I am a newbie in C++ - so be kind ;=)

        1 Reply Last reply
        0
        • R Offline
          R Offline
          rohaase
          wrote on last edited by
          #4

          SOLVED !!!

          THX what a easy Process, if explaind in clear words !!

          THX for your fast help !!

          http://seppemagiels.com/blog/create-mysql-driver-qt5-windows <great help !

          I am a newbie in C++ - so be kind ;=)

          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