Andre Poenitz wrote: >> Note that this attempt at brute force also fails: >> LengthValidator::LengthValidator(QWidget * parent, const char * >> name) >> : QValidator(static_cast<QObject *>(parent), name), >> no_bottom_(true) >> {} >> ../../../../src/frontends/qt2/lengthvalidator.C: In constructor >> `LengthValidator::LengthValidator(QWidget*, const char*)': >> ../../../../src/frontends/qt2/lengthvalidator.C:26: invalid >> static_cast from >> type `QWidget*' to type `QObject*' > > *shrug* > > Aehm: Does this code see the inheritance. I.e. is there an > appropriate #include somewhere?
Have a medal! Thanks. -- Angus