Is your Mac up to date with the latest version of the Mac operating system (macOS or OS X)? Is it using the version required by some other product that you want to use with your Mac? Which versions are earlier (older) or later (newer, more recent)? To find out, learn which version is installed now.
If your macOS isn't up to date, you may be able to update to a later version.
- How to build Qt statically It is actually embarrassingly easy. You only need to run the configure utility with the right set of parameters. I’ll describe the process for Mac OS (works like a charm), Linux (there are some tiny problems) and Windows (doesn’t fucking work lots of problems).
- Step 2: Build the Qt Library. To configure the Qt library for your machine type, run the./configure script in the package directory. By default, Qt is configured for installation in the /usr/local/Trolltech/Qt-4.7 directory, but this can be changed by using the -prefix option. Cd /tmp/qt-everywhere-opensource.
- The C compiler used by Qt on macOS is the Clang compiler, provided as part of the Xcode development tool. You will need to install Xcode from the Apple App Store. It is a free download, but you will need to have or create an Apple ID.
Build Qt For Mac Os 10.13
Which macOS version is installed?
Build Qt For Mac Os 10.10
From the Apple menu in the corner of your screen, choose About This Mac. You should see the macOS name, such as macOS Mojave, followed by its version number. If you need to know the build number as well, click the version number to see it.
For packaging and redistributing Slicer: build Qt using qt-easy-build Setting CMAKEOSXDEPLOYMENTTARGET CMake variable specifies the minimum macOS version a generated installer may target. So it should be equal to or less than the version of SDK you are building on. Qt for Mac OS X has some requirements that are given in more detail in the Qt for Mac OS X Requirements document. The following instructions describe how to install Qt from the source package. For the binary package, simply double-click on the Qt.mpkg and follow the instructions to install Qt.
This example shows macOS Catalina version 10.15 build 19A583.
Which macOS version is the latest?
These are all Mac operating systems, starting with the most recent. When a major new macOS is released, it gets a new name, such as macOS Catalina. As updates that change the macOS version number become available, this article is updated to show the latest version of that macOS.
If your Mac is using an earlier version of any Mac operating system, you should install the latest Apple software updates, which can include important security updates and updates for the apps that are installed by macOS, such as Safari, Books, Messages, Mail, Music, Calendar, and Photos.
macOS | Latest version |
---|---|
macOS Catalina | 10.15.7 |
macOS Mojave | 10.14.6 |
macOS High Sierra | 10.13.6 |
macOS Sierra | 10.12.6 |
OS X El Capitan | 10.11.6 |
OS X Yosemite | 10.10.5 |
OS X Mavericks | 10.9.5 |
OS X Mountain Lion | 10.8.5 |
OS X Lion | 10.7.5 |
Mac OS X Snow Leopard | 10.6.8 |
Mac OS X Leopard | 10.5.8 |
Mac OS X Tiger | 10.4.11 |
Mac OS X Panther | 10.3.9 |
Mac OS X Jaguar | 10.2.8 |
Mac OS X Puma | 10.1.5 |
Mac OS X Cheetah | 10.0.4 |
I prefer to build Qt from source. I have been trying to build Qt 4.8.5 on Mac OS X 10.9 (Mavericks). I managed in the end, but it took a few tweaks. Online information about how to do this was fragmentary, so I am documenting it here in case it is useful to someone else.
1. Webkit doesn’t build. I don’t need it so I disabled it using configure option:
-no-webkit
2. The corewlan plugin doesn’t build. I don’t need it (I think, I’ve never heard of it before) so I disabled it using this fix from stackoverflow.
3. The TIFF image format plugin doesn’t build. I don’t need it so I disabled it using configure option:
-no-libtiff
My final configure command was:
Qt For Mac
./configure -nomake demos -nomake examples -debug-and-release -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-gif -no-openssl -no-webkit -no-libtiff
There will be lots of warnings that Qt 4.8.5 isn’t compatible with Mac OS X 10.9. But you can ignore these (or comment out the warning in the appropriate Qt header file).
I have done some brief experiments and it seems to work ok. Hopefully there will be a Qt 4.8.6 that fixes these issues. Note that you also need to make some tweaks to your application code. See:
** UPDATE April-2014 **
Qt 4.8.6 has been released. This appears to build fine on Mac OS X 10.9.