# Best way to make Paraview (5.8.1) portable?

**URL:** https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573
**Category:** ParaView Support
**Created:** [July 8, 2021, 10:44pm UTC](https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573 "2021-07-08T22:44:18Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [July 8, 2021, 10:44pm UTC](https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573/1 "2021-07-08T22:44:18Z")

</div>

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?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.paraview.org/u/ben.boeckel)
#### Post date: [July 9, 2021, 2:56am UTC](https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573/2 "2021-07-09T02:56:05Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [July 9, 2021, 8:08am UTC](https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573/3 "2021-07-09T08:08:50Z")

</div>

> [@anthomas](#):
>
> 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.

If you are looking to make a plugin compatible with the official release of ParaView, you can use ParaViewPluginBuilder instead.

[https://gitlab.kitware.com/paraview/paraview-plugin-builder/tree/master](https://gitlab.kitware.com/paraview/paraview-plugin-builder/tree/master)

---

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [July 9, 2021, 6:40pm UTC](https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573/4 "2021-07-09T18:40:06Z")

</div>

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

---

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [July 9, 2021, 7:05pm UTC](https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573/5 "2021-07-09T19:05:34Z")

</div>

The readme only mentions CentOS, does this work or is their an analog for windows?

---

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [July 13, 2021, 4:42pm UTC](https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573/6 "2021-07-13T16:42:13Z")

</div>

Copying qt dlls and platforms folder to bin/release fixed the launch issue, but now certain icons are missing.

 ![paraviewIconsMissing](https://discourse.paraview.org/uploads/default/original/2X/a/aa7dd5db6c06b3426c639fed12524d513e208e24.png)

---

<div class="post-metadata">

### Author: ![anthomas](https://discourse.paraview.org/user_avatar/discourse.paraview.org/anthomas/32/7342_2.png) [@anthomas](https://discourse.paraview.org/u/anthomas)
#### Post date: [July 13, 2021, 8:34pm UTC](https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573/7 "2021-07-13T20:34:47Z")

</div>

Fixed by moving several dll’s from qt to the paraview bin

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 3, 2021, 12:44pm UTC](https://discourse.paraview.org/t/best-way-to-make-paraview-5-8-1-portable/7573/8 "2021-08-03T12:44:22Z")

</div>

On windows this is doable by replicating the release manually.
