Results 1 to 1 of 1

Thread: Understanding widget plugins....

  1. #1
    Join Date
    Nov 2011
    Posts
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Understanding widget plugins....

    Hi,

    I have been trying to install any custom widget into Qt Creator/Designer for a couple of days by following various examples online. I'm sure there's just something simple oversight I'm missing, any advice would be appreciated. My platform is Qt Creator 2.3.1 based on Qt 4.7.4. on Ubuntu 10.04.

    Attached please find a working project based on the following tutorial:

    http://www.serenethinking.com/2010/0...dgets-with-qt/

    It simply extends the standard QLabel with some additional properties. The project builds (in release mode) and then I run make install to copy the .so to the plugin directory. On my system, this defaults to:

    <home>/QtSDK/Desktop/Qt/474/gcc/plugins/designer

    I restart Qt Creator, create a new UI project, but the custom widget doesn't appear in any of the menus. If I go to:

    Tools -> Form Editor -> About Qt Designer Plugins

    only one plugin is listed, QWebView (which seems strange to me considering there are several .so in the directory above bundled with my distribution).

    1) What am I missing?
    2) Is this the correct directory?
    3) How does one debug plugins (i.e. is there a log of errors when Qt scans the plugin directory?)

    thanks in advance!
    Adam
    Attached Files Attached Files

Similar Threads

  1. Replies: 3
    Last Post: 18th July 2010, 14:53
  2. embedded-widget-demos as plugins version
    By SimbadSubZero in forum Qt Programming
    Replies: 1
    Last Post: 7th December 2009, 14:30
  3. problem/error in adding custom widget plugins
    By miroslav_karpis in forum Qt Programming
    Replies: 3
    Last Post: 13th March 2009, 08:53
  4. about custom widget plugins
    By hesummar in forum Qt Tools
    Replies: 16
    Last Post: 1st December 2006, 02:59
  5. How to reload widget plugins?
    By victorng in forum Qt Programming
    Replies: 2
    Last Post: 2nd March 2006, 00:27

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.