How to install Qwt6.1.0rc3 under win7 64bit?
-
I compiled Qwt6.1.0 rc3 under win7 64bit OS, but when I copy the qwt_designer_plugin.dll and qwt_designer_plugin.exp qwt_designer_plugin.lib into C:\Qt\Qt5.3.0\Tools\QtCreator\bin\plugins, the Qt creator didn't show the Qwt control, Am I miss something? Any suggestion will be welcome. thank you.
-
Hi,
You are probably not using the same compiler Qt libraries has the one used to build Qt Creator. Have a look at the about box to know
-
As far as I know, the Qt version which I installed on my PC is qt-opensource-windows-x86-msvc2012_opengl-5.3.0, and I think the compiler which compiled Qt is the same with VS2012(32bit). And the Qt creator options show that the Qt used microsoft visual C++ compiler 11.0 (x86). Since compiled the QWT with Qt creator, I believe I am used the same compiler Qt libraries has the one used to build Qt Creator. What's your idea?
-
Hi,
[quote author="ScottLiu" date="1404123900"]As far as I know, the Qt version which I installed on my PC is qt-opensource-windows-x86-msvc2012_opengl-5.3.0, and I think the compiler which compiled Qt is the same with VS2012(32bit). And the Qt creator options show that the Qt used microsoft visual C++ compiler 11.0 (x86). Since compiled the QWT with Qt creator, I believe I am used the same compiler Qt libraries has the one used to build Qt Creator. What's your idea?[/quote]The Qt Creator IDE is a separate program. It is not bound to the Qt libraries.
One copy of Qt Creator can be used to manage many versions of Qt libraries.
To find out which version of the Qt libraries was used to build Qt Creator, go to Help -> About
-
When I goto help about, it shows that :
Qt Creator 3.1.1 (opensource)
Based on Qt 5.2.1 (MSVC 2010, 32 bit)Built on May 16 2014 at 04:17:40
So, Am I need to install VS2010 to deploy QWT library?
-
I wonder that is far to my question now, so I make it clear.
All I want is to deploy the result of QWT library which I compiled by Qt 5.3.0. And yes, QWT library compiled ok, but I didn't know where to depoly it(the dlls).
-
Hi,
It's not clear to me: What do you mean by "deploy"?
Do you want Qwt controls to show up in Qt Creator/Qt Designer? Or,
Do you want to write a new program that uses Qwt controls?
If you want (1), then the Qwt plugins and Qt Creator must be compiled using the same version of Qt. (In your case, you need to compile Qwt using Qt 5.2.1, MSVC 2010 32-bit)
-
Thank you, JKSH.
I do want the way (1), but unfortunately, I can't go to the website "http://qwt.sourceforge.net/qwtinstall.html#INTEGRATION".
As you mentioned, I need to compiled QWT library using Qt 5.2.1 instead of Qt 5.3.0. So I need to install Qt 5.2.1, Am I right?
-
hi, JKSH. do you want me to see the information below?
B) Win32/MSVC
Check that your Qt version has been built with MSVC - not with MinGW !
Please read the qmake documentation how to convert
your *.pro files into your development environment.
F.e MSVC with nmake:
qmake qwt.pro
nmake
nmake install
If you didn't enable autobuilding of the examples in qwtconfig.pri
you have to build the examples this way:
cd examples
qmake examples.pro
nmake
Windows doesn't like mixing of debug and release binaries. Most
of the problems with using the Qwt designer plugin are because
of trying to load a Qwt debug library into a designer release
executable.
It's not possible to load a plugin, that has been built with MinGW
into a Qt Designer/Creator, that has been built with MSVC ( and v.v ).
This is a common reason for problems, when working with prebuild
binaries of the Qt Creator.follow the step above, I try to make install, but the Qt creator still can't find QWT controls.
-
Hi,
[quote author="ScottLiu" date="1404206450"As you mentioned, I need to compiled QWT library using Qt 5.2.1 instead of Qt 5.3.0. So I need to install Qt 5.2.1, Am I right?[/quote]Right.
[quote]follow the step above, I try to make install, but the Qt creator still can’t find QWT controls.[/quote]Well, where did you install the plugins?
See http://qt-project.org/doc/qtcreator-3.1/adding-plugins.html
-
well, thank you JKSH.
I read the website you pointed out. And followed the step to find the Qt creator shows that "plugin qwt_designer_plugin.dll used some Incompatible Qt library.(5.3.0) [debug]".
Is that the reason why creator can't find Qwt controls?
Then, what should I do to make it works in Qt creator? change to release version or compile it with another compiler?