I have developed a plugin for paraview 5.8.1, and now a downloadable package with a working version of paraview and other files to run the plugin. I have successfully done so for linux, after building paraview and writing a file to change the path variable. Attempting to do the same thing on windows fails due to Qt missing, and qt does not seem to be portable. What is the best way to make plugin enabled paraview portable?
Qt is portable, but it is done so via
qt.conf. Are you unpacking the 5.8.1 binaries, adding your plugin and then repacking? The best way to make plugins portable is to set up RPATH entries properly. Windows just kind of needs to work with the
PATH though. Qt should be provided by the ParaView client (if necessary). Some more detail would help here.
If you are looking to make a plugin compatible with the official release of ParaView, you can use ParaViewPluginBuilder instead.
After building Paraview with qt, changing the location and corresponding PATH entry, Paraview fails to open. A qt error message pops up: “Qt platform plugin ‘windows’ not found in ’ '.” I would be curious to know how to fix this but I think Mathieu’s solution of ParaViewPluginBuilder would fix many of my other problems with distribution so I am going to try that route. Thank you
The readme only mentions CentOS, does this work or is their an analog for windows?
Copying qt dlls and platforms folder to bin/release fixed the launch issue, but now certain icons are missing.
Fixed by moving several dll’s from qt to the paraview bin
On windows this is doable by replicating the release manually.