Results 1 to 4 of 4

Thread: QMySQL Help! driver will not install

  1. #1
    Join Date
    Sep 2010
    Posts
    22
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QMySQL Help! driver will not install

    Hello guys.

    i followed this guide perfectly and when I get to the step where i type "make"

    it provides this output


    does anybody know what the problem is?

    Please help guys ive been troubleshooting for the last 3 hours to no avail

    using Windows x64/ MySQL Server 5.1 x64/ MinGW / Qt 4.7

  2. #2
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QMySQL Help! driver will not install

    If you look at the console log, you will notice -I"c:\Program" -I"Files\MySQL" etc. You either need to use the 'short' notation for extended path names or put mysql dev files into a folder without spaces.

  3. #3
    Join Date
    Sep 2010
    Posts
    22
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: QMySQL Help! driver will not install

    So i shortened the path by using dir /X

    now im getting the following error



    there are alot of files which qsql_mysql.cpp/h cannot find. these files have the name format of mysql_something@number

    whaT could the problem be?

  4. #4
    Join Date
    Oct 2009
    Posts
    364
    Thanks
    10
    Thanked 37 Times in 36 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QMySQL Help! driver will not install

    looks like you are not linking the msql client lib correctly. Can you show the contents of the .pro file and the complete log of the above build attempt?

Similar Threads

  1. Help with QMYSQL driver for QT 4.4.0: driver not loaded
    By khikho in forum Installation and Deployment
    Replies: 4
    Last Post: 1st April 2011, 15:00
  2. QMYSQL driver not loaded
    By cydside in forum Qt Programming
    Replies: 4
    Last Post: 31st March 2010, 02:18
  3. QMYSQL driver
    By pcaeiro in forum Qt Programming
    Replies: 2
    Last Post: 3rd September 2009, 14:35
  4. QMYSQL driver not loaded
    By sepehr in forum Qt Programming
    Replies: 12
    Last Post: 11th January 2009, 20:15
  5. QMYSQL driver
    By Fastman in forum Installation and Deployment
    Replies: 2
    Last Post: 26th October 2007, 08:14

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.