$HOME/Library/Application Support/Qt/qtlicenses.ini
file).$HOME/.qt-license
. If you prefer a different location or file name, you need to set the QT_LICENSE_FILE
environment variable to the respective file path.qt-everywhere-opensource-src-%VERSION%.tar.gz
package, type the following commands at a command line prompt:/tmp/qt-everywhere-opensource-src-%VERSION%
containing the files from the archive../configure
script in the package directory./usr/local/Qt-%VERSION%
directory, but this can be changed by using the -prefix
option.-no-framework
option.-prefix
is outside the build directory, you need to install the library, examples, and tools in the appropriate place. To do this, type:.profile
(if your shell is bash), add the following lines:.login
(in case your shell is csh or tcsh), add the following line:QMAKESPEC
environment variable to darwin-g++
. This will cause problems when you build the Qt for macOS package. To fix this, simply unset your QMAKESPEC
or set it to macx-g++
before you run configure
. To get a fresh Qt distribution, run make confclean
on the command-line.