# Building Geant4 with cmake-gui and Qt6 Installed

**URL:** <https://geant4-forum.web.cern.ch/t/building-geant4-with-cmake-gui-and-qt6-installed/12894>\
**Category:** Getting Started\
**Created:** [September 6, 2024, 8:23am UTC](https://geant4-forum.web.cern.ch/t/building-geant4-with-cmake-gui-and-qt6-installed/12894 "2024-09-06T08:23:09Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![allison](https://geant4-forum.web.cern.ch/letter_avatar_proxy/v4/letter/a/90db22/32.png) [@allison](https://geant4-forum.web.cern.ch/u/allison)\
**Post date:** [September 6, 2024, 8:57am UTC](https://geant4-forum.web.cern.ch/t/building-geant4-with-cmake-gui-and-qt6-installed/12894/2 "2024-09-06T08:57:15Z")

</div>

Hi Keith

Have a look at this Forum item from a few days ago. It may be a homebrew issue. Does it help?

John

> [@'unknown type name QT6\_VIRTUAL' on MacOS](https://geant4-forum.web.cern.ch/t/unknown-type-name-qt6-virtual-on-macos/12857):
>
> Please fill out the following information to help in answering your question, and also see [tips for posting code snippets](https://geant4-forum.web.cern.ch/t/how-to-post-code-snippets/9944). If you don’t provide this information it will take more time to help with your problem! \_Geant4 Version: 11.2.2 \_Operating System: MacOS Sonoma 14.6.1 \_Compiler/Version: clang 12.0.0 \_CMake Version: 3.30.2 I’m trying to build Geant4 on my Mac. This has worked before. Most of my packages were installed with homebrew and I just updated all of them. I built and installed…

---

_[View the full topic](https://geant4-forum.web.cern.ch/t/building-geant4-with-cmake-gui-and-qt6-installed/12894)._
