Results 1 to 3 of 3

Thread: qwt installation for windows

  1. #1
    Join Date
    Oct 2014
    Posts
    71
    Thanks
    13
    Qt products
    Qt5
    Platforms
    Windows

    Default qwt installation for windows

    Hello

    I am trying to install the qwt for my windows pc where i have to use qwt with QT creator.
    I searched for installation in the forum and got the below thread which explains the whole process
    http://www.qtcentre.org/threads/5378...8Win7-64bit%29

    I followed all the step
    qmake qwt.pro
    mingw32-make
    mingw32-make install
    and it installed properly and i added the environmental variable also.

    But still when i created the new project in Qt i am not able to find any header file related to qwt.
    I don't have any idea why it is not working in my case

  2. #2
    Join Date
    Apr 2013
    Location
    Prague
    Posts
    258
    Thanks
    3
    Thanked 65 Times in 59 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: qwt installation for windows

    Your problem consists in not having the headers on your INCLUDE path. Find the qwt headers on your disk (using a file manager, check any example code and search a header from it). Then specify the directory in INCLUDEPATH and DEPENDPATH of your project. You can also add the directory on the INCLUDE path.

    Note that the headers can have a hierarchical structure, for example they begin at qwt directory (I don't know, I do not have qwt installed and I am not a windows user) but the headers are in subdirectories of qwt. Add qwr in the path and #include, for example, #include <subdir/header>.

    Also, expect similar problems with linking. The libraries or DLLs may not be on the PATH. If you have .lib files, specify them in LIBRARY in your project. If you have .dll, make sure that they are on the PATH.

  3. #3
    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: qwt installation for windows

    Quote Originally Posted by anh5kor View Post
    and it installed properly and i added the environmental variable also.

    But still when i created the new project in Qt i am not able to find any header file related to qwt.
    I don't have any idea why it is not working in my case
    The instructions that come with Qwt set a variable inside QMake, QMAKEFEATURES, see "Building a Qwt Application" in
    http://qwt.sourceforge.net/qwtinstall.html

    What changes did you make to your project's pro file? Did you use the:
    Qt Code:
    1. CONFIG += qwt
    To copy to clipboard, switch view to plain text mode 
    Method from the page you linked or the Qwt instructions, a diect include of qwt.prf, or individually set INCLUDEPATH and LIBS?

Similar Threads

  1. Qwt installation on Windows 7
    By qt_developer in forum Qwt
    Replies: 5
    Last Post: 26th May 2013, 20:26
  2. problem with installation on wt windows 7 x64
    By nuwa in forum Installation and Deployment
    Replies: 0
    Last Post: 9th August 2012, 19:08
  3. Windows Xp QT4 installation problem
    By drgubuntu in forum Installation and Deployment
    Replies: 0
    Last Post: 12th February 2010, 00:07
  4. Installation of Qt4.3.4 for Windows
    By merry in forum Installation and Deployment
    Replies: 4
    Last Post: 12th March 2008, 09:47
  5. Qt 4 Windows Installation Tutorial
    By Arsenic in forum Installation and Deployment
    Replies: 12
    Last Post: 4th January 2008, 23:15

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.