Results 1 to 5 of 5

Thread: Linux, Qt4, Qwt, and Qdevelop install

  1. #1
    Join Date
    Mar 2009
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Linux, Qt4, Qwt, and Qdevelop install

    Hi All,
    I want to make an app with some graphs. I've gotten Qt4 working with QDevelop and I can make windows and everything. I'm trying to get Qwt to work, but with no luck.

    I've downloaded qwt-5.2.0, and preformed the qmake, make. to install. But I'm still missing something. I can't get the examples to compile or run.

    I've linked the /usr/local/qwt-5.2.0-svn/include dir to /usr/include/qt4 where Qdevelop looks for headers files. But If I try to include one of the qwt header files in a project, Qdevelop complains

    Qt Code:
    1. src/main.cpp:2:22: error: qwt_plot.h: No such file or directory
    To copy to clipboard, switch view to plain text mode 

    Any help would be great. Thanks

  2. #2
    Join Date
    Mar 2009
    Posts
    22
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Linux, Qt4, Qwt, and Qdevelop install

    Quote Originally Posted by nbo10 View Post
    Hi All,
    I want to make an app with some graphs. I've gotten Qt4 working with QDevelop and I can make windows and everything. I'm trying to get Qwt to work, but with no luck.

    I've downloaded qwt-5.2.0, and preformed the qmake, make. to install. But I'm still missing something. I can't get the examples to compile or run.

    I've linked the /usr/local/qwt-5.2.0-svn/include dir to /usr/include/qt4 where Qdevelop looks for headers files. But If I try to include one of the qwt header files in a project, Qdevelop complains

    Qt Code:
    1. src/main.cpp:2:22: error: qwt_plot.h: No such file or directory
    To copy to clipboard, switch view to plain text mode 

    Any help would be great. Thanks
    Hi,
    Did you include it in this format:
    #include <qwt/qwt_plot.h>
    Where qwt should be the link name in the /usr/include/qt4 directory.


    Hüseyin

  3. #3
    Join Date
    Mar 2009
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Linux, Qt4, Qwt, and Qdevelop install

    Okay I've reinstalled qwt5 through Ubuntus package manager and things are getting better. I can put a QwtPlot on a window and it will compile. But now I'm getting a
    Qt Code:
    1. undefined reference to `QwtPlot::qt_invoke(int, QUObject*)'
    To copy to clipboard, switch view to plain text mode 
    Is this a linking problem? Thanks

  4. #4
    Join Date
    Mar 2009
    Posts
    22
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Linux, Qt4, Qwt, and Qdevelop install

    Quote Originally Posted by nbo10 View Post
    Okay I've reinstalled qwt5 through Ubuntus package manager and things are getting better. I can put a QwtPlot on a window and it will compile. But now I'm getting a
    Qt Code:
    1. undefined reference to `QwtPlot::qt_invoke(int, QUObject*)'
    To copy to clipboard, switch view to plain text mode 
    Is this a linking problem? Thanks
    Hi,
    I found this, maybe helps:
    http://lists.trolltech.com/qt-intere...ad00065-0.html


    Hüseyin

  5. #5
    Join Date
    Mar 2009
    Posts
    4
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Linux, Qt4, Qwt, and Qdevelop install

    That really doesn't help.
    What does "The results are symptomatic of not linking in the moc'd output of your classes." mean.

    The example programs wont run either.

Tags for this Thread

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.