Answer the question
In order to leave comments, you need to log in
How to build QMYSQL driver from Mac in Qt?
Hello ! I'm trying to build a project with the QMYSQL driver. I open help and it says:
cd $QTDIR/qtbase/src/plugins/sqldrivers/mysql
qmake "INCLUDEPATH+=/usr/local/include" "LIBS+=-L/usr/local/lib -lmysqlclient_r" mysql.pro
make
Путь до mysql: /usr/local/mysql
/usr/local/mysql/include - Include
/usr/local/mysql/lib - Lib
Путь до Qt: /Users/user/Qt5.6.2/
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question