PDA

View Full Version : how to install qwt?



Eggord
21st December 2011, 01:23
my name is Jan and I'm new in this forum. So first of all HELLO to everybody!

I'm sorry about create another thread about qwt but nothing works.

i want to write a data acquisition program which plot the date( potential over time) in realtime.( GUI with the designer)

i have qwt6.0.1 and Qt Creator 2.4.0 based on Qt 4.7.4.

i read every thread i found but nothing works or i didn't understand the instruction completely. It works fine up to make install. I also can start the exaples in the qwt folder. But i don't see any widgets in the designer and i'm not sure what i have to include to me project that it find all qwt files. Sorry but i just started with Qt.

So i hope anybody out can help me with a clearly instruction to install qwt.

Thx for your help!

regards from munich
jan

btw sry for every english fault!

hgg0795
21st December 2011, 02:54
You can see: http://user.qzone.qq.com/36838263/infocenter#!

Eggord
21st December 2011, 13:50
??? sry but i'm not able to read chinese!

Oleg
21st December 2011, 13:56
Your QtCreator doesn't see Qwt's designer plugin, so you should make them visible. You can simply copy them to bin/designer folder of QtCreator installation or follow the docs (http://qwt.sourceforge.net/qwtinstall.html):


For using the designer plugin you have to configure the Qt designer/creator
where to look for plugins. This can be done by setting the QT_PLUGIN_PATH or
using a qt.conf file ( see http://doc.qt.nokia.com/4.7/deployment-plugins.html ).

Eggord
21st December 2011, 21:29
Thx Oleg for the fast answere.

I already read this but didn't understand. i know what to do but i don't know how.

can you please tell me what i have to do?

hgstoehr
22nd December 2011, 10:06
Hi,
I managed to install Qt, Qwt and QwtPolar to use the widgets in the designer with the newest releases.
I use Windows 7.
It is rather time consuming (approx. 4 hours) and a little bit complicated. So I wrote a manual for my own documentation (it's partly in English and German).
After re-compilation of the whole stuff you can zip all created directories to one file and transfer then to an other PC without any further installation.
I can send you my "manual" but I don't know how to upload! And the file has 900kByte, is it too big?

hgstoehr

Oleg
22nd December 2011, 10:48
After building Qwt copy libqwt_designer_plugin.so (or .dll in Windows) to bin/designer folder of QtCreator installation.

Uwe
22nd December 2011, 11:44
After building Qwt copy libqwt_designer_plugin.so (or .dll in Windows) to bin/designer folder of QtCreator installation.
Don't do this - instead follow the advices of the INSTALL files.

And please no more cookbooks for how to install Qwt. There are so many wrong advices in the web and most of the problems are because people are following these "success" stories.

Uwe

robotics
25th December 2011, 05:20
Dear
I have I tried to solve the problem regarding qwt and qextserialport installation and also open cv installation in qt
please refer to the blog that I have created
http://stereovision-qt.blogspot.com/

Uwe
27th December 2011, 19:09
Unfortunately once more a page with advices resulting in an incomplete installation and sub-optimal hints how to use the "installed" package.
Two postings above I explained ...

Uwe

ahmed ali
20th March 2012, 08:00
I also have the same problem is how to install Qwt :(
can any body help me to tell me what i do?
thanks in advance

gedrite
20th March 2012, 21:46
Don't do this - instead follow the advices of the INSTALL files.

And please no more cookbooks for how to install Qwt. There are so many wrong advices in the web and most of the problems are because people are following these "success" stories.

Uwe


Dear Uwe:

First, thank you for such a great library and all of the help you provide.

The real problem that many people have has nothing to do with building qwt libraries. "qmake", "make", "make install", as indicated in the Install file does work for this. The major problems, including the one faced by Eggord in the first post of this thread, is installation of the designer plugin into various applications (Qt Designer or Designer plugin in Qt Creator). The instructions for successfully installing the plugin are not included in the Install read me file. If the three commands "qmake", "make", "make install" are indeed supposed to install the plugin successfully into the Designer or Creator, the build procedure is broken unless some specific setup or directory structure that is not described in the Install read me file is required.

I think this designer plugin is such a headache for many that they want to help others when they are successful. Perhaps someone (not necessarily you) who is very competent with Qwt and Qt tools could post an official version of instructions for the various OS's.

Thanks.

Uwe
20th March 2012, 22:55
If the three commands "qmake", "make", "make install" are indeed supposed to install the plugin successfully into the Designer or Creator, the build procedure is broken ...
The three commands are all you need and nothing is broken.


... unless some specific setup or directory structure that is not described in the Install read me file is required.
Installing the designer plugin is not enough - you also have to configure the designer/creator and your environment to load the plugin from where it is installed. But this is also described in the INSTALL file.

Uwe

gedrite
21st March 2012, 00:59
The three commands are all you need and nothing is broken.

Installing the designer plugin is not enough - you also have to configure the designer/creator and your environment to load the plugin from where it is installed. But this is also described in the INSTALL file.

OK, I'm sure you are right then. My problem on OS X must be that I am not setting environment variables correctly, and why I resorted to using install_name_tool and placing plugin and qwt lib in the Qt Creator app bundle (as described in another thread), which is of course much more cumbersome then simply setting an environment variable.

Uwe
21st March 2012, 08:01
In the INSTALL file you also find the hint to read http://qt-project.org/doc/qt-4.8/deployment-plugins.html. I'm not sure why you ( and many others ) refuse to read it before starting whatever actions.

One reason for the problems is that designer/creator are too silent about loading plugins. Here it might help to set QT_DEBUG_PLUGINS to know what's going on - like it is recommended on the page above.

Uwe