[Qt-interest] Make a compass
Murphy, Sean M.
sean.murphy at gd-ais.com
Mon May 4 17:22:45 CEST 2009
> Matthias Pospiech wrote:
> > Pau Garcia i Quiles schrieb:
> >> On Sat, May 2, 2009 at 1:25 PM, Stefanos Antaris
> >> <santaris at csd.auth.gr> wrote:
> >>
> >>> Matthias Pospiech wrote:
> >>>
> >>>> Stefanos Antaris schrieb:
> >>>>
> >>>>> 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?
> >>>>>
> >>>>>
> >>>> What is wrong with qwt? It works perfectly in my case.
> >>>> If you want to know how to make a compass on your own look into
> the
> >>>> qwt source code.
> >>>> But I expect that it will be much more worth to get qwt running
> than
> >>>> to try to reimplement its functionality.
> >>>>
> >>>> Matthias
> >>>>
> >>>>
> >>> I tried to install it.It seems that it is installed.I don't know
if
> it
> >>> has to install the qwt libs into the QtSDK libs in order to
work.So
> >>> as i
> >>> think the qwt libs is installed into it's own folder.When i try to
> run
> >>> any example of qwt it just crash.I can't even see something.I
don't
> >>> have
> >>> any errors.I just can't see the application.I am am Mac User.If
> that
> >>> helps you.I know that it is not a list for qwt.
> >>>
> >>
> >> Sounds like you are mixing MinGW and Visual C++ binaries
> >>
> >>
> > This is one possibility. Since there is typically more than one
> > application installed which uses Qt which comes with its own dlls
AND
> > puts its path into the System Path it happens that your qwt examples
> > are loaded with any dll that is first in the path. It is very
> unlikely
> > that the right ones are chosen.
> >
> > In order to have your own binaries loaded correct you have to put
the
> > correct dlls into the path of the binary (.exe file), or which is
> > typiclly not an option - make sure that no other qt/qwt dll is
> > installed in any path.
> >
> > So, if you put the correct qt dlls and qwt dll into the bin path of
> > the exmaples these should start without any problem.
> >
> > Matthias
> >
> >
> >
> No.I don't think so.I am a mac user.I can't use Visual C++ and
> obviously
> i don't have .exe files.
Trying running the Console application, it should be in
/Applications/Utilities/. Launch Console first, then try to run your
application. When your application crashes, it will log a message in
the Console app that should help tell you why it crash. My guess is
that your app couldn't find the Qt libraries and/or the qwt libraries.
Once we know why it's crashing we can fix it.
I guarantee you that it is possible to get it working on a Mac, so don't
give up on it. We just need more information to figure out why it isn't
working.
Also if you haven't already, read
http://doc.trolltech.com/4.5/deployment-mac.html and make sure you're
bundling up your application and libraries correctly.
Sean
More information about the Qt-interest-old
mailing list