Hi list, Now I recompiled the most recent libqt4 sql plugins source rpm by replacing the release version number and the contained qt-src.tar.gz with 4.2.0.
After a successful build I installed the mysql plugin and everything worked as expected. Am Dienstag, 14. November 2006 13:17 schrieb Stefan Sander: > Hi, > > Whats the reason libqt4 sql plugins have a different version then the core > qt4 libs? > > I tried compiling a simple qt4 app using QtSql with no succes. > Error Message is always: > > QSqlDatabase: QMYSQL driver not loaded > QSqlDatabase: available drivers: > Could not open db QSqlError(-1, "Driver not loaded", "Driver not loaded") > > *> rpm -qa libqt* > libqt4-x11-4.2.0-21.1 > libqt4-sql-4.2.0-21.1 > libqt4-devel-doc-4.2.0-21.1 > libqt4-4.2.0-21.1 > libqt4-qt3support-4.2.0-21.1 > libqt4-sql-mysql-4.2.1-3.2 > libqt4-devel-4.2.0-21.1 > > My ~/.config/Trolltech.conf > [Qt%20Plugin%20Cache%204.2.false] > usr\lib\qt4\plugins\sqldrivers\libqsqlmysql.so=40201, 0, i686 Linux g++-4 > full-config, 2006-11-11T13:16:02 > > Regards > Stefan > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
