[Qt-interest] Qt 4.7, MySQL plugin OS X. stuck.
hello
helloalias at me.com
Tue Sep 28 06:44:29 CEST 2010
Thank you so much for responding.
I will be trying this out soon. I knew I could not be the only one that experienced this!
Trolls: I had a stock 10.6 install with a installer version of Qt 4.7 version just before official release. And I installed mysql on my machine using the mysql installer.
Very generic off the shelf set up. Surprised this is not being seen more.
------------------
(small type -soec = -spec I believe)
Hello, i've experienced the same situation and managed to solve it
- add CONFIG += x86 in the mysql.pro file
- add -soec macx=g++ in the qmake command line.
eg :
qmake -spec macx-g++ -o Makefile "INCLUDEPATH+=/usr/local/mysql/include"
"LIBS+=-L/usr/local/mysql/lib -lmysqlclient_r" mysql.pro
- make -f release
Then you can copy the libsqlmysql.dylib into the plugins directory
cp libqsqlmysql.dylib
/Developer/Applications/Qt/plugins/sqldrivers/libqsqlmysql.dylib
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100928/33b432c6/attachment.html
More information about the Qt-interest-old
mailing list