Trolltech Home | Qt-jambi-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qt-jambi-interest Archive, August 2006
Database drivers


Message 1 in thread

Hi,
just one short question: Does this preview includes no database drivers yet, or am I too stupid
to figure it out how to use them?

Guido



Message 2 in thread

Guido Seifert wrote:
> Hi,
> just one short question: Does this preview includes no database drivers yet, or am I too stupid
> to figure it out how to use them?
> 
> Guido
> 

Hi Guido,

The sqlite driver should be compiled into Qt and part of the preview. 
The other database drivers are not available in this preview.

-
Gunnar


Message 3 in thread

> Hi Guido,
> 
> The sqlite driver should be compiled into Qt and part of the preview. 
> The other database drivers are not available in this preview.
> 
> -
> Gunnar

In that case probably not even the sqlite drivers are in. After I was unsuccessful with the postgres 
driver, I modified your SqlCommon example. Added a main function and called createConnection.

Result:
QSqlDatabase: QSQLITE driver not loaded
QSqlDatabase: available drivers:

Just wanted to be sure. After years of JAVA negligence, I am not too sure anymore that I know, what I am 
doing. ;-)

Guido