PDA

View Full Version : Build MySQL plugin using QtCreator



aguleo
31st July 2013, 09:28
Hi,
I tried building the MySQL plugin using QtCreator.
I'm using Qt 5.0.2, MySQL Server 5.5 (32bit) and Windows7.
Based on this (http://www.youtube.com/watch?v=r1TbNjJSlX8)video, i edited the mysql.pro file, located in C:\Qt\Qt5.1.0\5.1.0\Src\qtbase\src\plugins\sqldriv ers\mysql.
Added this lines:


INCLUDEPATH += C:/PROGRA~2/MySQL/MYSQLS~1.5/include
QMAKE_LIBDIR += C:/PROGRA~2/MySQL/MYSQLS~1.5/lib
LIBS += -lmysql

Then i disabled the "Shadow build" in the "projects" option.
After building i'm asked for a "custom executable"! What is this?