[Interest] QSqlDatabase::addDatabase ("QOCI")

2012-04-19 Thread salome...@terra.es
Hello, Why don“t work QSqlDatabase::addDatabase ("QOCI") in MinGW 64-bit and if it works in Visual Studio 2008 to 64-bit?. When I run my application compiled with Visual Studio works without problem, but when I run my application compiled with MinGW when it gets to that point it stops working

Re: [Interest] QSqlDatabase::addDatabase ("QOCI")

2012-04-20 Thread salome...@terra.es
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"); QApp

Re: [Interest] QSqlDatabase::addDatabase ("QOCI")

2012-04-24 Thread salome...@terra.es
Hello, can be for this: / / This is needed for oracle oci When compiling with mingw-w64 headers # if defined (__MINGW64_VERSION_MAJOR) && defined (_WIN64) # define __ int64 _int64 # endif in the src/sql/drivers/oci/qsql_oci.cpp It works in visual studio to 64 bits. And I have also tested in