How To Install Qt Libraries On Mac

Qt is cross-platform application framework for Graphics User Interface (GUI) development. This application framework is implemented as a set of related libraries. The Qt libraries are used within Tonatiuh to implement the program's GUI, the plug-in architecture, the parallel processing functionality, and the scripting capabilities, among other things.

  1. How To Install Qt Libraries On Mac Free
  2. Mac Install Qt

Offline Installers. Qt offline installer is a stand-alone binary package including Qt libraries and Qt Creator. Qt 5.14.2 for Linux 64-bit (1.2 GB) (info) macOS Host. Download a free trial of the Qt framework, tools for desktop, and embedded development on MCUs and MPUs, plus other enterprise add-ons. What's in Qt? Existing customers. Find them in the Qt account licensing portal or through the Maintenance tool in your Qt installation directory. Installation and Deployment. Which version of Qt am I using? How do I find out? Qt libraries is 5.11,App is 5.14 。. It runs the installer with a custom script to make a silent install. On Windows, it would just be qt-opensource-windows-x86-5.14.1.exe and similar on macOS Regarding to using curl.

Here you will find instructions to install the Qt libraries in your computer and make those libraries available for the development of Tonatiuh.

The available Qt binary package for Mac, is not valid for the Tonatiuh development environment. To configure Qt should download and build Qt from sources.

Download the latest Qt libraries sources. To do it, click on the following link to go to the 'Downloads' webpage of the Qt website. Once you reach the webpage, click on the link titled 'Qt libraries 4.7.0 for Mac'. Click on 'Source code available on this link:http://get.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.0.tar.gz'. This will start the downloading of the Qt source code. Select the appropriate option to store the file in your computer.

Once the download ha finished, open a shell and go to download directory and extract files:

Installing Qt on Mac OS X. Simply double-click on the Qt.mpkg and follow the instructions to install Qt. 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. Qt can also be configured to be built with debugging symbols. These steps install the Qt libraries for ttfautohint's Graphical User Interface. With your browser, download the latest ‘Qt Libraries for Mac’.dmg file from and install Qt in the normal way. Install Qt 5 on Ubuntu Introduction. This is a tutorial for installation of Qt 5.7.0 to Ubuntu 12.10. It may be used for some newer versions of Qt and Ubuntu. As a counterexample, Ubuntu 16.04 LTS uses an independent system for controlling the Qt version. Applications can also be distributed through the Mac App Store. Qt 5 aims to stay within the app store sandbox rules. Macdeployqt (bin/macdeployqt) can be used as a starting point for app store deployment. Qt for macOS - Deployment; Note: For selling applications in the macOS App Store, special rules apply. In order to pass validation, the.

After extraction, a new directory, qt-everywhere-opensource-src-4.7.0, will be created. Go to the directory and type:

You will be asked to accept the license agreement. Accept it typing yes.

How to install qt libraries on mac pro

After qt configuration is finished, to install qt libraries typing:

Now, Qt libraries are installed, we must specify where Qt is installed. Type:

Type 'e' to be able to write in the file. We should add the following text:

Save chages with:

To continue with the resources installation to Tonatiuh development, start with Simage installation.

Mac Configuration | Wiki Home

Building on Linux

Prerequisites

All requisites should be available for your distribution. The most important are:

  • The basic program build tools. On Ubuntu and Debian these are available in the meta-package build-essential. On other distributions, you may need to install the GNU C++ compiler separately. The package is going to have c++ or g++ in its name. If you can't find the equivalent of build-essential meta-package for your distribution, be sure to install the 'make' utility as well.
  • CMake, the cross platform build system.
  • Qt version 4.4.0 or higher (but Qt version 5.x won't work). If you have KDE 4.1 or later installed then you will have the runtime libraries but you may have to install the header files and utilities. These are in the package libqt4-dev on Ubuntu and Debian. Generally, developer packages have the -dev or -devel suffix.
  • Several more developer packages:

These are the package names on Debian and Ubuntu, find the similar ones for your distribution. For Fedora, use '-devel' instead of '-dev' as suffix and drop the version numbers.

PackageVersionPossible Package Names
libjpeganylibjpeg62-dev
Fedora: libjpeg-turbo-devel
zlibanyzlib1g-dev
libpnganylibpng12-dev
libtiffanylibtiff4-dev
libboost>= 1.35libboost1.40-all-dev
boost-libs
(if that fails, try: libboost1.55-all-dev)
libxrenderanylibxrender-dev
libXrender-devel

Configuration

Open a console window and go to the directory that contains the scantailor sources. From there, run the following (notice the dot at the end):

There will be lots of messages from cmake ending with:

  • If you have missing dependencies you will get an error message telling you what is missing. You can then search for the missing package and install it.
  • If you have a library and header files installed in a non-standard place then cmake will not find them. In that case you can run the interactive program ''ccmake'' which allows you to specify paths to libraries and header files.

Compilation and Installation

Building on Mac OS X

MacPorts

MacPorts has already scantailor as a package(Xcode prerequisites for MacPorts apply)

Building on Mac OS X is very similar to building on Linux but the package names are different and the MacPorts packaging system needs to be installed in order to get the needed packages. Also the nonstandard location that MacPorts installs qmake to needs to be specified.

Prerequisites

  • Xcode. Install it either from your Mac OS X install media or better, go download the latest version from http://developer.apple.com/TOOLS/Xcode/
  • MacPorts. Choose and install the correct dmg version for your version of Mac OS X from http://www.macports.org/install.php, then open a Terminal window and run:
  • Then install the rest of the needed packages with

This installs:

How To Install Qt Libraries On Mac Free

  • CMake, the cross platform build system.
  • Qt version 4.6.0 beta currently
  • Boost version 1.40.0 including libboost
  • libxrender

The rest of the needed packages are installed as dependencies of these.

Configuration

Download the scantailor source code package and then upack the source by entering the following in the directory where the source package resides:

Mac Install Qt

Replace the file name above with the name of the version that you have downloaded. Typing the first few letters of the name and typing tab will autocomplete the filename for you.

Then navigate to the directory that contains the scantailor sources. From there, run the following (single line and mind the dot at the end):

There will be lots of messages from cmake ending with

  • If you have missing dependencies you will get an error message telling you what is missing. You can then search for the missing package and install it.
  • If you have a library and header files installed in a non-standard place then cmake will not find them. In that case you can specify them as above for qmake or run the interactive program ''ccmake'' which allows you to specify paths to libraries and header files.

Compilation and Installation