Results 1 to 2 of 2

Thread: Cannot instantiate Plugin with UI

  1. #1
    Join Date
    Aug 2009
    Posts
    92
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Cannot instantiate Plugin with UI

    I've done a QT program that loads plugins in real time and it works wonderfully.
    Now I've just created a new plugin that differs from all the others because it has a .ui file as it should show a gui when executed. Well, it cannot be instantiated by the plugin loader.

    I've already tried to remove only the part with the ui stuff and in that case it's instantiated (but does, of course, nothing).

    Is there something I'm missing ? is it possible that the ui code makes it incompatible ?

    Thanks in advance for the help.

  2. #2
    Join Date
    Aug 2009
    Posts
    92
    Thanks
    5
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: Cannot instantiate Plugin with UI

    Ok, my fault.

    I forgot to include the .cpp file of the GUI in the CMakeList.txt
    Strange I didn't get an error but now it works.

Similar Threads

  1. Replies: 8
    Last Post: 21st March 2010, 11:31
  2. Instantiate objects only having their class name
    By victor.fernandez in forum Qt Programming
    Replies: 1
    Last Post: 30th June 2009, 16:22
  3. Please instantiate the QApplication object first
    By zorro68 in forum Qt Programming
    Replies: 7
    Last Post: 25th October 2007, 12:20
  4. QAxContainer: can't instantiate control
    By fabien in forum Qt Programming
    Replies: 0
    Last Post: 24th July 2007, 11:22
  5. Replies: 2
    Last Post: 25th August 2006, 11:35

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.