Results 1 to 4 of 4

Thread: custom widgets in qt creator 4.6

  1. #1
    Join Date
    May 2010
    Posts
    9
    Thanks
    1

    Default custom widgets in qt creator 4.6

    hello,

    i want to create a custom widget, e.g. three buttons with defined behaviour.
    but i definately do not know how to achieve this.

    the qt creator provides "custom widget for qt 4 designer".
    i have chosen it and positioned 3 buttons, but now..................?

    after compiling, there are no errors, but the qt creator says there is no executable.
    sure there is no main.c.
    i want to create a dll to include the custom widget into another project.

    please, help me.
    i would like to create a custom widget, which is integrated in the qt creator.
    the qt creator shall be used to create a dialog "easy and fast".
    can anybody give me a tutorial - in his own words - how to do this in qt creator??

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: custom widgets in qt creator 4.6


  3. #3
    Join Date
    May 2010
    Posts
    9
    Thanks
    1

    Default Re: custom widgets in qt creator 4.6

    YES, but i do not cope with the docu.

    i need sth like:
    1. start qt creator
    2. start project
    3. ......

    i want to position a custom widget on a form.
    so, do you know how it works??

  4. #4
    Join Date
    Dec 2009
    Posts
    8
    Thanks
    4
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: custom widgets in qt creator 4.6

    The way it used to work is using Q_EXPORT_PLUGIN and Q_IMPORT_PLUGIN macros. It may easier now though.

Similar Threads

  1. Replies: 3
    Last Post: 6th October 2010, 23:00
  2. Cannot add custom widget to Qt Creator
    By djogon in forum Qt Tools
    Replies: 5
    Last Post: 30th April 2010, 10:15
  3. Replies: 3
    Last Post: 17th November 2009, 14:43
  4. Replies: 0
    Last Post: 15th May 2009, 15:38
  5. add custom widgets to Qt Creator
    By yagabey in forum Qt Programming
    Replies: 1
    Last Post: 26th November 2008, 17:26

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.