# Unable to find ParaView header file

**URL:** https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707
**Category:** ParaView Support
**Created:** [March 2, 2020, 3:06am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707 "2020-03-02T03:06:28Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [March 2, 2020, 3:06am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707/1 "2020-03-02T03:06:28Z")

</div>

While customizing my simplified _PropertiesPanel_ by copy-paste code from _pqPropertiesPanel.h|cxx_, Qt Creator reported that it could not find several header files meant to be included:

 ![image](https://discourse.paraview.org/uploads/default/original/2X/7/7c35ec1319a16ed9db6f4461ebee1a5dedaf798a.png)  
I have built ParaView from source and set the path correctly in _CMakelists.txt_.

---

<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: [March 2, 2020, 3:10am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707/2 "2020-03-02T03:10:28Z")

</div>

unrelated to ParaView. You will have to show us your CMakeLists.txt

In any case, creating another pqPropertiesPanel in your application is not recommended.

---

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [March 2, 2020, 4:08am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707/3 "2020-03-02T04:08:41Z")

</div>

Thanks for advice. Here is related part of my CMakelist.txt  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/6/6bb46a30f028268e9cf11f4426fcc05255ffa8db.png)  
 ![image](https://discourse.paraview.org/uploads/default/original/2X/7/73cbf8f4def37dda66e4af71ebbce319af53ac13.png)  
My intention is to simplify its GUI components.

---

<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: [March 2, 2020, 4:16am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707/4 "2020-03-02T04:16:48Z")

</div>

Which version of ParaView ?

---

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [March 2, 2020, 4:22am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707/6 "2020-03-02T04:22:25Z")

</div>

ParaView-v5.7.1. Downloaded from [ParaView-v5.7.0.zip](https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.7&type=source&os=Sources&downloadFile=ParaView-v5.7.0.zip)

---

<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: [March 21, 2020, 1:47am UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707/7 "2020-03-21T01:47:33Z")

</div>

You need to add `target_link_libraries(OVDemo PRIVATE ParaView::ServerManagerDefault ParaView::ServerManagerRendering)`.

---

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [March 23, 2020, 12:59pm UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707/8 "2020-03-23T12:59:21Z")

</div>

Thanks for reply. But why should I add this command since all the files should be included in ParaView package?

---

<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: [March 23, 2020, 1:22pm UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707/9 "2020-03-23T13:22:25Z")

</div>

`paraview_add_client` only makes the generated executable link to the modules it needs for the code it generates. Any code you write may need more libraries to link against.

---

<div class="post-metadata">

### Author: ![Yoshino](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/y/bcef8e/32.png) [@Yoshino](https://discourse.paraview.org/u/Yoshino)
#### Post date: [March 23, 2020, 1:27pm UTC](https://discourse.paraview.org/t/unable-to-find-paraview-header-file/3707/10 "2020-03-23T13:27:09Z")

</div>

Thanks a lot, then I’m supposed to add my own libraries for any customization code I write. Got it! 😃
