# Qt and Superbuild

**URL:** https://discourse.paraview.org/t/qt-and-superbuild/11896
**Category:** Development
**Created:** [April 15, 2023, 9:19pm UTC](https://discourse.paraview.org/t/qt-and-superbuild/11896 "2023-04-15T21:19:53Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Muhammad\_Saad\_Atique](https://discourse.paraview.org/user_avatar/discourse.paraview.org/muhammad_saad_atique/32/11159_2.png) [@Muhammad\_Saad\_Atique](https://discourse.paraview.org/u/Muhammad_Saad_Atique)
#### Post date: [April 15, 2023, 9:19pm UTC](https://discourse.paraview.org/t/qt-and-superbuild/11896/1 "2023-04-15T21:19:53Z")

</div>

Do I need to install Qt for building paraview-superbuild?  
If yes, when I create my own binary for my application, will the user of my applications would also have to install Qt?

---

<div class="post-metadata">

### Author: ![nicolas.vuaille](https://discourse.paraview.org/user_avatar/discourse.paraview.org/nicolas.vuaille/32/5873_2.png) [@nicolas.vuaille](https://discourse.paraview.org/u/nicolas.vuaille)
#### Post date: [April 17, 2023, 7:25am UTC](https://discourse.paraview.org/t/qt-and-superbuild/11896/2 "2023-04-17T07:25:52Z")

</div>

You can choose when configuring your superbuild with `USE_SYSTEM_Qt`:

- `ON` means Qt should be installed on the build machine, but then it should also be on the user one,
- `OFF` means Qt will be downloaded, built and packed by the superbuild.

---

<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: [April 24, 2023, 12:19am UTC](https://discourse.paraview.org/t/qt-and-superbuild/11896/3 "2023-04-24T00:19:54Z")

</div>

Note that macOS and Windows both require a system Qt as we do not ship build instructions for those platforms anymore.

---

<div class="post-metadata">

### Author: ![Muhammad\_Saad\_Atique](https://discourse.paraview.org/user_avatar/discourse.paraview.org/muhammad_saad_atique/32/11159_2.png) [@Muhammad\_Saad\_Atique](https://discourse.paraview.org/u/Muhammad_Saad_Atique)
#### Post date: [April 24, 2023, 1:06am UTC](https://discourse.paraview.org/t/qt-and-superbuild/11896/4 "2023-04-24T01:06:09Z")

</div>

So, the question is if I am creating a binary of my custom application will my customer (whom I will send my binary) will also have to install Qt on their systems in order to use my custom application GUI?

---

<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: [April 24, 2023, 1:08am UTC](https://discourse.paraview.org/t/qt-and-superbuild/11896/5 "2023-04-24T01:08:55Z")

</div>

That’s up to the `foo.bundle.cmake` you write; you can `INCLUDE_REGEXES` the Qt library names to make sure they’re included (though anything not in a “system” path will be included by default anyways).
