layCellTreeModel.cc:455: error: class QColor has no member named lighter

edited June 2013 in General
I am installing on RHEL 5.5, but is giving me this error.
Can you anyone advise how to fix this?

/path/klayout-0.22.7/src/layCellTreeModel.cc: In member function virtual QVariant lay::CellTreeModel::data(const QModelIndex&, int) const:
/path/klayout-0.22.7/src/layCellTreeModel.cc:455: error: class QColor has no member named lighter
gmake[1]: *** [layCellTreeModel.o] Error 1
gmake[1]: Leaving directory `/path/klayout-0.22.7/build.linux-64-gcc-release/main'
gmake: *** [all] Error 1

Comments

  • edited November -1

    Hi,

    what version of Qt are you using? The lighter method was introduced in 4.3, so I am suspecting your version is somewhat older.

    I'd recommend upgrading to 4.5 at least.

    Regards,

    Matthias

  • edited November -1
    Hi Matthias,

    Yes, I am using qt-4.2.1. I will upgrade qt and try it again.

    Thanks for your reply.
  • edited November -1
    Hi Matthias,

    It works. Thanks for your great help.
Sign In or Register to comment.