PDA

View Full Version : How to see the source code of QGraphhicsItemAnimation Class



ashukla
8th September 2007, 06:18
Dear Viewer!
How to see the source code of QGraphhicsItemAnimation Class.
Tell me the location of Souce code.

marcel
8th September 2007, 08:23
$QTDIR\src\gui\graphicsview\qgraphicsitemanimation .cpp and also the header.

Regards

ashukla
8th September 2007, 10:04
$QTDIR\src\gui\graphicsview\qgraphicsitemanimation .cpp and also the header.

Regards

I am getting the QGraphicsItemAnimation.h in the following path. but I am not getting QGraphicsItemAnimation.cpp.
/usr/local/Trolltech/Qt-4.3.1/include/QtGui

I also use the find command to locate the corresponding .cpp file. but file does not exists.
Where I get this file.
regards!

marcel
8th September 2007, 10:06
Oh, you must have compiled Qt and installed it via "make install".
The sources were not installed at that location.
If you still have the initial distribution from which you installed, you can check the src/gui/graphicsview directory.

Otherwise download the source archive from trolltech and get the source from there.

Regards