Results 1 to 2 of 2

Thread: Qt5: Plugin Verification Mismatch

  1. #1
    Join Date
    Feb 2013
    Posts
    1
    Qt products
    Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11

    Default Qt5: Plugin Verification Mismatch

    Hey All,

    I am working on a plugin for Qt Creator. To start out, I just wanted to try out the
    sample plugin to make sure there were no issues. Alas, there was.

    My system is Ubuntu 12.04 64 Bit.
    I'm using Qt5.0.1 and QtCreator 2.6.2.
    All Qt4 was removed from the system.

    Qt5 was installed with the binary installer
    Then QtCreator was built from source via:

    Qt Code:
    1. ~/work/qt_files/qt-creator-2.6.2-src$ mkdir build
    2. ~/work/qt_files/qt-creator-2.6.2-src$ cd build
    3. ~/work/qt_files/qt-creator-2.6.2-src$ Qt5.0.1/5.0.1/gcc_64/bin/qmake ../qtcreator.pro
    4. ~/work/qt_files/qt-creator-2.6.2-src$ make -j 9
    To copy to clipboard, switch view to plain text mode 

    It all built just fine. So I'm not sure why I get the error, " ... libErrorTool.so: Plugin verification data mismatch ..."
    Everything is built against Qt5. I've read things about the Q_PLUGIN_METADATA macro being related to this,
    but I'm not fully sure what that does (I've looked for reading on it), so if someone could explain that, I would really appreciate it.

    Any advice is appreciated.

    edit: I do have the Q_EXPORT_PLUGIN2(MyPlugin, MyPluginPlugin) included at the end of the source.

  2. #2
    Join Date
    Dec 2011
    Posts
    21
    Thanks
    2
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Qt5: Plugin Verification Mismatch

    Q_EXPORT_PLUGIN2 is deprecated: https://qt-project.org/wiki/Transiti..._Qt_4.x_to_Qt5
    Use only Q_PLUGIN_METADATA and check if it works.

Similar Threads

  1. plugin verification data mismatch error
    By rashmi in forum Newbie
    Replies: 2
    Last Post: 8th December 2011, 23:12
  2. verification QlineEdit
    By vinny gracindo in forum Newbie
    Replies: 3
    Last Post: 2nd November 2009, 22:21
  3. XML verification issue
    By yogesh in forum Qt Programming
    Replies: 1
    Last Post: 4th March 2009, 13:45
  4. Class name mismatch for plugin
    By martinb0820 in forum Qt Tools
    Replies: 3
    Last Post: 20th August 2008, 13:47

Tags for this Thread

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.