Собираю драйвер по инструкции.cd $QTDIR/src/plugins/sqldrivers/mysqlqmake -o Makefile "INCLUDEPATH+=/usr/local/include" "LIBS+=-L/usr/local/lib -lmysqlclient_r" mysql.proделаю make и ошибка как поправить???Код:stas@stas-desktop:~/qtsdk-2010.02/qt/src/plugins/sqldrivers/mysql$ makeg++ -c -pipe -O2 -fvisibility=hidden -fvisibility-inlines-hidden -D_REENTRANT -Wall -W -fPIC -DQT_NO_CAST_TO_ASCII -DQT_NO_CAST_FROM_ASCII -DQT_NO_DEBUG -DQT_PLUGIN -DQT_SQL_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtSql -I/usr/include/qt4 -I/usr/local/include -I. -o main.o main.cppIn file included from main.cpp:44:../../../sql/drivers/mysql/qsql_mysql.h:52: fatal error: mysql.h: Нет такого файла или каталогаcompilation terminated.make: *** [main.o] Ошибка 1
|