logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

RE: Problem mit QT und SQLite: msg#00151

linux.redhat.fedora.german

Subject: RE: Problem mit QT und SQLite

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>
Google Custom Search

Recently Viewed:
krysalis.sandbo...    web.zope.zwiki/...    gnome.apps.gnum...    xfree86.newbie/...    editors.vim/200...    mozilla.enigmai...    boot-loaders.gr...    network.vnc.ult...    redhat.release....    java.geronimo.u...    os.netbsd.devel...    horde.wicked/20...    linux.lsb.discu...    ietf.ips/2005-0...    alsa.devel/2002...    user-groups.lin...    package-managem...    debian.devel.da...    security.cyrus....    video.gstreamer...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive 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

Navigation