MySQL driver not loaded on omap3530 evm
Hi all,
I made an application with QT that connects to a MySQL database on my Ubuntu host machine then I cross-compiled it to make it run on the omap3530 evm that I connected to my host machine via ethernet interface.
The problem is that when I run my application on the evm I get the error "MySQL driver not loaded" !!
Any body can help me with this?
Thanks in advance.
Re: MySQL driver not loaded on omap3530 evm
Are the qmysql plugin and libmysql installed on your device?
Re: MySQL driver not loaded on omap3530 evm
I will check for this.. but I don't think they're installed on the omap3530 evm, any idea about how to install them? :confused:
Re: MySQL driver not loaded on omap3530 evm
Qt plugins must be installed in $QTDIR/plugin subdirectories.
The QtSql plugins in $QTDIR/plugin/sqldrivers.
The libmysql.so must be in yout $PATH or in the directory where your app is installed.
Re: MySQL driver not loaded on omap3530 evm
The omap3530 evm is an evaluation board based on the arm cortex 8 architecture and running the linux embedded 2.6 kernel.. how can I get QT installed on it?
sorry but I'm a newbie to all this :-/
Re: MySQL driver not loaded on omap3530 evm
Sorry, I don't know your board but from your first post I thinked that you have Qt already installed on It.
Re: MySQL driver not loaded on omap3530 evm
I have QT installed on my host machine running under ubuntu, the application works fine on my host machine, the problem exists when I run the application on the board after cross-compiling it for the arm architecture !!
Re: MySQL driver not loaded on omap3530 evm
I understand this.
Can you open a telnet/ssh session on your board?
Check where your app is installed and launch the ldd command "ldd <appname>".
You can see if Qt is installed and where?
The message "MySQL driver not loaded" is a Qt message so I think you have Qt on your board.