[Qt-interest] QDB2 - Unable to allocate environment
Rob Simmermon
rob.simmermon at simmtechsolutions.com
Fri Nov 19 19:54:29 CET 2010
I'm trying to use QDB2 driver to connect to a DB2 database on an iSeries
machine. My connect code is pretty simple:
theDatabase.setHostName(strHostName); //(Using the IP address of
the server)
theDatabase.setUserName( strUserName); //(my user name)
theDatabase.setPassword( strPassword ); //(my password)
theDatabase.setDatabaseName(strDBName); //Name of my schema
I keep getting the error :
QDB2Driver::open: Unable to allocate environment Error:
Can anyone help explain what the issue is? This is running on CentOS 5,
64-bit.
I've compiled Qt 4.7 using the following configure line:
./configure -sysconfdir '/etc/sysconfig/' -qt-sql-db2 -v
-I/opt/./IBM/db2/V8.1/include64 -L/opt/IBM/db2/V8.1/lib64 -qt-sql-mysql
Thanks!
Rob Simmermon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20101119/c10db82c/attachment.html
More information about the Qt-interest-old
mailing list