QwtText warning: Type conversion already registered from type QString to type QwtText
I'm using qwt-6.2-git and am getting a warning "Type conversion already registered from type QString to type QwtText" in the terminal when doing the following:
I can't find anything in my code that's registering a QString to QwtText.
Is there a way I can turn off this warning or understand what's causing it?
Re: QwtText warning: Type conversion already registered from type QString to type Qwt
Quote:
Originally Posted by
alketi
I'm using qwt-6.2-git and am getting a warning "
Type conversion already registered from type QString to type QwtText" in the terminal when doing the following:
I can't find anything in my code that's registering a QString to QwtText.
Is there a way I can turn off this warning or understand what's causing it?
The converter is registered here: https://sourceforge.net/p/qwt/git/ci...c/qwt_text.cpp
Maybe you can use the debugger to find out why it is called twice or if there is another place where such a converter is registered.
Uwe
Re: QwtText warning: Type conversion already registered from type QString to type Qwt
Thanks Uwe. In case anyone has this issue in the future, my problem was statically linking to the qwt library twice within an app. Once in the main tool and a second time in a plugin. I removed the second link (from the plugin) and the warning is now gone.