Results 1 to 10 of 10

Thread: Designer plugins in Qt Creator

  1. #1
    Join Date
    May 2008
    Location
    Rijeka, Croatia
    Posts
    85
    Thanks
    10
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Designer plugins in Qt Creator

    Hi,
    I'm trying to use designer plugin in Qt Creator, but i can't figure out how to do it.
    Where to put plugins .dll file? i tried to put it everywhere.

    I installed windows SDK to try it out. dlls in "C:\Qt\2009.01\qt\bin" and in "C:\Qt\2009.01\bin" are not same size - is it possible that they are not compiled with same compiler? or what?

  2. #2
    Join Date
    Mar 2009
    Location
    Saint Petersburg, Russia
    Posts
    8
    Thanks
    5
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Designer plugins in Qt Creator

    I've got the same problem, so I've rebuilt Qt, QtCreator and designer plugin (qwt) from sources using mingw32. After that additional widgets can be seen in QtCreator designer plugin widget list (Qt3Support widgets and Display widgets [Examples]). Arthur widgets [Demo] and Qwt widgets are available in QtDesigner only, despite corresponding dlls being in the same directory (C:\Qt\2009.01\qt\plugins\designer\). That seems strange to me.

  3. #3
    Join Date
    May 2008
    Location
    Rijeka, Croatia
    Posts
    85
    Thanks
    10
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Designer plugins in Qt Creator

    it is a bit strange that they didn't compile Creator with same compiler as Qt library.
    I wonder if linux version of SDK has same issue..

  4. #4
    Join Date
    May 2008
    Location
    Rijeka, Croatia
    Posts
    85
    Thanks
    10
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Designer plugins in Qt Creator

    I tried the following:

    1] download qt-creator-1.0.0-src.zip
    2] open qtcreator.pro with existing Qt Creator
    3] build release
    4] run new qtcreator.exe
    5] you have all designer plugins from C:\Qt\2009.01\qt\plugins\designer

    They should fix this in 4.5.1, it's not even a bug, somebody just forgot to compile Qt Creator with right compiler..

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

    Ban-chan (5th May 2009)

  6. #5
    Join Date
    Mar 2009
    Location
    Tennessee
    Posts
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Designer plugins in Qt Creator

    Ok so this gets it compiled and running from within the installed QT Creator but if I copy everything that was built over to the correct directories in my installation, it gives me run error in QtCore4.dll:

    The procedure entry point _ZN15ExtensionSystem13PluginManager11loadPluginsEv could not be located in the dynamic link library ExtensionSystem.dll.

    Ok so the installed QT Creator was built using VS and the one I'm using was built with mingwin. I copy the required dll files from the /qt/2009.01/qt/bin directory into the build directory. These were built using mingwin. Now it runs outside of the /qt/bin/qtcreator.exe. Only problem is that the projects navigation widget is empty.

    So now how do I get it running properly outside of the current QT Creator?
    Last edited by jwcrowell; 18th March 2009 at 05:38.

  7. #6
    Join Date
    May 2008
    Location
    Rijeka, Croatia
    Posts
    85
    Thanks
    10
    Thanked 6 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Designer plugins in Qt Creator

    Quote Originally Posted by jwcrowell View Post
    Only problem is that the projects navigation widget is empty.
    How do you mean empty? When you open existing project or create new, it's still empty?

  8. #7
    Join Date
    Mar 2009
    Location
    Tennessee
    Posts
    5
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: Designer plugins in Qt Creator

    I figured it out. I was running from a build directory and I didn't have paths set to mingwin and qt bin directories. Once I copied the built exe and the rest of the built directory structure over to Qt/2009.01/qt/lib and Qt/2009.01/qt/bin, it worked. It even worked without having executable paths set.

  9. #8
    Join Date
    May 2009
    Posts
    20
    Thanks
    4
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Designer plugins in Qt Creator

    Initially when I built qwt (5.2.0) and added the designer plug-ins to the plugin folder, QT (2009.02) told me they were win32-mingw instead of win32-msvc. After rebuilding QT Creator source using mingw, I see all the the other plug-ins noted in this thread but now it won't recognize the qwt plugin to any extent. I rebuilt everything in release mode. I know I'm a little bit closer since now when I build the qwt examples, they actually work (at run time anway. They can't seem to access qt4core.dll when I try to execute them individually). Anyone have any suggestions?

    I have also added the path where qwt5.dll and libqwt5.a are located to Windows (XP Pro) PATH variable.

  10. #9
    Join Date
    Aug 2009
    Posts
    27
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Designer plugins in Qt Creator

    Quote Originally Posted by stefan View Post
    I tried the following:

    1] download qt-creator-1.0.0-src.zip
    2] open qtcreator.pro with existing Qt Creator
    3] build release
    4] run new qtcreator.exe
    5] you have all designer plugins from C:\Qt\2009.01\qt\plugins\designer

    They should fix this in 4.5.1, it's not even a bug, somebody just forgot to compile Qt Creator with right compiler..
    Thanks, I'll try your way. But I heard somewhere that QtCreator was built by VS2005. So it will not detect plugin not written by VS2005. I'm using 4.5.2 but have the same prob as yours.

  11. #10
    Join Date
    Mar 2010
    Posts
    1
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Designer plugins in Qt Creator

    Quote Originally Posted by stefan View Post
    I tried the following:

    1] download qt-creator-1.0.0-src.zip
    2] open qtcreator.pro with existing Qt Creator
    3] build release
    4] run new qtcreator.exe
    5] you have all designer plugins from C:\Qt\2009.01\qt\plugins\designer

    They should fix this in 4.5.1, it's not even a bug, somebody just forgot to compile Qt Creator with right compiler..
    Has this issue been fixed in later versions of Qt?

    I'm running 2010.01 / 4.6.1 and might be getting the same issues. I can't get the designer to show my plugins in any lists and Stafan points out in the OP the DLLs are still different sizes

Similar Threads

  1. Threads in Designer plugins
    By hvengel in forum Qt Tools
    Replies: 2
    Last Post: 3rd January 2009, 20:19
  2. Replies: 6
    Last Post: 14th April 2007, 08:59
  3. Replies: 15
    Last Post: 25th March 2007, 04:40
  4. Designer log messages while loading plugins
    By cocheci in forum Qt Tools
    Replies: 3
    Last Post: 18th May 2006, 15:50
  5. Arthur Plugins demos and designer
    By antonio.r.tome in forum Installation and Deployment
    Replies: 4
    Last Post: 21st March 2006, 15:01

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.