Results 1 to 2 of 2

Thread: How to debug plugin loading?

  1. #1
    Join Date
    Oct 2007
    Posts
    7
    Thanked 1 Time in 1 Post

    Default How to debug plugin loading?

    Hello,
    I'm trying to create a Designer plugin using PyQt. I have my plugin in ~/prog and the plugin class in ~/prog/plugins.

    I tried to run Designer with
    Qt Code:
    1. PYQTDESIGNERPATH=~/prog/plugins/ PYTHONPATH=~/prog/ designer
    To copy to clipboard, switch view to plain text mode 
    and couldn't see the plugin loaded.

    So, how fo I see what directories are searched, what files are loaded and what errors occur in the process?

    Thanks.

  2. #2
    Join Date
    Oct 2007
    Posts
    7
    Thanked 1 Time in 1 Post

    Default Re: How to debug plugin loading?

    Additional info: I don't think the problem is with my code, since I tried running examples/designer/plugins.py from PyQt4's examples, but that diodn't load any modules too.

Similar Threads

  1. QPluginLoader not recognizing a plugin
    By KShots in forum Qt Programming
    Replies: 3
    Last Post: 29th June 2007, 14:13
  2. plugin loading problem
    By naresh in forum Qt Programming
    Replies: 6
    Last Post: 9th June 2007, 19:05
  3. Qt4 win opensource + mysql plugin
    By vr in forum Installation and Deployment
    Replies: 3
    Last Post: 25th May 2007, 09:01
  4. Qt4 open src mingw from a PC to another
    By nvictor in forum Installation and Deployment
    Replies: 11
    Last Post: 1st May 2007, 17:41
  5. Adding custom defines when on debug build
    By chus in forum Qt Programming
    Replies: 2
    Last Post: 2nd March 2007, 11:38

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.