# building paraview 5.5.2 on opensuse leap 15.0

**URL:** https://discourse.paraview.org/t/building-paraview-5-5-2-on-opensuse-leap-15-0/286
**Category:** ParaView Support
**Created:** [July 7, 2018, 9:44am UTC](https://discourse.paraview.org/t/building-paraview-5-5-2-on-opensuse-leap-15-0/286 "2018-07-07T09:44:29Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [July 7, 2018, 9:44am UTC](https://discourse.paraview.org/t/building-paraview-5-5-2-on-opensuse-leap-15-0/286/1 "2018-07-07T09:44:29Z")

</div>

After a fresh install of leap 15.0, I added all of the usual long list of Qt libraries and development headers, but was still unable to build at all.

Blocking point 1: no `qhelpgenerator` found.  
It is actually there, but as `qhelpgenerator-qt5`, which cmake does not find. It seems too ugly to partly installing some qt4 bits just for that, so instead I opted for a somewhat less ugly workaround:

```auto
cd /etc/alternatives
ln -s /usr/bin/qhelpconverter-qt5 qhelpconverter
ln -s /usr/bin/qhelpgenerator-qt5 qhelpgenerator

cd /usr/bin
ln -s /etc/alternatives/qhelpconverter qhelpconverter
ln -s /etc/alternatives/qhelpgenerator qhelpgenerator

```

This isn’t 100% elegant, but works and partly documents through the filesytem what fiddling has been done.

This might be of some use for others…

/mark

---

<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, 2018, 1:26am UTC](https://discourse.paraview.org/t/building-paraview-5-5-2-on-opensuse-leap-15-0/286/2 "2018-07-09T01:26:58Z")

</div>

What happens if you set the cmake options QT\_HELP\_GENERATOR to the right value with the symbolic link ?

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [July 10, 2018, 11:48am UTC](https://discourse.paraview.org/t/building-paraview-5-5-2-on-opensuse-leap-15-0/286/3 "2018-07-10T11:48:08Z")

</div>

Didn’t try that since I figured if it found the correct qmake-qt5 (and all the packages are installed) then really everything else should follow.

---

<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 11, 2018, 2:11am UTC](https://discourse.paraview.org/t/building-paraview-5-5-2-on-opensuse-leap-15-0/286/4 "2018-07-11T02:11:02Z")

</div>

Actually, cmake uses a file (Qt5-config.cmake) in your Qt5 package to find all related info.  
If for some reasons this file is not the same accross all distribution, results may vary.

It is possible that OpenSUSE distribute qhelpgenerator as a separate package for example, and require a manual settings.

Using symbolic link as a neat trick to just not think about it anymore, but I would not recommend it as a valid solution as it requires root.

Of course, this should be fixed by OpenSSUS upstream.

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [July 11, 2018, 7:42am UTC](https://discourse.paraview.org/t/building-paraview-5-5-2-on-opensuse-leap-15-0/286/5 "2018-07-11T07:42:49Z")

</div>

There is a qhelpgenerator, which is qt4 and a qhelpgenerator-qt5.

The /usr/lib64/cmake/Qt5Help/Qt5HelpConfigExtras.cmake lists `lib64/qt5/bin/qhelpgenerator` so it is an upstream distro bug!

---

<div class="post-metadata">

### Author: ![olesenm](https://discourse.paraview.org/user_avatar/discourse.paraview.org/olesenm/32/17416_2.png) [@olesenm](https://discourse.paraview.org/u/olesenm)
#### Post date: [July 22, 2018, 3:36pm UTC](https://discourse.paraview.org/t/building-paraview-5-5-2-on-opensuse-leap-15-0/286/6 "2018-07-22T15:36:48Z")

</div>

Actually not a distro bug after all.  
For more details see the corresponding [issue](https://gitlab.kitware.com/paraview/paraview/issues/18317) and [merge request](https://gitlab.kitware.com/paraview/paraview/merge_requests/2608).  
I’d suggest continuing the discussion there.
