Hi
I have found a problem with Qt4 GUI programs from this project on some of my systems.
The problem is in DSN table and Drivers table - it is not allowed to select the rows of those tables. This makes the GUI tools unusable to configure DSNs/Drivers.
This problem is repeated on Slackware13 and Mandriva2010.0. In other case - no such problem on CentsOS5.4. Some Qt4 version differences I think.
And it is applies both to this project svn snapshot and latest unixodbc-2.2.14 src package from unixodbc.org.
The proposed solution I have found (in unixodbc-2.2.14 sources, hope applies to this project too):
In the following classes:
- odbcinstQ4/CDataSourceNameList.cpp
- odbcinstQ4/CDriverList.cpp
change the call:
- ptablewidgetitem->setFlags( Qt::ItemIsSelectable );
with following:
- ptablewidgetitem->setFlags( Qt::ItemIsSelectable | Qt::ItemIsEnabled );
This solves the problem on my systems. Hope this will help someone else.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi
I have found a problem with Qt4 GUI programs from this project on some of my systems.
The problem is in DSN table and Drivers table - it is not allowed to select the rows of those tables. This makes the GUI tools unusable to configure DSNs/Drivers.
This problem is repeated on Slackware13 and Mandriva2010.0. In other case - no such problem on CentsOS5.4. Some Qt4 version differences I think.
And it is applies both to this project svn snapshot and latest unixodbc-2.2.14 src package from unixodbc.org.
The proposed solution I have found (in unixodbc-2.2.14 sources, hope applies to this project too):
In the following classes:
- odbcinstQ4/CDataSourceNameList.cpp
- odbcinstQ4/CDriverList.cpp
change the call:
- ptablewidgetitem->setFlags( Qt::ItemIsSelectable );
with following:
- ptablewidgetitem->setFlags( Qt::ItemIsSelectable | Qt::ItemIsEnabled );
This solves the problem on my systems. Hope this will help someone else.