[Qt-interest] Make a compass
Karol Krizka
kkrizka at gmail.com
Sun May 3 01:03:46 CEST 2009
On Saturday 02 May 2009 03:18:08 Stefanos Antaris wrote:
> Hello.I am just trying to make a compass for my qt application.I have
> tried to use the qwt compass but something is wrong with the
> libraries.So how can i make a compass without using external
> libraries?Can anyone help me?
Take a look at:
http://doc.trolltech.com/4.5/widgets-analogclock.html
This example shows you how to create your own widgets. Furthremore, it
shows you how to draw an analogue clock, which is sort of similar to a
compass. Just remove some of the hands and make the angle of the
remaining hand static.
Of course, the better solution is still to get your QWT installation working.
I see that you already posted a message on their mailing list regarding your
problem. I think that is the best thing to do right now.
--
Cheers,
Karol Krizka
http://www.krizka.net
More information about the Qt-interest-old
mailing list