[Qt-interest] Make a compass
Matthias Pospiech
matthias.pospiech at gmx.de
Sat May 2 17:09:17 CEST 2009
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
More information about the Qt-interest-old
mailing list