It's possible to skip downloading some modules, and Qt Creator certainly doesn't use all of them. WebEngine takes like half the time because it contains Chromium which is larger than Qt. This step takes forever because it needs to pull down every module, and for Qt 5.15 there are ALOT. This will basically give you the last bit of opensource code before the 5.15 repo went private. We need some unreleased code so you need to get it using git. Building Qt 5.15.x (unreleased/opensource)įirst get all the source code for Qt 5.15. I include them because I already have them in my environment, and we recommend them in some of our cmake build documentation for Qt 6 (even though we're building for Qt 5 in this case). Not so sure about the pcre2, harfbuzz, and freetype dependencies, because if you didn't have them we would just build them anyway, and by using the brew version it likely makes the build unmovable from the development machine. The homebrew source has the patches necessary to build a working LLVM. Also using the homebrew version is the easiest because there are outstanding issues with building LLVM for macOS ARM64 that requires an unreleased version of LLVM to overcome, which isn't even supported by Qt Creator. The LLVM install is optional, but is necessary for the extra clang code model in Qt Creator. Get Qt build dependencies (using homebrew)īrew install pcre2 harfbuzz freetype Get Qt Creator dependencies (using homebrew) I'm publishing this guide because it is possible to do now with unreleased code, and it makes tasks like debugging from Qt Creator on the M1 Macs possible. And just so we are clear there is not even a version that is available for commercial customers of Qt. Also it uses unreleased (potentially unstable) code, but it does assume using the publicly available code for 5.15 and Qt Creator (not some hidden magic that doesn't exist yet in a private repo). This is an "unofficial guide" since there is not "official" support for Qt Creator or Qt for that matter on macOS ARM64. Since this topic keeps coming up, and maybe my previous instructions were not enough for people to reproduce my build, I've written a whole guide on how I was able to build Qt Creator for macOS ARM64.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |