Results 1 to 3 of 3

Thread: Problem with Q_EXPORT_PLUGIN2

  1. #1
    Join Date
    Sep 2007
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Problem with Q_EXPORT_PLUGIN2

    Hello, all

    I'am Qt novice. I make simle plugin test, but compiler give error 'QtMedPlugIn undeclared indetifier' for line
    Q_EXPORT_PLUGIN2(QtMedPlugIn, MedPlugIn).

    In my QtMedPlugIn.pro file defined
    TARGET = QtMedPlugIn
    and i load project from him.

  2. #2
    Join Date
    Feb 2006
    Location
    Oslo, Norway
    Posts
    6,264
    Thanks
    36
    Thanked 1,519 Times in 1,389 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows Symbian S60 Maemo/MeeGo

    Default Re: Problem with Q_EXPORT_PLUGIN2

    Did you remember to include <QtPlugin>?
    J-P Nurmi

  3. #3
    Join Date
    Sep 2007
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Windows

    Default Re: Problem with Q_EXPORT_PLUGIN2

    O, yeah! Thanx!

Similar Threads

  1. Graphics view display problem.
    By kiranraj in forum Qt Programming
    Replies: 3
    Last Post: 20th July 2007, 07:08
  2. Grid Layout Problem
    By Seema Rao in forum Qt Programming
    Replies: 2
    Last Post: 4th May 2006, 12:45
  3. Problem with bitBlt
    By yellowmat in forum Newbie
    Replies: 1
    Last Post: 5th April 2006, 14:08
  4. fftw problem
    By lordy in forum General Programming
    Replies: 1
    Last Post: 16th March 2006, 21:36
  5. Replies: 16
    Last Post: 7th March 2006, 15:57

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.