Results 1 to 7 of 7

Thread: QT4 Plugins - problems, problems

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Join Date
    Jan 2006
    Posts
    109
    Thanks
    2
    Thanked 5 Times in 5 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11

    Default Re: QT4 Plugins - problems, problems

    Quote Originally Posted by NormanDunbar
    For now, everything is in the same folder. I have three files :

    The interface header :
    You don't seem to be including any Qt header in this file. Q_DECLARE_INTERFACE is declared in <QObject>.

    Quote Originally Posted by NormanDunbar
    The plugin source file :
    You don't seem to be including <QtPlugin> in this file. Q_EXPORT_PLUGIN2 is declared in <QtPlugin>.

  2. The following user says thank you to dimitri for this useful post:

    NormanDunbar (8th May 2006)

  3. #2
    Join Date
    May 2006
    Location
    Leeds, West Yorkshire, UK.
    Posts
    17
    Thanks
    1
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Re: QT4 Plugins - problems, problems

    Quote Originally Posted by dimitri
    You don't seem to be including any Qt header in this file. Q_DECLARE_INTERFACE is declared in <QObject>.
    That one made no difference

    Quote Originally Posted by dimitri
    You don't seem to be including <QtPlugin> in this file. Q_EXPORT_PLUGIN2 is declared in <QtPlugin>.
    But that one made all the difference.

    I suppose it was my own fault really, I was following the instructions given in the documentation for QT4.

    Much obliged for the prompt and accurate reply, thank you.


    Cheers,
    Norman.

Similar Threads

  1. Qt Plugins Error
    By nathanpackard in forum Qt Programming
    Replies: 1
    Last Post: 17th August 2007, 23:19
  2. Qt4 Plugins How-to
    By Chaid in forum Qt Programming
    Replies: 4
    Last Post: 8th July 2006, 08:32

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.