Page 1 of 1

Compiling for Ubuntu Lucid 10.04.3, QElapsedTimer

Posted: Fri Dec 21, 2012 11:42 pm
by stearman
Hi all,

Daniel, many thanks for making qCC available to the public, it is great!

While compiling for Ubuntu Lucid 10.04.3, I ran into minor problems caused by 'QElapsedTimer', which was first introduced with Qt 4.7, I think. Lucid comes with a minor Qt version, which has no such class. I googled around and found the tip to replace 'QElapsedTimer' by 'QTime' in the following way:

#include <QTime>
typedef QTime QElapsedTimer;

After that compilation was without errors, so qCC is running now, though I did not yet test things in deep.

Cheers