How to do it...

  1. The first step is to install Xcode and related SDK on your computer. Give the following command line if the Xcode is not installed on your machine
xcode-select –install

You might be prompted to install command-line developer tools as shown in the folowing screenshot:

  1. Click on the Install button to install the tools. Next, you need to install libraries for building. Give the following two command lines to install libraries:
brew install autoconf automake libtool pkg-config

On executing the preceding command line you get the output as shown in the following screenshot:

The following command is also required to install libraries: ...

Get Qt5 Python GUI Programming Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.