Results 1 to 19 of 19

Thread: Promote Qwidget problem, class already exists ???

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Sep 2010
    Posts
    654
    Qt products
    Qt4
    Platforms
    Windows
    Thanks
    56
    Thanked 1 Time in 1 Post

    Default Promote Qwidget problem, class already exists ???

    I have a Qwidget component. It is named MyWidget
    It works ok.
    If I define the promoted widget to 'mywidget' , QTCreator let me.
    But when I want to build I see errors related with there is no 'mywidget reference'.
    I have to change manually to 'MyWidget' (with M and W uppercase letters) and all works fine.
    If I want to define the promoted widget with 'MyWidget' letters, QTCreator says me 'The class already exists' ....
    I have reset QtCreator, but nothing changes....
    What I'm doing bad ?


    P.D. And ..... What means 'Global include' when you define the promoted W.? (I dont see nothing at help docs)

    Thanks
    Last edited by tonnot; 8th February 2011 at 14:13.

Similar Threads

  1. Replies: 0
    Last Post: 23rd November 2010, 21:54
  2. Replies: 1
    Last Post: 30th October 2010, 13:28
  3. Replies: 4
    Last Post: 27th October 2010, 17:43
  4. Replies: 7
    Last Post: 22nd September 2010, 01:32
  5. Use QWidget derived class in Dialog
    By qtneuling in forum Qt Tools
    Replies: 2
    Last Post: 18th May 2008, 00:29

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.