Verify that the plugin being found is indeed the one you've built with the same version as the application.
I.e. that it doesn't find the old plugin instead.
Cheers,
_
Verify that the plugin being found is indeed the one you've built with the same version as the application.
I.e. that it doesn't find the old plugin instead.
Cheers,
_
Solved/
It took some time to find out what was happening. It turned out to be that
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA (IID "cardReader")
#endif
which I include to support building under Qt4 and Qt5 was the culprit: the inequality yields false.
Strange, worked pretty well for previous Qt5 and Qt5 versions
best
J
It is even stranger than I thought. I am probably making a mental error somewhere.
The header of the class in the plugin reads
class remote: public rigInterface, public Ui_Form {
Q_OBJECT
Q_INTERFACES (rigInterface)
#if QT_VERSION >= 0x050000
Q_PLUGIN_METADATA (IID "remote")
#endif
This does not work, the Meta data is apparently not found while running.
If I just use
class remote: public rigInterface, public Ui_Form {
Q_OBJECT
Q_INTERFACES (rigInterface)
Q_PLUGIN_METADATA (IID "remote")
It works fine.
Now I checked, and the test
#if QT_VERSION >= 0x050000
evaluates to true, so although I am able to circumvent the error, I am lost.
As sais before, on other systems (also testing on an old Ubuntu box) it compiles and works fine, both using Qt4 and Qt5.
JanK
Bookmarks