1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| D:\Qt\2010.02.1\qt\src\plugins\sqldrivers\mysql>d:\Qt\2010.02.1\qt\bin\qmake.exe
-o Makefile "INCLUDEPATH+=C:\MySQL\MySQL Server 5.1\include" "LIBS+=C:\MySQL\My
SQL Server 5.1\lib\opt\libmysql.lib" mysql.pro
D:\Qt\2010.02.1\qt\src\plugins\sqldrivers\mysql>c:\MinGW\bin\mingw32-make.exe
c:/MinGW/bin/mingw32-make -f Makefile.Debug all
mingw32-make[1]: Entering directory `D:/Qt/2010.02.1/qt/src/plugins/sqldrivers/m
ysql'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT -
DQT_DLL -DQT_GUI_LIB -DQT_CORE_LIB -DQT_THREAD_SUPPORT -DQT_NEEDS_QMAIN -I"..\..
\..\..\include\QtCore" -I"..\..\..\..\include\QtGui" -I"..\..\..\..\include" -I"
c:\MySQL\MySQL" -I"Server" -I"5.1\include" -I"." -I"..\..\..\..\include\ActiveQt
" -I"tmp\moc\debug_shared" -I"..\..\..\..\mkspecs\win32-g++" -o tmp\obj\debug_sh
ared\main.o main.cpp
main.cpp:42:30: error: qsqldriverplugin.h: No such file or directory
In file included from main.cpp:44:
../../../sql/drivers/mysql/qsql_mysql.h:52:19: error: mysql.h: No such file or d
irectory
In file included from main.cpp:44:
../../../sql/drivers/mysql/qsql_mysql.h:108: error: expected ')' before '*' toke
n
main.cpp:49: error: expected class-name before '{' token
main.cpp: In constructor 'QMYSQLDriverPlugin::QMYSQLDriverPlugin()':
main.cpp:58: error: class 'QMYSQLDriverPlugin' does not have any field named 'QS
qlDriverPlugin'
main.cpp: At global scope:
main.cpp:80: error: expected constructor, destructor, or type conversion before
'Q_EXPORT_PLUGIN2'
mingw32-make[1]: *** [tmp/obj/debug_shared/main.o] Error 1
mingw32-make[1]: Leaving directory `D:/Qt/2010.02.1/qt/src/plugins/sqldrivers/my
sql'
mingw32-make: *** [debug-all] Error 2 |
Partager