Note for Mac OS Mountain Lion and later users

Submitted by Matthew Smith on Fri, 2012-08-10 13:12
::

Apple imposed new restrictions on installing unapproved applications on Macs starting with Mac OS X 10.8 (Mountain Lion). As standard, only apps by registered developers can be installed; you will need to turn this feature off to run QTM. Registering costs money, which I cannot afford at this time.

Go to "System Preferences" (in the Apple menu) and click "Security and Privacy" in the top row of icons. Click the padlock icon at the bottom of the window, then enter your password. In the menu that is headed "Allow applications downloaded from", click the entry that says "Anywhere". It will give you a warning and tell you an alternative way to run an unapproved app. However, this removes the restriction until you change it back.

Alternatively, you can right-click on any application icon to run an unapproved app like QTM. I am not sure if you can still drag it to the Applications folder if you do not disable the new security feature; you might have to drag it to your home folder.

If you use Sierra (or later), Gatekeeper has been tightened up to remove the option to allow running apps from anywhere. To re-enable the option, you will need to be the owner or administrator, or have their permission. Type the following, at a Terminal:

sudo spctl --master-disable

Then when you open your System Preferences again, the "Anywhere" option will be restored.

When compiling from source using Qt 4, you will get warnings that the version of Mac OS X you are using is unsupported. You should ignore these warnings (however, Qt 5 is recommended on the Mac).