Mailinglist Archive: opensuse-buildservice (197 mails)

< Previous Next >
qt3-3.3.6-129.2 doesn't load any database modules
  • From: Hans-Peter Jansen <hpj@xxxxxxxxx>
  • Date: Tue, 27 Jun 2006 14:59:29 +0200
  • Message-id: <200606271459.29789.hpj@xxxxxxxxx>
Hi,

Qt3 from KDE:/KDE3/SUSE_Linux_9.3 won't load any database modules,
although plenty of them are installed:

qt3-unixODBC-3.3.6-1.8
qt3-devel-3.3.6-129.2
qt3-devel-tools-3.3.6-1.8
qt3-postgresql-3.3.6-1.8
qt3-sqlite-3.3.6-1.8
qt3-devel-doc-3.3.6-1.57
qt3-examples-3.3.6-1.8
qt3-mysql-3.3.6-1.8
qt3-3.3.6-129.2
qt3-extensions-3.3.6-1.8

Check yourself with dbtest.cpp

#include <qapplication.h>
#include <qsqldatabase.h>

int main(int argc, char *argv[])
{
QApplication app(argc, argv);
qDebug("Available Qt database drivers: ");
QStringList list = QSqlDatabase::drivers();
QStringList::Iterator it = list.begin();
while( it != list.end() ) {
qDebug( *it );
++it;
}
return 0;
}

dbtest.pro:
SOURCES = dbtest.cpp

Any idea, what's wrong here?

Pete

< Previous Next >
Follow Ups