# No QT5 found on iOS install

**URL:** https://discourse.cmake.org/t/no-qt5-found-on-ios-install/2148
**Category:** Code
**Created:** [November 10, 2020, 7:22am UTC](https://discourse.cmake.org/t/no-qt5-found-on-ios-install/2148 "2020-11-10T07:22:01Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![mlander](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/m/aca169/32.png) [@mlander](https://discourse.cmake.org/u/mlander)
#### Post date: [November 10, 2020, 7:22am UTC](https://discourse.cmake.org/t/no-qt5-found-on-ios-install/2148/1 "2020-11-10T07:22:01Z")

</div>

I’ve updated the necessary downloads for QT5.15 with with Xcode and Python for a Mantaflow app and am stumped troubleshooting. I’m not too well versed with the coding world!

"No Qt5 found (recommended!), trying to use Qt4  
CMake Error at /Applications/CMake.app/Contents/share/cmake-3.19/Modules/FindQt4.cmake:1314 (message):  
Found unsuitable Qt version “” from NOTFOUND, this code requires Qt 4.x  
Call Stack (most recent call first):  
CMakeLists.txt:652 (find\_package)

Configuring incomplete, errors occurred!"

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [November 25, 2020, 4:50pm UTC](https://discourse.cmake.org/t/no-qt5-found-on-ios-install/2148/2 "2020-11-25T16:50:27Z")

</div>

It looks like Mantaflow is using `find_package(Qt)`. or something related. You can pass `-DCMAKE_PREFIX_PATH=/path/to/Qt/prefix` or `-DQt5_DIR=/path/to/Qt/prefix/lib/cmake/Qt5`. The latter should contain a `Qt5Config.cmake` file.

---

<div class="post-metadata">

### Author: ![mlander](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/m/aca169/32.png) [@mlander](https://discourse.cmake.org/u/mlander)
#### Post date: [November 29, 2020, 3:24am UTC](https://discourse.cmake.org/t/no-qt5-found-on-ios-install/2148/3 "2020-11-29T03:24:41Z")

</div>

Thank you for the suggestion… How/where should I input the pass?

---

<div class="post-metadata">

### Author: ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)
#### Post date: [November 29, 2020, 5:48pm UTC](https://discourse.cmake.org/t/no-qt5-found-on-ios-install/2148/4 "2020-11-29T17:48:05Z")

</div>

`-D` would be on the command line. Or you can use the GUI to set the variable.
