Results 1 to 4 of 4

Thread: mysql configuration with qt

  1. #1
    Join Date
    Nov 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default mysql configuration with qt

    Hi,
    I couldn't install Qt 4.3.2 with mysql
    i have installed like this
    ./configure -qt-sql-mysql


    The error it showed was
    ************************************************** ************************
    MySQL (thread-safe) auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o mysql.o ../mysql/mysql.cpp
    ../mysql/mysql.cpp:1:19: error: mysql.h: No such file or directory
    make: *** [mysql.o] Error 1
    MySQL (thread-safe) disabled.
    MySQL (thread-unsafe) auto-detection... ()
    g++ -c -pipe -O2 -Wall -W -I../../../mkspecs/linux-g++ -I. -I. -o mysql.o mysql.cpp
    mysql.cpp:1:19: error: mysql.h: No such file or directory
    make: *** [mysql.o] Error 1
    MySQL (thread-unsafe) disabled.
    MySQL support cannot be enabled due to functionality tests!
    Turn on verbose messaging (-v) to ./configure to see the final report.
    If you believe this message is in error you may use the continue
    switch (-continue) to ./configure to continue.
    ************************************************** *********************

    please help me.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: mysql configuration with qt

    Try following these instructions: http://wiki.qtcentre.org/index.php?t...ws_using_MinGW
    J-P Nurmi

  3. #3
    Join Date
    Nov 2007
    Posts
    9
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: mysql configuration with qt

    hey sorry i didn't mention the os.
    i am using Ubuntu 7.04 linux.

  4. #4
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: mysql configuration with qt

    Quote Originally Posted by bala View Post
    hey sorry i didn't mention the os.
    i am using Ubuntu 7.04 linux.
    Oops, I should have noticed that from your first post.

    Quote Originally Posted by bala View Post
    ../mysql/mysql.cpp:1:19: error: mysql.h: No such file or directory
    So try installing package libmysql-dev or such..
    J-P Nurmi

Similar Threads

  1. qt4.3.1 mysql problem
    By twells55555 in forum Qt Programming
    Replies: 5
    Last Post: 8th October 2007, 21:26
  2. MySQL starting problem
    By shamik in forum General Discussion
    Replies: 5
    Last Post: 25th April 2007, 07:20
  3. Mysql LD_LIBRARY_PATH Issue
    By Think_Positive in forum Installation and Deployment
    Replies: 3
    Last Post: 13th February 2007, 19:16
  4. Qt 4.1.4 & Mysql 5 on Linux x64
    By bothapn in forum Installation and Deployment
    Replies: 7
    Last Post: 4th August 2006, 13:23

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.