# Compiling ParaView on Mac with M1 chip

**URL:** https://discourse.paraview.org/t/compiling-paraview-on-mac-with-m1-chip/11812
**Category:** Development
**Created:** [April 5, 2023, 6:06am UTC](https://discourse.paraview.org/t/compiling-paraview-on-mac-with-m1-chip/11812 "2023-04-05T06:06:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Thomas\_Theussl](https://discourse.paraview.org/user_avatar/discourse.paraview.org/thomas_theussl/32/4471_2.png) [@Thomas\_Theussl](https://discourse.paraview.org/u/Thomas_Theussl)
#### Post date: [April 5, 2023, 6:06am UTC](https://discourse.paraview.org/t/compiling-paraview-on-mac-with-m1-chip/11812/1 "2023-04-05T06:06:16Z")

</div>

Hi,

I am trying to compile ParaView on a MacBook with an M1 chip, but fail to build the GUI, the problem is obviously with Qt since I can build without it (and it worked fine on an Intel chip)

ParaView version v5.11.0 (downloaded source or superbuild)  
Qt version 5.15.2  
macOS Ventura 13.2.1 with Apple M1 Max chip

the downloaded binary works fine as well, are there any instructions on how to compile?

Thomas Theussl

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [April 5, 2023, 12:56pm UTC](https://discourse.paraview.org/t/compiling-paraview-on-mac-with-m1-chip/11812/2 "2023-04-05T12:56:02Z")

</div>

Could you describe what is failing in the compilation?

---

<div class="post-metadata">

### Author: ![Thomas\_Theussl](https://discourse.paraview.org/user_avatar/discourse.paraview.org/thomas_theussl/32/4471_2.png) [@Thomas\_Theussl](https://discourse.paraview.org/u/Thomas_Theussl)
#### Post date: [April 5, 2023, 1:25pm UTC](https://discourse.paraview.org/t/compiling-paraview-on-mac-with-m1-chip/11812/3 "2023-04-05T13:25:30Z")

</div>

well, it depends, when I am setting Qt5\_DIRECTORY to clang\_64 (which, if I understand it correctly I should) I get the linker error:

ld: symbol(s) not found for architecture arm64

which I guess is because the Qt binaries were compiled for Intel chips, if I point Qt5\_DIRECTORY to ios which I think I shouldn’t, but mostly because of the CMake configure error I get then:

Library not found: MobileCoreServices

I downloaded the open source Qt binaries from [Get and Install Qt | Qt 6.5](https://doc.qt.io/qt-6/get-and-install-qt.html) (choosing Qt5 in the online installer), trying to compile Qt myself failed miserably as well (and I want to avoid that actually).

thanks!

---

<div class="post-metadata">

### Author: ![cory.quammen](https://discourse.paraview.org/user_avatar/discourse.paraview.org/cory.quammen/32/11193_2.png) [@cory.quammen](https://discourse.paraview.org/u/cory.quammen)
#### Post date: [April 5, 2023, 3:18pm UTC](https://discourse.paraview.org/t/compiling-paraview-on-mac-with-m1-chip/11812/4 "2023-04-05T15:18:39Z")

</div>

> [@Thomas\_Theussl](#):
>
> which I guess is because the Qt binaries were compiled for Intel chips

Yes this is most likely the case. You’ll need the arm64 Qt binaries instead. ios definitely won’t work.

---

<div class="post-metadata">

### Author: ![Thomas\_Theussl](https://discourse.paraview.org/user_avatar/discourse.paraview.org/thomas_theussl/32/4471_2.png) [@Thomas\_Theussl](https://discourse.paraview.org/u/Thomas_Theussl)
#### Post date: [April 5, 2023, 9:10pm UTC](https://discourse.paraview.org/t/compiling-paraview-on-mac-with-m1-chip/11812/5 "2023-04-05T21:10:18Z")

</div>

Got it working, I ended up building Qt myself using the instructions here:

> **[r/QtFramework - How to Build Qt Creator for macOS ARM64 (a guide)](https://www.reddit.com/r/QtFramework/comments/ll58wg/how_to_build_qt_creator_for_macos_arm64_a_guide/)**
>
> 22 votes and 21 comments so far on Reddit

I got some errors concerning some third party components, but it built all the libraries and I can link and start the ParaView GUI now. Thank you very much!
