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

QMYSQL plugin compile failed

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P2: Important P2: Important
    • None
    • 5.9.1
    • Build System, SQL Support
    • None

      I use for compile qmysql plugin:

      cd /home/alexis031182/Qt/5.9.1/Src/qtbase/src/plugins/sqldrivers/mysql
      qmake "INCLUDEPATH+=/usr/include" "LIBS+=-L/usr/lib/x86_64-linux-gnu -lmysqlclient_r" mysql.pro

      Console print error:

      Cannot read /home/alexis031182/Qt/5.9.1/Src/qtbase/src/plugins/sqldrivers/qtsqldrivers-config.pri: No such file or directory
      Project ERROR: Library 'mysql' is not defined.

      I search file "qtsqldrivers-config.pri", but not find in qt source folder.

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

            buddenha Oswald Buddenhagen
            alexis031182 Orlov Alexandr
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes