Results 1 to 8 of 8

Thread: Adding Qwt plot Widgets to creator

  1. #1
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default Adding Qwt plot Widgets to creator

    Hi
    I installed Qwt. It is added to QtDesigner but I need to be added to QtCreator too when I open new project on "Application" project and "Qt Widgets Application" template. Please help me how can I add it to QtCreator?

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

    Default Re: Adding Qwt plot Widgets to creator

    The plugin ( and Qwt lib ) needs to be compatible with the Qt version + compiler your creator has been build with. So you have to options:


    1. Rebuild the creator
    2. Build and install a second version of Qwt


    Uwe

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

    Alex22 (13th November 2015)

  4. #3
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Adding Qwt plot Widgets to creator

    Thanks Uwe for replying

    Qwt version : qwt-6.1.2
    QtCreator version : Qt 5.4.2 (MSVC 2013, 32 bit)

    Uwe, do you think these versions are not compatible?
    then witch versions are compatible?

    thanks for your helping.

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

    Default Re: Adding Qwt plot Widgets to creator

    This is not Qwt related - it is about a clash of different Qt versions !

    When loading a plugin into a Qt application ( here the creator ), the plugin needs to be linked with the same Qt version as the plugin itself. If you want to build your application with a different Qt version, than the one the creator has been build with, you need to have 2 different installations of Qwt - for both Qt versions.

    The reason, why your designer loads the Qwt plugin successfully is, that it is build with another Qt version than the creator - probably the one you inend to use for your application.

    Uwe

  6. The following user says thank you to Uwe for this useful post:

    Alex22 (13th November 2015)

  7. #5
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Adding Qwt plot Widgets to creator

    Really thanks for your fast answering Uwe.

    How Could I know which version is suitable for Qwt (plugin) and which version is used by designer? and then how could i build by the suitable version in creator? thanks a lot for your helping and sorry about having many questions.

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

    Default Re: Adding Qwt plot Widgets to creator

    You need to know how the application has been compiled/linked.

    Uwe

  9. #7
    Join Date
    Nov 2015
    Posts
    128
    Thanks
    70
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Adding Qwt plot Widgets to creator

    Quote Originally Posted by Uwe View Post
    You need to know how the application has been compiled/linked.

    Uwe
    could you refer me some references?

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

    Default Re: Adding Qwt plot Widgets to creator

    Come on, check "Help->About Qt Creator" in the Creator menu bar.

    Uwe

  11. The following user says thank you to Uwe for this useful post:

    Alex22 (16th November 2015)

Similar Threads

  1. Adding widgets to QGraphicsView
    By mys2015 in forum Qt Programming
    Replies: 0
    Last Post: 31st August 2015, 22:13
  2. Replies: 3
    Last Post: 26th August 2013, 08:24
  3. Replies: 5
    Last Post: 18th April 2010, 23:31
  4. Adding more tab widgets
    By rakkar in forum Newbie
    Replies: 2
    Last Post: 10th September 2009, 21:22
  5. Replies: 1
    Last Post: 2nd October 2008, 07:29

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.