Hi folks,
here is what I want to do:
I'running an apache mysql server with xampp on a windows vista 32bit machine (would like to do this with linux, but have to do it with vista...) and want to access a database through the QSqlTableModel in my xampp/mysql directory.
The dev packs(lib and header) for mysql is installed.
Qt Version is 4.4.3 and i tried to install the mysql plugin with the following command in the Qt command prompt: "c:\Qt\4.4.3\src\plugins\sqldrivers\mysql>qmak e "INCLUDEPATH+=C:\xampp\MySQL\incl
ude" "LIBS+=C:\xampp\MySQL\lib\opt\libmysql.lib" mysql.pro"
This command works, but when i do a "make" afterwards, i get lots of errors with 'undefined references to 'mysql_query@8'' and exit status 1.
Helpful:
http://doc.trolltech.com/4.4/sql-dri...gin-on-windows and
http://wiki.qtcentre.org/index.php?t...ws_using_MinGW
Installing latest mingw and using reimp should work.
What did i do wrong?
Does the mysql server has to be running when installing? - i guess no -
Is the process for installing the mysql plugin similiar for Qt4.5?
Do I need to have the mysql running as a service in my xampp control center, when I want to access the database?
Has anybody experience with this issue?
Any help would be a peach
Best Regards
--synack
Bookmarks