cannot build with QT-2.2.4 - needs QTextEdit
Brought to you by:
lurcher,
peteralexharvey
I'd like to report a problem with unixODBC-2.2.12 with QT-2.2.4.
I've build QT-2.2.4 from scratch on AIX, I haven't any QT installed before.
Then I've tried to build unixODBC-2.2.12 using that QT. (The main web site page says that QT-2.2 is needed.)
But I've failed to compile file CODBCCreate.cpp, because QT-2.2 has no class QTextEdit that was needed. Instead (I've found that in the qt/src/doc/misc.doc document) it has QMultiLineEdit class.
So, as a patch, the CODBCCreate.h file was changed:
1. the following line commented out:
#include <qtextedit.h>
2. instead, the following lines were inserted:
#include <qmultilineedit.h>
#define QTextEdit QMultiLineEdit
Moved in the gui parts