You probably built Qwt with another version of Qt than the one that is used when the examples are executed.
You probably built Qwt with another version of Qt than the one that is used when the examples are executed.
Hello,
Thanks for the quick reply. Could there be another reason for the problem? There's only one Qt version on the machine, the one I downloaded and installed on the fist step that I mentioned in the previous post.
Regards.
Search your PC for QtCore4.dll. You WILL have more than one of them.
You're right. There are two versions, the one in C:\Qt\2010.05\bin and the one in C:\Qt\2010.05\qt\bin.
How do they differ?
The Qt Command Prompt, from which I built Qwt shows:
QTDIR set to C:\Qt\2010.05\qt
PATH set to C:\Qt\20010.05\qt\bin
Adding C:\Qt\2010.05\bin to PATH
--> why is the directory set to PATH different from the one added to PATH?
I just executed qmake, mingw32-make to build qwt from that prompt. How must it be done so that the examples are correctly built and qwt can be included in the projects?
Thanks.
One set of DLLs is used for QtCreator.
The other set of DLLs is the actual Qt distribution.
Since you may configure the Qt distribution to your own compiler and add or remove features from it, there needs to be a standard version for QtCreator. Otherwise as soon as you reconfigure Qt, QtCreator would stop working. Thats why there is two versions.
If you also count the debug compilation of Qt it makes the total of three Qt libraries sets within the SDK distro.
catto (3rd December 2010)
According to Squidge's reply I modified the path of the two Qcore4.dll and it works.
Bookmarks