I tried to install Qt 4.8.7 on a Mac running OS X 10.11 (El Capitan). During the installation I got the message: 'This package is incompatible with this version of OS X and may fail to install.'
Fast track version
If you want to install Go
If you want to install the binding
In GOPATH mode
- Jan 22, 2016 I was using Qt 4.8.6 on Mac OS X Yosemite before. I have just upgraded to El Capitan but then I cannot open Qt project with Qt 4.8.6 kit. I tried to remove and reinstall Qt 4.8.6. I don't know why.
- Type./configure -help to get a list of all available options. Note that you will need to specify -universal if you want to build universal binaries, and also supply a path to the -sdk option if your development machine has a PowerPC CPU. By default, Qt is built as a framework, but you can built it as a set of dynamic libraries (dylibs) by specifying the -no-framework option.
- Load more results. Apple Footer Apple Support.
- As an alternative to the binary, you can install QT 4.8.7 with homebrew on mac 10.12: brew tap cartr/qt4 brew tap-pin cartr/qt4 brew install qt@4 brew install qt-webkit@2.3 Windows. Normally you should plan to build Qt from source to have complete control over the process. See one-liner build command or more detailed #Buildinstructions.
- Jul 27, 2015 Installation fails on Mac OSX 10.10.4 using qthostinstaller.app. Help and Support. Mon Jul 27 09: OSMC Installer running on Mac OS X Mon Jul 27 09: Detected locale as enUS Mon Jul 27 09: Attempting to load translation for locale enUS Mon Jul 27 09: Could not load translation! I managed to setup.
- Oct 19, 2014 I'm new to Qt and was trying to download Qt version 4.8 from their website. I downloaded the Qt libraries 4.8.5 for Mac (185 MB) and debug libraries (480 MB). After installing both of them I found that Qt Creator was not bundled with the installation. I downloaded the Qt Creator 3.0.1 for Mac (62 MB) in the same downloads page.
In Module mode (more info here, such as how to work around the GFW)
If you just want to compile an application
In GOPATH mode
(replace github.com/therecipe/examples/...
with the project you want to compile)
In Module mode (more info here, such as how to work around the GFW)
Official version (with iOS/Android support)
Install Xcode:
xcode-select --install
or https://itunes.apple.com/us/app/xcode/id497799835Install Qt; you can also define a custom location with QT_DIR
optional: if you choose any other version than 5.13.0, then please export your version with QT_VERSION
online installer: https://download.qt.io/official_releases/online_installers/qt-unified-mac-x64-online.dmg
offline installer: https://download.qt.io/official_releases/qt/5.13/5.13.0/qt-opensource-mac-x64-5.13.0.dmg
optional: install the experimental webkit module: https://github.com/annulen/webkit/releases/download/qtwebkit-5.212.0-alpha2/qtwebkit-5.212.0_alpha2-qt59-darwin-x64.tar.xz, extract it's content inside
$HOMEQt5.13.0clang_64
(or similar) and export QT_WEBKIT=true
Install Go: https://golang.org/doc/install?download=go1.12.6.darwin-amd64.pkg
Clone the repo:
go get -u -v -tags=no_env github.com/therecipe/qt/cmd/...
Run the setup:
$(go env GOPATH)/bin/qtsetup
Qt For Mac
HomeBrew version (without iOS/Android support)
Install Xcode:
xcode-select --install
or https://itunes.apple.com/us/app/xcode/id497799835Install HomeBrew and export QT_HOMEBREW=true
Install Qt:
brew install qt
Install Go: https://golang.org/doc/install?download=go1.12.6.darwin-amd64.pkg
Clone the repo:
go get -u -v -tags=no_env github.com/therecipe/qt/cmd/...
Run the setup:
$(go env GOPATH)/bin/qtsetup
MacPorts version (without iOS/Android support)
Install Mac Os On Pc
Install Xcode:
xcode-select --install
or https://itunes.apple.com/us/app/xcode/id497799835Install MacPorts and export QT_MACPORTS=true
Install Qt
- optional: install the experimental webkit module:
sudo port -b install qt5-qtwebkit
and export QT_WEBKIT=true
- optional: install the experimental webkit module:
Install Go: https://golang.org/doc/install?download=go1.12.6.darwin-amd64.pkg
Clone the repo:
go get -u -v -tags=no_env github.com/therecipe/qt/cmd/...
Run the setup:
$(go env GOPATH)/bin/qtsetup
Nix version (without iOS/Android support)
Install Xcode:
xcode-select --install
or https://itunes.apple.com/us/app/xcode/id497799835Install Nix
Install Qt
- optional: install the experimental webkit module:
nix-env -i qtwebkit
- optional: install the experimental webkit module:
Install Go: https://golang.org/doc/install?download=go1.12.6.darwin-amd64.pkg
Clone the repo:
go get -u -v -tags=no_env github.com/therecipe/qt/cmd/...
Run the setup:
$(go env GOPATH)/bin/qtsetup
Mac Os Install Disc Download
Now that you are done with the installation you can start reading the usage instructions and build the examples.