Results 1 to 11 of 11

Thread: install Qwt Qtcreator

  1. #1
    Join Date
    Mar 2009
    Location
    Tunisia
    Posts
    38
    Thanks
    12
    Platforms
    Windows

    Question install Qwt Qtcreator

    hello,

    i work under windows xp , Qt 4.5 and Qt creator .
    i need to display some 2D plots ,since i'm using Qt for my GUI ,i decide to try Qwt .
    now i want to install Qwt on my environnement ,as a Qt beginner ,i read install instructions but i didn't understand .
    someone can give me some links or how to install Qwt ?

    thanks in advance .

  2. #2
    Join Date
    Mar 2009
    Location
    Tunisia
    Posts
    38
    Thanks
    12
    Platforms
    Windows

    Default

    I tried to follow installl instructions of qwt ,i succes to generate .exe for exemples.
    I move source files to other directory and try to compile :
    qmake -project
    qmake
    now i have to change makefile but how to do it ???
    i followed http://www.qtcentre.org/forum/f-qwt-...ved-18905.html but it doesn't work !

  3. #3
    Join Date
    Mar 2009
    Location
    Tunisia
    Posts
    38
    Thanks
    12
    Platforms
    Windows

    Default Re: install Qwt Qtcreator

    here is how to modify your *.pro
    enjoy !

  4. #4
    Join Date
    Nov 2010
    Posts
    2
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: install Qwt Qtcreator

    hi to all user
    at last i can find how can install and use "qwt" with "Qt creator" without any recompile creator !
    it is very simple but need to remind one point
    for using qwt you don't need to see it in qt creator widget list(left panel) BECAUSE:
    1- you can create your form in qt "Qt Designer" .
    2. add form to your project.
    3. customize project pro file.
    4.Compile and enjoy.

    first download qwt-6.0.0-rc4
    from sourcefoge, if it is not same as above version not important.
    Do this step by step
    1.)copy and unzip download file in C:\qwt-6.0.0-rc4
    2.)open “C:\qwt-6.0.0-rc4\examples.pro”
    change “include( ../qwtconfig.pri ) “ =>
    ” include(qwtconfig.pri ) “
    3.)Open “C:\qwt-6.0.0-rc4\ textengines\textengines.pro”
    change “include( ../qwtconfig.pri ) “ =>
    ” include(qwtconfig.pri ) “
    4.)Open “C:\qwt-6.0.0-rc4\ qwt.pro” with “Qt Creator” Compile it in DEBUG mode
    5.)if you see only some worning it is usually so don’t care;
    6.) After compile complete
    7.)goto “C:\ qwt-build-desktop \plugins\designer\designer”
    8.)Copy “libqwt_designer_plugin.a” and “qwt_designer_plugin.dll” paste to
    “[Qt install path]\qt\plugins\designer”
    9.)goto “C:\ qwt-build-desktop\lib”
    10)copy “qwt.dll” to “[Qt install path]\qt\bin”
    11)copy “C:\qwt-build-desktop\lib\*” to “C:\qwt-6.0.0-rc4 \lib\*”
    Now you can use QWT Widget in your form at “Qt Designer”;
    Now important place begin;
    1.)create new project in qt and in wizard uncheck “Generate form”
    2.)create your form in Qt Designer and save it in your project directory.
    3.)Add Your designed form to your project.
    4.)add this lines to your project pro file
    INCLUDEPATH += C:/qwt-6.0.0-rc4/src
    win32:LIBS += C:/qwt-6.0.0-rc4/lib/libqwtd.a
    win32:QMAKE_POST_LINK = copy /Y C:\qwt-6.0.0-rc4\lib\qwtd.dll $(DESTDIR)
    CONFIG +=qwt

    If you run in debug mode red word stay
    If you run in Release mode then “libqwtd=libqwt” and “qwtd=qwt”

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

    chriskon149 (14th November 2011)

  6. #5
    Join Date
    Dec 2010
    Posts
    4
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Windows Symbian S60 Maemo/MeeGo

    Default Re: install Qwt Qtcreator

    Hi
    I have tried the steps you described here but I get an error as can be seen in the following compiler output. Can you help?

    Running build steps for project qwt...
    Configuration unchanged, skipping qmake step.
    Starting: "C:/NokiaQtSDK/mingw/bin/mingw32-make.exe" -w
    mingw32-make: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator'

    cd src\ && C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile

    mingw32-make[1]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'

    C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile.Debug all

    mingw32-make[2]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'

    mingw32-make[2]: Nothing to be done for `all'.

    mingw32-make[2]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'

    C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile.Release all

    mingw32-make[2]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'

    mingw32-make[2]: Nothing to be done for `all'.

    mingw32-make[2]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'

    mingw32-make[1]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/src'

    cd textengines\ && C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile

    mingw32-make[1]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/textengines'

    mingw32-make[1]: Nothing to be done for `first'.

    mingw32-make[1]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/textengines'

    cd designer\ && C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile

    mingw32-make[1]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/designer'

    C:/NokiaQtSDK/mingw/bin/mingw32-make -f Makefile.Debug all

    mingw32-make[2]: Entering directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/designer'

    linking plugins\designer\qwt_designer_plugin.dll

    mingw32-make[2]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/designer'

    mingw32-make[1]: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator/designer'

    mingw32-make: Leaving directory `C:/Documents and Settings/shahriar/Desktop/qwt-build-simulator'

    c:/nokiaqtsdk/mingw/bin/../lib/gcc/mingw32/4.4.0/../../../../mingw32/bin/ld.exe: cannot find -lQtDesignerd

    collect2: ld returned 1 exit status

    mingw32-make[2]: *** [plugins\designer\qwt_designer_plugin.dll] Error 1

    mingw32-make[1]: *** [debug-all] Error 2

    mingw32-make: *** [sub-designer-make_default-ordered] Error 2

    The process "C:/NokiaQtSDK/mingw/bin/mingw32-make.exe" exited with code %2.
    Error while building project qwt (target: Qt Simulator)
    When executing build step 'Make'

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

    Default Re: install Qwt Qtcreator

    Quote Originally Posted by mpsoft View Post
    hi to all user
    at last i can find how can install and use "qwt" with "Qt creator" without any recompile creator !
    it is very simple but need to remind one point
    for using qwt you don't need to see it in qt creator widget list(left panel) BECAUSE:
    1- you can create your form in qt "Qt Designer" .
    2. add form to your project.
    3. customize project pro file.
    4.Compile and enjoy.

    first download qwt-6.0.0-rc4
    from sourcefoge, if it is not same as above version not important.
    Do this step by step
    1.)copy and unzip download file in C:\qwt-6.0.0-rc4
    2.)open “C:\qwt-6.0.0-rc4\examples.pro”
    change “include( ../qwtconfig.pri ) “ =>
    ” include(qwtconfig.pri ) “
    3.)Open “C:\qwt-6.0.0-rc4\ textengines\textengines.pro”
    change “include( ../qwtconfig.pri ) “ =>
    ” include(qwtconfig.pri ) “
    4.)Open “C:\qwt-6.0.0-rc4\ qwt.pro” with “Qt Creator” Compile it in DEBUG mode
    5.)if you see only some worning it is usually so don’t care;
    6.) After compile complete
    7.)goto “C:\ qwt-build-desktop \plugins\designer\designer”
    8.)Copy “libqwt_designer_plugin.a” and “qwt_designer_plugin.dll” paste to
    “[Qt install path]\qt\plugins\designer”
    9.)goto “C:\ qwt-build-desktop\lib”
    10)copy “qwt.dll” to “[Qt install path]\qt\bin”
    11)copy “C:\qwt-build-desktop\lib\*” to “C:\qwt-6.0.0-rc4 \lib\*”
    Now you can use QWT Widget in your form at “Qt Designer”;
    Now important place begin;
    1.)create new project in qt and in wizard uncheck “Generate form”
    2.)create your form in Qt Designer and save it in your project directory.
    3.)Add Your designed form to your project.
    4.)add this lines to your project pro file
    INCLUDEPATH += C:/qwt-6.0.0-rc4/src
    win32:LIBS += C:/qwt-6.0.0-rc4/lib/libqwtd.a
    win32:QMAKE_POST_LINK = copy /Y C:\qwt-6.0.0-rc4\lib\qwtd.dll $(DESTDIR)
    CONFIG +=qwt

    If you run in debug mode red word stay
    If you run in Release mode then “libqwtd=libqwt” and “qwtd=qwt”
    Hi, I did as you said but on step 5) I get an error: "Failed to start application: Starting executable failed: J:/Name/qwt-build-desktop/qwtbuild.exe: No such file or directory."

    Please help

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

    Default Re: install Qwt Qtcreator

    Quote Originally Posted by Badeand View Post
    Hi, I did as you said but on step ...
    You will find much more useful threads in the archive than this one.

    Uwe

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

    Default Re: install Qwt Qtcreator

    Quote Originally Posted by Uwe View Post
    You will find much more useful threads in the archive than this one.

    Uwe
    Any suggestions? :P

  10. #9
    Join Date
    Aug 2011
    Location
    California, USA
    Posts
    24
    Thanks
    4
    Thanked 3 Times in 3 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: install Qwt Qtcreator

    Thanks for the help mpsoft! Your tutorial worked great!

    Just a note: I had to use Qt's Widget Promotion to use Qwt with Qt Designer (embedded in Qt Creator). It works with Qwt 6.0.1 and Qt 4.7.4 (the vanilla SDK download).

    Thanks again!
    Chris
    Last edited by chriskon149; 14th November 2011 at 06:16. Reason: adding in the name of the person

  11. #10
    Join Date
    Nov 2011
    Posts
    2

    Default Re: install Qwt Qtcreator

    I get the same error:

    error: cannot find -lQtDesignerd

    Using:
    QT4.7.4
    QTCreator 2.3.0
    Qwt 6.0.1

    I followed the procedure above, but it does not work?!
    Anybody any idea?
    Help is greatly appreciated!

  12. #11
    Join Date
    Nov 2011
    Posts
    2

    Default Re: install Qwt Qtcreator

    I found a solution today:

    - Installed the new bundle: 1.1.4 (instead of 1.1.3).
    - Did the installation from a 'qwt shell' ( Start -> QT SDK -> Desktop -> QT 4.7....

    Now it works!
    Not sure which of the 2 did the job.

Similar Threads

  1. Replies: 11
    Last Post: 29th June 2009, 17:13
  2. Replies: 3
    Last Post: 13th December 2008, 11:33
  3. Problem install qwt on windows
    By kid17 in forum Qwt
    Replies: 5
    Last Post: 3rd December 2008, 13:19
  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, 20:55

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.