Results 1 to 7 of 7

Thread: using Qwt with windows

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Default using Qwt with windows

    Hi.
    I installed Qwt 5.1.1 (i am using qt 4.3.3) for Windows with MinGW Qt4 using the instructions provided in the install text file that is shipped in the zip archive.

    C) Win32/MinGW Qt4
    ==================

    C1) Windows Shell

    Start a Windows Shell, where Qt4 is initialized. ( F.e. with
    "Programs->Qt by Trolltech ...->Qt 4.x.x Command Prompt" ).

    qmake qwt.pro
    make

    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
    make
    make install
    The Qwt widgets now show up in the designer as expected. However, when i add a Qwt widget to a form, such as a qwt plot, and then try to compile it, i get an error that says

    qwt_plot.h: No such file or directory
    if i edit the *.pro file and add the line

    INCLUDEPATH += C:\qwt-5.1.1\include
    i get an error that says

    C:/dev/graphing/mainwindow.cpp:5: undefined reference to `QwtPlot::QwtPlot(QWidg
    note that line 5 is where i call the setupUi method. can someone help me out here? Thanks.
    Last edited by mesman00; 10th November 2008 at 18:18.

Similar Threads

  1. Opening text file fails after autostartup on windows
    By yogourta in forum Qt Programming
    Replies: 2
    Last Post: 18th October 2008, 03:52
  2. Windows not appearing in XP.
    By beardybloke in forum Qt Programming
    Replies: 7
    Last Post: 24th October 2007, 17:32
  3. QWT introduction
    By nitriles in forum Qwt
    Replies: 4
    Last Post: 28th September 2007, 10:48
  4. How to upgrade Qwt 5.0.1 to Qwt 5.0.2
    By luffy27 in forum Qwt
    Replies: 1
    Last Post: 15th July 2007, 19:55
  5. use interesting QWT Library with QT3.X
    By raphaelf in forum Qwt
    Replies: 2
    Last Post: 23rd January 2006, 11:24

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
  •  
Qt is a trademark of The Qt Company.