It’s about 3 days I’m working on install mysql driver but it hasn’t worked. first i tested with xampp and didn’t work, second i decided install mysql server but it didn’t work either, i wrote this instructions in “Start>All Program>Qt SDK>Desktop>Qt 4.8.1 for Desktop (MinGW)”
cd C:\\QtSDK\\QtSources\\4.8.1\\src\\plugins\\sqldrivers\\mysql
qmake "INCLUDEPATH+=C:\\Program Files\\MySQL\\MySQL Server 5.6\\include" "LIBS+=C:\\Program Files\\MySQL\\MySQL Server 5.6\\lib" mysql.pro
make
but cmd show me 2 errors for example:
make[1]: ***[tmp/obj/debug_shared/main.o] Error 1
make[1]: leaving directory '/c/QtSDK/QtSources/4.8.1/src/plugins/sqldrivers/mysql'
I have no idea what i must to do. please tell me what must i do
↧