Results 1 to 8 of 8

Thread: qwt plugin with QtCreator in winXP

  1. #1
    Join Date
    Oct 2007
    Location
    Warminster, England
    Posts
    31
    Thanks
    17
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Question qwt plugin with QtCreator in winXP

    I have installed qwt-5.2.0 along side Qt-Creator on my Linux machine (PCLINUXOS), and managed to get designer, when called from Qt-Creator to display the qwt widgets. However, on my PC at work, I can get the widgets to display if I open designer directly, but not if is opened from within Qt-Creator. Do the qwt plug-in .dll files need to go in a special place for this to work
    Any hints gratefully received.

  2. #2
    Join Date
    Apr 2009
    Posts
    36
    Thanks
    1
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qwt plugin with QtCreator in winXP

    Hopefully, the post I replied in will help you out:

    http://www.qtcentre.org/forum/f-qwt-...ner-20379.html

    I was having the same problems.

  3. #3
    Join Date
    Apr 2009
    Posts
    36
    Thanks
    1
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qwt plugin with QtCreator in winXP

    Bah, I really should read posts AFTER I have my coffee.

    There's a thread here discussing plugins in QtCreator. It looks like you may have to recompile.

    http://www.qtcentre.org/forum/f-qt-t...tor-19234.html

  4. #4
    Join Date
    Oct 2007
    Location
    Warminster, England
    Posts
    31
    Thanks
    17
    Qt products
    Qt5
    Platforms
    Unix/X11 Windows

    Default Re: qwt plugin with QtCreator in winXP

    I have solved my qwt plugin problem. My version of qwt was too old. I believe qwt>=5.2 is required.
    Download qwt5.3, and build the release version.
    copy the qwtdesigner... .dll file (I forget the full name, I only have XP at work) into the designer/plugin directories. The qwt widgets now appear when designer is opened from QtCreator, just like in Linux.

  5. #5
    Join Date
    Mar 2009
    Posts
    98
    Thanks
    3
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qwt plugin with QtCreator in winXP

    I have the same problem.
    I tried to start directly the designer. I can see the QwtWidget and also Arthur Widgets, Dispay Widget [Example] and Qt 3 support that comes with the standard installation of Qt SDK. None of these is loaded in qtcreator.

    On linux I have copied libqwt_designer_plugin.so in qt/plugins/designer, bin/designer, lib/qtcreator/plugins. Maybe one of the is not necessary.

    On windows I can't see nothing in QtCreator

  6. #6
    Join Date
    Mar 2009
    Posts
    98
    Thanks
    3
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qwt plugin with QtCreator in winXP

    I tried to compile QCreator from source code but I've got this error:

    Qt Code:
    1. C:\Qt\2009.02\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lQtDesignerComponentsd4
    2. collect2: ld returned 1 exit status
    3. mingw32-make.exe[4]: Leaving directory `Z:/qt-creator-1.1.0-src/src/plugins/designer'
    4. mingw32-make.exe[3]: Leaving directory `Z:/qt-creator-1.1.0-src/src/plugins/designer'
    5. mingw32-make.exe[4]: *** [..\..\..\lib\qtcreator\plugins\Nokia\Designerd.dll] Error 1
    6. mingw32-make.exe[3]: *** [debug] Error 2
    7. mingw32-make.exe[2]: *** [sub-designer-make_default] Error 2
    8. mingw32-make.exe[2]: Leaving directory `Z:/qt-creator-1.1.0-src/src/plugins'
    9. mingw32-make.exe[1]: Leaving directory `Z:/qt-creator-1.1.0-src/src'
    10. mingw32-make.exe[1]: *** [sub-plugins-make_default-ordered] Error 2
    11. C:\Qt\2009.02\mingw\bin\mingw32-make.exe: *** [sub-src-make_default-ordered] Error 2
    12. C:\Qt\2009.02\mingw\bin\mingw32-make.exe: Leaving directory `Z:/qt-creator-1.1.0-src'
    13. Exited with code 2.
    14. Error while building project qtcreator
    15. When executing build step 'Make'
    To copy to clipboard, switch view to plain text mode 

  7. #7
    Join Date
    Apr 2009
    Posts
    36
    Thanks
    1
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qwt plugin with QtCreator in winXP

    Quote Originally Posted by PaceyIV View Post
    I tried to compile QCreator from source code but I've got this error:

    Qt Code:
    1. C:\Qt\2009.02\mingw\bin\..\lib\gcc\mingw32\3.4.2\..\..\..\..\mingw32\bin\ld.exe: cannot find -lQtDesignerComponentsd4
    2. collect2: ld returned 1 exit status
    3. mingw32-make.exe[4]: Leaving directory `Z:/qt-creator-1.1.0-src/src/plugins/designer'
    4. mingw32-make.exe[3]: Leaving directory `Z:/qt-creator-1.1.0-src/src/plugins/designer'
    5. mingw32-make.exe[4]: *** [..\..\..\lib\qtcreator\plugins\Nokia\Designerd.dll] Error 1
    6. mingw32-make.exe[3]: *** [debug] Error 2
    7. mingw32-make.exe[2]: *** [sub-designer-make_default] Error 2
    8. mingw32-make.exe[2]: Leaving directory `Z:/qt-creator-1.1.0-src/src/plugins'
    9. mingw32-make.exe[1]: Leaving directory `Z:/qt-creator-1.1.0-src/src'
    10. mingw32-make.exe[1]: *** [sub-plugins-make_default-ordered] Error 2
    11. C:\Qt\2009.02\mingw\bin\mingw32-make.exe: *** [sub-src-make_default-ordered] Error 2
    12. C:\Qt\2009.02\mingw\bin\mingw32-make.exe: Leaving directory `Z:/qt-creator-1.1.0-src'
    13. Exited with code 2.
    14. Error while building project qtcreator
    15. When executing build step 'Make'
    To copy to clipboard, switch view to plain text mode 
    It looks like you're compiling QtCreator in debug mode when you don't have the Qt debug libraries installed. I've never compiled QtCreator from source, but it should be decently straightforward to compile just the release version.

    As a side note, Qt-2009-02 Windows version comes with debug libraries as well, so maybe the debug libraries aren't in your path?

  8. #8
    Join Date
    Mar 2009
    Posts
    98
    Thanks
    3
    Thanked 9 Times in 9 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: qwt plugin with QtCreator in winXP

    I don't know. I can compile my program in degug mode and they works.
    Now I compile Qtcreator in release mode inside QtCreator and works fine. Previously I tried to compile with the Qt Command console.

    Thanks.

Similar Threads

  1. qwt designer plugin on MacOSX
    By dup in forum Qwt
    Replies: 2
    Last Post: 28th May 2009, 15:27
  2. qwt plugin not appearing in qt3
    By gilbertd26 in forum Qwt
    Replies: 2
    Last Post: 5th January 2009, 11:39
  3. Replies: 5
    Last Post: 23rd October 2008, 14:55
  4. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 15:13
  5. Replies: 5
    Last Post: 30th March 2007, 19:46

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.