Results 1 to 2 of 2

Thread: How to compile a plugin for custom widget?

  1. #1
    Join Date
    Feb 2017
    Qt products

    Default How to compile a plugin for custom widget?

    Hi everybody.
    I 'm trying to follow this tutorial for creating a custom widget (which, from what I understand, is wrapped by a pugin for the Qt Designer to be able to 'see' it).
    My files are at:

    I open a console:
    cd C:\Documents\QtProjects\mycustomwidget

    And so a file named MakeFile is created. It has, at the top: Command: C:\Qt\5.8\mingw53_32\bin\qmake.exe -o Makefile
    I give this command in console, seems like it's doing something, and shows the message: Info: creating stash file C:\Documents\QtProjects\mycustomwidget.qmake.stash

    I open Qt Designer and no new widget is added in it...

    Isn't the procedure I follow the correct one?

  2. #2
    Join Date
    Jan 2006
    Graz, Austria
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Unix/X11 Windows

    Default Re: How to compile a plugin for custom widget?

    After running qmake you have to run make.

    qmake generates the build files, in this case a Makefile, another tool, in this case make, processes that to actually build the software.


Similar Threads

  1. Replies: 1
    Last Post: 24th June 2011, 00:09
  2. Replies: 2
    Last Post: 19th January 2011, 20:02
  3. Replies: 1
    Last Post: 6th May 2010, 11:09
  4. Custom Widget Plugin
    By alisami in forum Qt Programming
    Replies: 2
    Last Post: 16th March 2009, 15:33
  5. Compile Errors (porting Custom widget from Qt3 to Qt4)
    By degs2k4 in forum Qt Programming
    Replies: 3
    Last Post: 7th February 2008, 23:18

Tags for this Thread


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.