Results 1 to 4 of 4

Thread: QMYSQL Instatllation

  1. #1
    Join Date
    Jul 2012
    Posts
    1
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    Windows

    Default QMYSQL Instatllation

    I have been trying to install QMYSQL already for the entire day and I need help, i followed the instruction that the QT article states and when running make -o Makefile "INCLUDEPATH+=C:/Progra~1/MySQL/MySQLS~1.0/include" "LIBS+=C:/Progra~1/MySQL/MySQLS~1.0/lib/opt/liblibmysql.a" mysql.pro , I get an error saying Cannot find file: mysql.pro . But i do have mysql and I tried searching for mysql.pro and cannot find it. Please help. I am running windows xp proffesional and I have mysql server 5.5.

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QMYSQL Instatllation

    I don't know what "the QT article" is (certainly doesn't look like the docs which do not use the "-o Makefile" option) but I guess it assumes that you have the Qt source code because otherwise it will be very difficult to compile the QMYSQL plugin. Since you don't share any information about your Qt environment it's difficult to give you specific direction.

  3. #3

    Default Re: QMYSQL Instatllation

    You find the "mysql.pro" file in a subdir of your Qt installation: <QTDIR>\src\plugins\sqldrivers\mysql
    If there is no "src"-directory you have to install the sources of Qt.

  4. #4
    Join Date
    Jul 2012
    Posts
    3
    Qt products
    Qt3 Qt4
    Platforms
    Windows

    Default Re: QMYSQL Instatllation

    Hi !

    I had the same problem when I wanted to use a MySQL db with Qt SDK.
    I found the solution with this link => http://ieatbinary.com/2011/07/11/how-to-enable-mysql-support-in-qt-sdk-for-windows/

    It could help you !

Similar Threads

  1. Qmysql
    By arjoshi in forum Installation and Deployment
    Replies: 6
    Last Post: 1st April 2011, 16:21
  2. Qmysql
    By babygal in forum Qt Programming
    Replies: 1
    Last Post: 22nd July 2010, 07:14
  3. QMYSQL driver
    By pcaeiro in forum Qt Programming
    Replies: 2
    Last Post: 3rd September 2009, 14:35
  4. I want to use QMYSQL
    By gt.beta2 in forum Qt Programming
    Replies: 15
    Last Post: 15th April 2009, 16:08
  5. another qmysql error
    By bluesguy82 in forum Installation and Deployment
    Replies: 4
    Last Post: 24th August 2006, 15:07

Tags for this Thread

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.