PDA

View Full Version : mysql plugin creating issue(sh: reimp: command not found)



addu
24th September 2009, 18:47
Hi All

I am trying to create mysql plugin..

I am getting following error while running the reimp libmysql.lib


sh: reimp: command not found

how do i solve this issue ?
please help me


Thanks
Yuvaraj R

vcp
24th September 2009, 19:18
Hi,

If you will be using the Qt 2009.03.01, then copy the file attached
to C:\qt\2009.03\mingw\bin, (unzip first) and then you will be able to use it.

I don't know why the reimp.exe doesn't come joined with mingw.

Follow this steps to create a plugin:
http://wiki.qtcentre.org/index.php?title=Building_the_QMYSQL_plugin_on_Wind ows_using_MinGW

Bye

addu
24th September 2009, 20:38
Thanks

But still i am facing issue

i placed the zip folder in C:\Qt\2009.01\mingw\bin

i opened the Qt commnad prompt..

i selected the libmysqllib path :C:Mysql/mysql-noinstall-5.1.38-win32/mysql-5.1.38-win32/lib/opt

i ran

the reimp libmysql.lib command but it is giving error like


reimp is not recognized internal or external command
operable program or batch file


Please help me

Thanks

Yuvaraj R

addu
24th September 2009, 20:41
Thanks you very much

I placed the exe file within reimp folder.. that's why i got error

Thanks

Yuvaraj R

addu
24th September 2009, 20:59
still i am having issue

it is showing no such file in


c/Mysql/mysql-noinstall-5.1.38-win32/mysql-5.1.38-win32

no suh a file


g++:lib\opt\liblibmysql.a

please help me


Thanks

Yuvaraj R

Baasie
25th September 2009, 15:03
when i made the mysqwl plugin i did not need to reimp the lib.. all i did was just the following:


open QT Prompt...and do this

cd %QTDIR%\src\plugins\sqldrivers\mysql
qmake "INCLUDEPATH+=C:\MySQL\include" "LIBS+=C:\MYSQL\lib\opt\libmysql.lib" mysql.pro
mingw32-make

and i put the mysql.lib into the windows/system32 and the mingw32 lib


this was all i did.. and builded in release not debug

i never tried it on a clean isntall but only after i used the phonon4qt package.