QtCreator Plugins vs. Qt5
Hello,
I started porting our QtCreator Plugin to Qt5. Everything is finished now but QtCreator starts with error "Plugin verification data mismatch" pointing to my Plugin.
To find the error I created a new Plugin Project with the QtCreator wizard from scratch. After building the Plugin example the same error occurs!
Any hints available?
Used versions:
Qt5 Beta 2
QtCreator 2.6.0 build with Qt5 Beta 2
Re: QtCreator Plugins vs. Qt5
Did you build QtCreator against Qt5 as well?
Re: QtCreator Plugins vs. Qt5
Yes, QtCreator 2.6.0 build with Qt5 Beta2. Qt4 is completly deinstalled.
Re: QtCreator Plugins vs. Qt5
Did you remember about the plugin export macro? Also make sure both creator and the plugin are built with the same compiler and using the same mode of Qt (debug/release).
Re: QtCreator Plugins vs. Qt5
Q_EXPORT_PLUGIN is in. Macro Q_PLUGIN_METADATA was missing and caused the error during loading.
This macro is also missing in the current Project Wizard "Qt Creator Plugin" project. That's why this simple example Plugin also doesn't work.
Solved!