Re: QSqlDatabase: QMYSQL3 driver not loaded
I have installed the driver with YaST2. And if I can find the driver option in "Database Connection" menu and do connection (click on connect) promblemlessly. --- Chris Thompson <chris@centralsewing.com> wrote:
Most likely, Qt was compiled without the MySQL driver. Did you install Qt yourself or are you using SuSE's version? If the latter, check with them as to how to get MySQL support.
On June 1, 2004 03:00 am, Prabu Subroto wrote:
Dear my friends...
I am using SuSE 9.1, qt 3.3 and MySQL. I don't understand why I got this error message. " QSqlDatabase: QMYSQL3 driver not loaded ".
For complete information here I put my last action.
patrixlinux@patrix:~/arsip/proyek/qt/2> qmake -o Makefile coba.pro patrixlinux@patrix:~/arsip/proyek/qt/2> make /usr/lib/qt3/bin/uic depanform.ui -o .ui/depanform.h g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/main.o main.cpp /usr/lib/qt3/bin/uic depanform.ui -i depanform.h -o .ui/depanform.cpp g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/depanform.o .ui/depanform.cpp /usr/lib/qt3/bin/moc .ui/depanform.h -o .moc/moc_depanform.cpp g++ -c -pipe -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -Wall -W -O2 -march=i586 -mcpu=i686 -fmessage-length=0 -Wall -fPIC -DQT_NO_DEBUG -DQT_SHARED -DQT_TABLET_SUPPORT -I/usr/lib/qt3/mkspecs/default -I. -I/usr/include -I/usr/lib/qt3/include -I.ui/ -I. -I.moc/ -o .obj/moc_depanform.o .moc/moc_depanform.cpp g++ -o coba .obj/main.o .obj/depanform.o .obj/moc_depanform.o -L/usr/lib/ -L/usr/lib/qt3/lib/ -L/usr/X11R6/lib/ -lqt -lXext -lX11 -lm patrixlinux@patrix:~/arsip/proyek/qt/2> ls Makefile coba coba.db coba.pro depanform.ui main.cpp patrixlinux@patrix:~/arsip/proyek/qt/2> ./coba QSqlDatabase: QMYSQL3 driver not loaded QSqlDatabase: available drivers: QMYSQL3 patrixlinux@patrix:~/arsip/proyek/qt/2>
Please tell me why.
Thank you very much.
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
-- List archive and information: http://lists.trolltech.com/qt-interest/
-- chris@centralsewing.com, chris@hypocrite.org
-- List archive and information: http://lists.trolltech.com/qt-interest/
__________________________________ Do you Yahoo!? Friends. Fun. Try the all-new Yahoo! Messenger. http://messenger.yahoo.com/
participants (1)
-
Prabu Subroto