0
我想建立MySQL驅動Qt Creator中的OSX,但我得到無法寫入文件PRI:在QT MAC OS無法創建父目錄
error: Cannot write file /mkspecs/modules-inst/qt_plugin_qsqlmysql.pri: Cannot create parent directory
那親文件
TARGET = qsqlmysql
HEADERS += $$PWD/qsql_mysql_p.h
SOURCES += $$PWD/qsql_mysql.cpp $$PWD/main.cpp
INCLUDEPATH += /usr/local/mysql-5.7.12-osx10.11-x86_64/include
QMAKE_LIBDIR += /usr/local/mysql-5.7.12-osx10.11-x86_64/lib/
LIBS += -lmysql
QMAKE_USE += mysql
OTHER_FILES += mysql.json
PLUGIN_CLASS_NAME = QMYSQLDriverPlugin
include(../qsqldriverbase.pri)
任何想法?