Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-36254

Can't build Qt with MariaDB LGPL client library.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P2: Important
    • None
    • 5.2.0
    • None
    • Ubuntu 13.10

    Description

      I'm try using MariaDB LGPL client library on Ubuntu 13.10. Get it:

      bzr branch lp:mariadb-native-client

      and build it:

      cmake -DCMAKE_INSTALL_PREFIX=/usr/local -DCMAKE_BUILD_TYPE=Release ..
      make
      sudo make install

      But when I'll try to configure Qt with this drivers a have some errors.

      ./configure -prefix /usr/local -opensource -confirm-license -plugin-sql-mysql -I /usr/local/include/mariadb -L /usr/local/lib/mariadb -lmariadb

      For the sucsess compile I need change qsql_mysql.pri file:
      delete lines from

      unix {

      to the end of file.

      Or execute on cmd:

      sed -i '/unix {/,$d' qtbase/src/sql/drivers/mysql/qsql_mysql.pri

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              buddenha Oswald Buddenhagen
              dizzy Dima
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes