Results 1 to 3 of 3

Thread: Building QODBC and QMYSQL

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    May 2007
    Location
    Warsaw, Poland
    Posts
    52
    Thanks
    7
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Building QODBC and QMYSQL

    I've seen it.
    But look:
    mtr@mtr-laptop:~$ qmake -v
    QMake version 2.01a
    Using Qt version 4.3.2 in /usr/local/Trolltech/Qt-4.3.2/lib
    There is one oddity more:
    I ran ./configure -qt-sql-mysql. Then I made it and installed qt once again.
    As an effect there emerged libqsqlodbc.so in plugins/sqldrivers/ folder.
    I understand that it is because during installation qt found new repositories of odbc downloaded by me apart from unixODBC.

    Still I do not have QMYSQL...
    EDIT
    Look:
    QSqlDatabase: available drivers: QMYSQL3 QMYSQL QSQLITE QODBC3 QODBC
    I have tested QMYSQL and it works.
    Thus I understand that everything is fine...
    The funny thing is that although there is libqsqlodbc.so library in sqldrivers folder there is absolutely no trace of mysql library for qt.
    Last edited by mtrpoland; 25th November 2007 at 16:34.

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
  •  
Qt is a trademark of The Qt Company.