Results 1 to 3 of 3

Thread: QDesignerCustomWidgetInterface:No such file or directory

  1. #1
    Join Date
    Sep 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6

    Exclamation QDesignerCustomWidgetInterface:No such file or directory

    When I include <QDesignerCustomWidgetInterface> in one of my class,it is said that "No such file or directory"!What's wrong?What should I do?I need to integrate a custom widget into Qt Designer,so I need to subclass QDesignerCustomWidgetInterface!Thanks very much!

  2. #2
    Join Date
    Aug 2011
    Posts
    44
    Qt products
    Qt4
    Platforms
    MacOS X Windows Symbian S60
    Thanked 13 Times in 11 Posts

    Default Re: QDesignerCustomWidgetInterface:No such file or directory

    Try to add the following line to your app's .pro file:
    CONFIG += designer

  3. The following 2 users say thank you to llev for this useful post:

    furskytl (18th September 2011), nimingzhe2008 (5th October 2012)

  4. #3
    Join Date
    Sep 2011
    Posts
    24
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    6

    Default Re: QDesignerCustomWidgetInterface:No such file or directory

    That's incredible!!!It works correctly after I take your advice!Can you tell me the reason?Why the book <C++ GUI Programming with Qt4> does not tell me!!!Thanks very much!

Similar Threads

  1. Replies: 1
    Last Post: 23rd May 2011, 04:53
  2. Replies: 1
    Last Post: 8th November 2010, 03:24
  3. Replies: 4
    Last Post: 9th May 2010, 16:18
  4. Replies: 2
    Last Post: 9th March 2010, 05:21
  5. Replies: 10
    Last Post: 15th June 2009, 19:44

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
  •  
Qt is a trademark of The Qt Company.