Results 1 to 2 of 2

Thread: Custom Style and Qt Designer 3

  1. #1
    Join Date
    Jan 2007
    Posts
    2
    Qt products
    Qt3
    Platforms
    Unix/X11

    Unhappy Custom Style and Qt Designer 3

    I have been having trouble integrating a custom class with QDesigner. While I can get it to load up in the list of styles, whenever I choose to preview a form or UI with my custom style, Qt designer crashes. I searched around the forum to see if anyone else is having that problem, but the only other user is using Qt 4 (I presume).

    What could be causing this? Am I forgetting to reimplement something? Testing my new style on an app is fine, but not Designer.

  2. #2
    Join Date
    Jan 2007
    Posts
    2
    Qt products
    Qt3
    Platforms
    Unix/X11

    Default Re: Custom Style and Qt Designer 3

    Ah! Found the solution...

    In the create() function for my style plugin implementation file, an instance of the new style was never returned. Commenting out the check for the key parameter has helped, but I think the better solution would be to rewrite it.

Similar Threads

  1. Custom Style
    By Dusdan in forum Qt Tools
    Replies: 8
    Last Post: 1st September 2006, 22:50
  2. Replies: 6
    Last Post: 23rd August 2006, 13:40
  3. Custom widget + Qt Designer
    By chombium in forum Qt Tools
    Replies: 1
    Last Post: 12th April 2006, 20:33
  4. QToolBox and style
    By Maxilys in forum KDE Forum
    Replies: 6
    Last Post: 26th March 2006, 15:07
  5. Bugs, style changes in 4.1.0?
    By simk in forum Qt Programming
    Replies: 13
    Last Post: 13th February 2006, 11:05

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.