|
|
Choosing A Webhost: |
RE: Problem mit QT und SQLite: msg#00151linux.redhat.fedora.german
Es wird automatisch geladen. Wenn du etwas c++ und Qt kannst, kannst dir ausgeben lassen. Welche DB Module Qt gefunden hat. Hier stehr wie das Moduel genau zu bauen ist. http://doc.trolltech.com/3.3/sql-driver.html#QSQLITE Um schau schauen, ob der treiber gefunden wird, kaanst diese kleine prog nehmen. Treiberliste.cpp __________________ #include <qstringlist.h> #include <qsqldatabase.h> #include <qapplication.h> int main( int argc, char **argv ) { QApplication a( argc, argv ); QStringList Liste = QSqlDatabase::drivers(); qDebug(QString("Die Treiber: %1").arg(Liste.join(" "))); } ___________________ Dann qmake -project qmake make -j3 Und das entstanden prog ausführen, dann gibs einen liste mit den Treiben. -----Original Message----- From: fedora-de-list-bounces@xxxxxxxxxx [mailto:fedora-de-list-bounces@xxxxxxxxxx] On Behalf Of Cedric Laczny Sent: Tuesday, March 29, 2005 12:56 PM To: Fedora discussions in German Subject: RE: Problem mit QT und SQLite Am Di, den 29.03.2005 schrieb Frank Buttner um 11:31: > Du braucht nicht die qt bibliothek neu bauen. Da die datenbankteiber > bei Qt als module lauffen, must du nur das SQLLite module bauen. Das hab ich per apt-get installiert, aber es scheint ihm trotzdem nicht zu reichen. Wenn ich "headunit" nämlich starte kommt folgende Fehlermeldung: QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: QSqlDatabase: QSQLITE driver not loaded QSqlDatabase: available drivers: QSqlQuery::exec: database not open und die letzte Zeile dann sehr oft, bis irgendwann mit einem "Speicherzugriffsfehler" abgebrochen wird. Wie kann ich denn dann das Modul laden? Installiert ist es ja... :) Gruß Cedric Laczny P.S. Woran liegt es denn, dass das installieren von Qt nicht geht, würd das doch ganz gern machen können... EHRGEIZ :) -- Fedora-de-list mailing list Fedora-de-list@xxxxxxxxxx http://www.redhat.com/mailman/listinfo/fedora-de-list
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | RE: Problem mit QT und SQLite, Cedric Laczny |
|---|---|
| Next by Date: | Re: ksynaptics, Roland Wolters |
| Previous by Thread: | RE: Problem mit QT und SQLite, Cedric Laczny |
| Next by Thread: | RE: Problem mit QT und SQLite, Cedric Laczny |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |