Results 1 to 9 of 9

Thread: How to install QWT

  1. #1
    Join Date
    Apr 2013
    Posts
    5
    Qt products
    Platforms
    Windows

    Default How to install QWT

    Hello all,

    I am currently having trouble installing the QWT package on my Windows 7 PC. Precisely, I have no idea how to install it. The link to this package is http://qwt.sourceforge.net/ . I've also looked at their installation instructions at http://qwt.sourceforge.net/qwtinstall.html but still have no luck getting it to work. Can anyone help me?

    Thanks,

  2. #2
    Join Date
    Nov 2007
    Posts
    55
    Thanks
    1
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: How to install QWT

    which compiler and IDE do you intend to use?

    Alain

  3. #3
    Join Date
    Apr 2013
    Posts
    5
    Qt products
    Platforms
    Windows

    Default Re: How to install QWT

    Hello Alain,

    I want to use the PyScripter and Python 2.7. I am attempting to recreate this project: http://danstrother.com/2011/01/15/re...en-controller/ . The author has written a python GUI program to do this. However, this Python program requires the QWT package, if I don't have this package then when PyScripter tries to run the program, it'll give me the "ImportError: No module named Qwt5". I have spent the past couple hours to search for a solution but to no avail.

    Regards,
    Phuc

  4. #4
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to install QWT

    Qwt is a C++ library. You will also need the Python wrapper from http://pyqwt.sourceforge.net/

  5. #5
    Join Date
    Apr 2013
    Posts
    5
    Qt products
    Platforms
    Windows

    Default Re: How to install QWT

    Here is what I have done so far
    1. Download and install QT 5.0.1 (MinGw) to: "C:\Qt\Qt5.0.1"
    2. Download and extract Qwt 6.1 RC3 to: "C:\qwt-6.1-rc3"
    3. Add "C:\Qt\Qt5.0.1\5.0.1\mingw47_32\bin" to your systems path variable (qmake.exe is located here)
    4. Add "C:\Qt\Qt5.0.1\Tools\MinGW\bin" to your systems path variable (mingw32-make.exe is located here)
    5. Open a command line (cmd) and navigate to: "C:\qwt-6.1-rc3"
    6. Type: "qmake" (This command won't prompt any msg so don't worry)

    However, the next step is where I'm having trouble:
    7. Type: "mingw32-make" => this is where I have been stuck for the past couple hours. I've included the output error from make here for you to see

    Capture.PNG

    Please take a look at it b/c I couldn't figure this out and google hasn't been able too either.

    Thanks,
    Phuc Pham

  6. #6
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: How to install QWT

    Remove the paths from the system PATH. Start a command prompt from the Start menu under Qt\5.0.1 (or 5.0.2 your post is confused). Run the qmake and build from there.

  7. #7
    Join Date
    Apr 2013
    Posts
    5
    Qt products
    Platforms
    Windows

    Default Re: How to install QWT

    Hello Chris,

    thanks for your suggestion. However, it didn't work. I've attached the errors report along with this post. Please take a look and tell me what you think. Btw, I installed QT 5.0.2, not 5.0.1. Sorry for the confusion.

    Capture2.jpg

    Regards,
    Phuc

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

    Default Re: How to install QWT

    The Qwt python bindings have never been ported to Qwt 6, so forget about Qt 5: your combination is Qt 4.8 + Qwt 5.2.

    Uwe

  9. #9
    Join Date
    Apr 2013
    Posts
    5
    Qt products
    Platforms
    Windows

    Default Re: How to install QWT

    Hello uwe,

    Thank you for your suggestion. I think I was able to install QWT and the PyQWT. However, I still got the same error below when trying to run the Python file. Can you help me out with this?

    Capture3.jpg

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.