[Interest] QSqlDatabase::addDatabase ("QOCI")
Thiago Macieira
thiago.macieira at intel.com
Fri Apr 20 10:27:05 CEST 2012
On sexta-feira, 20 de abril de 2012 10.04.36, SALOMEHER at terra.es wrote:
> This is a part of my code:
>
> QStringList qlis = QSqlDatabase::drivers();
> if (qlis.contains("QOCI")) MemLogs->append("It has QOCI");
> QApplication::processEvents();
> AdcConexionBD = QSqlDatabase::addDatabase("QOCI", "oracle");
> MemLogs->append("after of QOCI");
> QApplication::processEvents();
>
> in my application to print "It has QOCI", but doesn´t print "after of QOCI".
> After of print "It has QOCI" terminates execution (The program has
> unexpectedly finished.)
>
> What can be happening?
Sounds like it crashed.
Can you paste the backtrace of the crash? (gdb style)
--
Thiago Macieira - thiago.macieira (AT) intel.com
Software Architect - Intel Open Source Technology Center
Intel Sweden AB - Registration Number: 556189-6027
Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20120420/a7b3e5c3/attachment.sig>
More information about the Interest
mailing list