QWT plugin QT designer 4.8.6
-
Hi all,
First post so hopefully someone can advise me
I've been using QT designer 4.8.6 successfully in the last year for developing GUIs for python 2.7 with the Pyside plug in on Windows 7 64bit.
However now I need to place a real time plot from a serial port which is causing me problems.
I can plot it using matplotlib on a seperate window but I would like to embed it in the GUI. The QWT plug in looks like the solution according to a post I found onlineBut I do not have the QWT plugin available to me in the widget box.
I have downloaded the QWT 6.1.2 zip file, extracted and compiled using QT creator 3.6 and copied the resultant plug in dll into the plugins folder in QT designer. But it did not work.I suspect it has something to do with version numbers, debug or release etc but I am completely confused by what version of Qt I need to do this on.
Also there are too many to handle.
For example, QT Creator 3.6 uses Qt 5.5.1 which is built with MSVC 2013.....So my question is :
What version of QWT do I need to download and compile with what version of QT creator to work with QT designer 4.8.6 ?? whew...Also, why cant I download a pre-compiled plug in for QT designer 4.8.6 ?
thanks
Mike -
Hi and welcome to devnet,
In order to build a plugin for Qt Creator, you have to use the same compiler and Qt version used to build Qt Creator (especially on Windows) however you could also use the Designer app that got built with your Qt 4 so you don't have to rebuild everything for Qt Creator.
Why no pre-compiled QWT plugin ? QWT is not part of Qt nor Qt Creator.
By the way its Qt, QT stands for Apple QuickTime which you might also be interested in.
-
thanks for the reply and the warm welcome.
The QWT plugin is for Qt designer which allows plotting capability. It would be very handy for me to get this working. I don't think I need Qt Creator at all only for compilation of the QWT pro file. So is there a version of Qt creator that will allow me to compile for Qt designer 4.8.6.
Or will any version of Qt creator do for compilation, but I need to match whatever Qt designer was built with ?I'm baffled by the MSVC versions and the Mingw options and thats where I'm stuck.
thanks
Mike -
Qt Creator is only an IDE, it doesn't have any role in compiling Qt or Designer. However it has a designer plugin.
Anyway, the build of Designer is part of Qt's build (Qt Creator is a different unrelated project) so basically you should already have it on your system.