> Wasn't the original problem that QPropertyAnimation was new in 4.7?

Yes, but this was only the start of the problems.

The next problem was that QMargins and QLineEdit::setTextMargins(QMargins..)
was new in Qt 4.6.

The next problem was that QLineEdit::setTextMargins(int...) was new in
Qt 4.5

In the end, I concluded that there the FancyLineEdit class has no
added value for older Qt's, so I tried to guard the whole class.

Vincent

Reply via email to