Results 1 to 9 of 9

Thread: how to install qwt to QT creator?

  1. #1
    Join Date
    Mar 2011
    Posts
    5
    Thanks
    3
    Thanked 1 Time in 1 Post

    Exclamation how to install qwt to QT creator?

    My qt and qwt version:
    Qt Creator 2.0.1 Based on Qt 4.7.0 (32 bit),
    qwt-6.0.0-rc5

    They are the latest version.
    I have read many tutorials about how to install qwt ,but all of them had been written by several years ago.I have tried on my qt but it doesn't work.

    One of the errors is: they said if I use qt creator to compile qwt.pro, it will generate two files: qwt5.dll and libqwt5.a. But I find nothing but qwtd.dll and libqwtd.dll in that folder.

    I wonder if the version is different,the operational steps are different.

    Have somebody install qwt to qt creator of the latest version successful?
    Please,I beg you to help.Thanks a lot!

  2. #2
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,590
    Thanks
    13
    Thanked 1,586 Times in 1,515 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: how to install qwt to QT creator?

    Sure. What is the problem? "It doesn't work" is not a useful summary of the problem.

    One of the errors is: they said if I use qt creator to compile qwt.pro, it will generate two files: qwt5.dll and libqwt5.a. But I find nothing but qwtd.dll and libqwtd.dll in that folder.
    qwt5.dll and libqwt5.a are release libraries for Qwt. This is what you get if you build the 5.2.1 release set from the 5.2.1 subversion branch. The build defaults to release because that how most people will use it.

    If you choose to build using a pre-release set of sources for Qwt 6 then:
    qwt.dll and libqwt.a are release libraries
    qwtd.dll and libqwtd.a are debug libraries

    I just checked out a fresh Qwt from SVN trunk and built it:
    Qt Code:
    1. d:\> svn co https://qwt.svn.sourceforge.net/svnroot/qwt/trunk/qwt qwt-svn
    2. d:\> cd qwt-svn
    3. d:\qwt-svn> qmake
    4. d:\qwt-svn> mingw32-make
    5. ...
    6. d:\qwt-svn> dir /b lib
    7. libqwt.a // release lib
    8. libqwtd.a // debug lib
    9. libqwtmathml.a
    10. libqwtmathmld.a
    11. qwt.dll // release lib
    12. qwtd.dll // debug lib
    13. qwtmathml.dll
    14. qwtmathmld.dll
    To copy to clipboard, switch view to plain text mode 

    If you want to use the Designer plugin then you need to match the compiler used to build Designer with the one used to build Qwt.

  3. The following user says thank you to ChrisW67 for this useful post:

    ethanfeng (12th March 2011)

  4. #3
    Join Date
    Jun 2009
    Location
    AKL | New Zealand
    Posts
    62
    Thanks
    21
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to install qwt to QT creator?

    Hi ethanfeng,

    here is a link to install qwt. and people replied that they success installed qwt by following this tutorial. and it's not written several years ago
    http://studyard.blogspot.com/2010/10...t-problem.html

    i hope it works for you.

  5. The following user says thank you to cooper for this useful post:

    ethanfeng (12th March 2011)

  6. #4
    Join Date
    Mar 2011
    Posts
    5
    Thanks
    3
    Thanked 1 Time in 1 Post

    Default Re: how to install qwt to QT creator?

    thank you very much!!
    i finally success install it!

  7. The following user says thank you to ethanfeng for this useful post:

    dare5421 (17th March 2011)

  8. #5
    Join Date
    Feb 2011
    Posts
    4
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to install qwt to QT creator?

    Hi ethanfeng
    Can you tell me how do u install it?
    thank u

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

    Default Re: how to install qwt to QT creator?

    There are the instructions in the Qwt source, the linked tutorial, and my earlier post showing exactly how you obtain, build and install the Qwt 6.0 pre-release source from Subversion. Assuming that you are using the Qt SDK for Windows:
    • Unpack the source tar ball for Qwt 5.2.1
    • Edit qwtconfig.pri to adjust it to your needs, particularly the install path.
    • Start a Qt Command Prompt
    • Change directory to the source directory
    • qmake
    • mingw32-make # If you are using MSVC then the make command is "nmake"
    • mingw32-make install

  10. #7
    Join Date
    Mar 2011
    Location
    Narvik, Norway
    Posts
    13
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: how to install qwt to QT creator?

    Quote Originally Posted by cooper View Post
    Hi ethanfeng,

    here is a link to install qwt. and people replied that they success installed qwt by following this tutorial. and it's not written several years ago
    http://studyard.blogspot.com/2010/10...t-problem.html

    i hope it works for you.
    Hi, that forum is closed, and only viewable from invite

  11. #8
    Join Date
    Jun 2009
    Location
    AKL | New Zealand
    Posts
    62
    Thanks
    21
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: how to install qwt to QT creator?

    Quote Originally Posted by Badeand View Post
    Hi, that forum is closed, and only viewable from invite
    I have googled it, and found it has been redirect to here:
    http://oestudyard.blogspot.co.nz/201...in-ubuntu.html

  12. #9
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,590
    Thanks
    13
    Thanked 1,586 Times in 1,515 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: how to install qwt to QT creator?

    There are perfectly good instructions in the Qwt distribution and on the Qwt web site. You do not need a third party blog which is more than likely unusably specific or just plain wrong. You just need a modicum of understanding of your tools and the supplied instructions.

Similar Threads

  1. New Mac Install: QT Creator crashes when opening the CppEditor.
    By Templar in forum Installation and Deployment
    Replies: 0
    Last Post: 1st February 2011, 19:28
  2. Replies: 4
    Last Post: 18th April 2010, 01:37
  3. Replies: 1
    Last Post: 23rd February 2010, 01:01
  4. How install fonts with make install
    By jiveaxe in forum Qt Programming
    Replies: 1
    Last Post: 2nd January 2008, 20:38
  5. "make install" doesn't install binary
    By jiveaxe in forum Newbie
    Replies: 2
    Last Post: 2nd January 2008, 13:00

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.