Results 1 to 15 of 15

Thread: how to install qwt?

  1. #1
    Join Date
    Dec 2011
    Posts
    3
    Qt products
    Qt3
    Platforms
    MacOS X

    Default how to install qwt?

    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!

  2. #2
    Join Date
    Dec 2011
    Posts
    1
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: how to install qwt?


  3. #3
    Join Date
    Dec 2011
    Posts
    3
    Qt products
    Qt3
    Platforms
    MacOS X

    Default Re: how to install qwt?

    ??? sry but i'm not able to read chinese!

  4. #4
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: how to install qwt?

    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:
    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 ).
    Oleg Shparber

  5. #5
    Join Date
    Dec 2011
    Posts
    3
    Qt products
    Qt3
    Platforms
    MacOS X

    Default Re: how to install qwt?

    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?

  6. #6
    Join Date
    Dec 2011
    Posts
    15
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to install qwt?

    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

  7. #7
    Join Date
    Oct 2007
    Location
    Lake Forest, CA, USA
    Posts
    132
    Thanks
    10
    Thanked 27 Times in 22 Posts
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android

    Default Re: how to install qwt?

    After building Qwt copy libqwt_designer_plugin.so (or .dll in Windows) to bin/designer folder of QtCreator installation.
    Oleg Shparber

  8. #8
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to install qwt?

    Quote Originally Posted by Oleg View Post
    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

  9. The following user says thank you to Uwe for this useful post:

    ahmed ali (20th March 2012)

  10. #9
    Join Date
    May 2011
    Posts
    39
    Thanks
    15
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to install qwt?

    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/

  11. #10
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Thumbs down Re: how to install qwt?

    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

  12. #11
    Join Date
    Mar 2012
    Posts
    19
    Thanks
    15
    Qt products
    Qt3 Qt4 Qt/Embedded Qt Jambi
    Platforms
    Windows Symbian S60

    Default Re: how to install qwt?

    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

  13. #12
    Join Date
    Oct 2010
    Posts
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to install qwt?

    Quote Originally Posted by Uwe View Post
    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.

  14. #13
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to install qwt?

    Quote Originally Posted by gedrite View Post
    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

  15. #14
    Join Date
    Oct 2010
    Posts
    12
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to install qwt?

    Quote Originally Posted by Uwe View Post
    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.

  16. #15
    Join Date
    Feb 2006
    Location
    Munich, Germany
    Posts
    3,312
    Thanked 879 Times in 827 Posts
    Qt products
    Qt3 Qt4 Qt/Embedded
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: how to install qwt?

    In the INSTALL file you also find the hint to read http://qt-project.org/doc/qt-4.8/dep...t-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

Similar Threads

  1. Replies: 0
    Last Post: 17th November 2011, 13:35
  2. Replies: 6
    Last Post: 13th March 2011, 23:49
  3. Replies: 4
    Last Post: 18th April 2010, 00:37
  4. How install fonts with make install
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 2nd January 2008, 19:38
  5. "make install" doesn't install binary
    By jiveaxe in forum Newbie
    Replies: 2
    Last Post: 2nd January 2008, 12:00

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.