So, it appears that things have changed siznce qt-2.3.x:

g++ -DHAVE_CONFIG_H -I. -I../../../../src/frontends/qt2 -I../../../src 
-I../../../../src/ -I../../../../src/frontends/ -I../../../../images 
-I/usr/lib/qt3-gcc3.2/include -I../../../../boost 
-I../../../../src/frontends/controllers -I/usr/X11R6/include 
-DQT_CLEAN_NAMESPACE -DQT_GENUINE_STR -DQT_NO_TRANSLATION -g -O 
-fno-exceptions -W -Wall -c 
../../../../src/frontends/qt2/lengthvalidator.C -MT 
lengthvalidator.lo -MD -MP -MF .deps/lengthvalidator.TPlo
../../../../src/frontends/qt2/lengthvalidator.C: In constructor
   `LengthValidator::LengthValidator(QWidget*, const char*)':
../../../../src/frontends/qt2/lengthvalidator.C:28: no matching 
function for
   call to `QValidator::QValidator(QWidget*&, const char*&)'
/usr/lib/qt3-gcc3.2/include/qvalidator.h:64: candidates are:
   QValidator::QValidator(const QValidator&)
/usr/lib/qt3-gcc3.2/include/qvalidator.h:54:
   QValidator::QValidator(QObject*, const char* = 0)
make[5]: *** [lengthvalidator.lo] Error 1

Do we need a bit of #ifdef magic?

-- 
Angus

Reply via email to