No such plugin: 'peakcan'
-
Some explanations regarding the solution would be also highly appreciated
Surely I'm overseeing something and/or making some mistake. I'd like to find out what.
And above all, how to solve it
@rzucca https://doc.qt.io/qt-6/windows-deployment.html explains how plug-in should be deployed. If no plug-ins where deployed with windeployqt then something went wrong.
-
-
Believe me, I read this page many times, and even understood some of it.
I couldn't understand how to build Qt statically, nor how to use the Q_IMPORT_PLUGIN() Macro
Sorry for the delay in my answer, I'm only allowed to post something every 10 minutes
@rzucca said in No such plugin: 'peakcan':
I couldn't understand how to build Qt statically
No need to build Qt statically and also Q_IMPORT_PLUGIN should not be needed.
All you need to do is to deploy needed plugins as shown in "Creating the Application Package" part of the link. -
That's great news, thanks!
I just would like to know which plug-ins I need and where to find them
@rzucca said in No such plugin: 'peakcan':
I just would like to know which plug-ins I need
Depends on what app is using, on what platform, ...
Where to find: in your Qt installation.
Apparently you also need peakcan plug-in. -
Well, I'm using QT 6.4 on Windows 10. I think I just need the peakcan plug-in.
I already tried to copy the PCANBasic.dll to an handmade plugins subfolder, but to no avail. That's evidently not the component I'm looking for. The plug-in I need must be in the Qt folder, I guess, because Qt Creator can find it
I'm not (consciously) using any other external plug-ins or libraries. Am I missing any important piece of information?
-
@rzucca said in No such plugin: 'peakcan':
I just would like to know which plug-ins I need
Depends on what app is using, on what platform, ...
Where to find: in your Qt installation.
Apparently you also need peakcan plug-in.@jsulm There are three subfolders of Qt called plugin canbus. Their content seems to be identical, and the same that is added by windeployqt to the canbus subdirectory.
I tried to copy their content to a manually created plugin subfolder in the release, but to no avail
I am still stuck: I know that I must add some plugins to the release, but I still don't know what plugins, or where to find them