Qt Creator For Mac Os



Downloading and Installing Qt

  1. Qt Creator For Mac Os X
  2. Qt Creator For Mac Os 10.5
  3. Install Qt Creator Mac Os X
  4. Qt Creator For Mac Os 10.12
  5. Qt Creator For Mac Os 10.13

Qt is the faster, smarter way to create innovative devices, modern UIs & applications for multiple screens. Cross-platform software development at its best. Download and install Qt Creator. Go to the Qt Creator official download site to download this software. Near the middle of the page, there is a gray bar of links; in that bar, click the link named 'Qt Offline Installers'. Now scroll down to 'OS X Host', and choose Qt 5.5.1 for Mac (588 MB). (The exact version may change over time, but make.

Qt Creator is an open source and multi-platform IDE (integrated development environment) created to provide developers with all the tools needed to build various types of mobile and desktop based software solutions with the help of the Qt framework. User-friendly and clean styled interface. Dec 26, 2017 The latest version of Qt Creator is unknown on Mac Informer. It is a perfect match for IDE in the Developer Tools category. The app is developed by Nokia Corporation and its user rating is 5 out of 5. Qt Creator is an open source and multi-platform IDE (integrated development environment) created to provide developers with all the tools needed to build various types of mobile and desktop based software solutions with the help of the Qt framework.

There are two ways to install Qt:

  1. through the Qt Installers - downloads and installs Qt
  2. through the Qt sources.

You can download the Qt 5 installers and sources from the Downloads page. For more information, visit the Getting Started with Qt page.

Building Qt 5 from Source

Below, you will find more information about building Qt from source.

  • Qt for macOS - Building from Source - building and installing from source

Qt Creator For Mac Os X

Note: Qt 5 uses Cocoa, therefore, building for Carbon is not possible.

macOS Versions

See Supported Platforms for the list of macOS versions supported by Qt.

Qt can be built for either x86 or x86_64. 64-bit is used by default. To select a 32-bit build, use the QMAKE_APPLE_DEVICE_ARCHSqmake variable. This is selectable at configure time:

QMAKE_APPLE_DEVICE_ARCHS can also be specified as a space-delimited list in order to build for multiple architectures simultaneously:

Note: Qt 5 does not support OS X on PowerPC.

Note: Static builds are not tested.

Additional Command-Line Options

On the command-line, applications can be built using qmake and make. Optionally, qmake can generate project files for Xcode with -spec macx-xcode. If you are using the binary package, qmake generates Xcode projects by default; use -spec macx-gcc to generate makefiles. For example:

Configuring with -spec macx-xcode generates an Xcode project file from project.pro. With qmake you do not have to worry about rules for Qt's preprocessors (moc and uic) since qmake automatically handles them and ensures that everything necessary is linked into your application.

Qt does not entirely interact with the development environment (for example plugins to set a file to 'mocable' from within the Xcode user interface).

The result of the build process is an application bundle, which is a directory structure that contains the actual application executable. The application can be launched by double-clicking it in Finder, or by referring directly to its executable from the command line, for example, myApp.app/Contents/MacOS/myApp.

If you wish to have a command-line tool that does not use the GUI for example, moc, uic or ls, you can tell qmake to disable bundle creation from the CONFIG variable in the project file:

Deploying Applications on macOS

Qt Creator For Mac Os

In general, Qt supports building on one macOS version and deploying to earlier or later macOS versions. The recommended way is to build on the latest version and deploy to an earlier macOS version.

macOS applications are typically deployed as self-contained application bundles. The application bundle contains the application executable as well as dependencies such as the Qt libraries, plugins, translations and other resources you may need. Third party libraries like Qt are normally not installed system-wide; each application provides its own copy.

A common way to distribute applications is to provide a compressed disk image (.dmg file) that the user can mount in Finder. The deployment tool, macdeployqt (available from the macOS installers), can be used to create the self-contained bundles, and optionally also create a .dmg archive. 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.

macOS Issues

The page below covers specific issues and recommendations for creating macOS applications.

Where to Go from Here

We invite you to explore the rest of Qt. We prepared overviews to help you decide which APIs to use and our examples demonstrate how to use our API.

  • Qt Overviews - list of topics about application development
  • Examples and Tutorials - code samples and tutorials
  • Qt Reference Pages - a listing of C++ and QML APIs

Qt's vibrant and active community site, http://qt.io houses a wiki, a forum, and additional learning guides and presentations.

© 2019 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.

Two earlier blog posts (1) (2) covered how to set up Qt and Qt Creator on Windows and Linux systems. Let's look at installation on the remaining major desktop platform, macOS.

Thanks to the unified Qt installer, the process is very similar to that on Windows and Linux, so we'll just cover some of the differences and highlights of the Mac install.

Assumptions and Prerequisites

For this example we'll install Qt 5.7.1, which is supported on macOS version 10.8 and later.

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.

You can also use Qt and Qt Creator on macOS to develop for iOS (i.e. for iPhone, iPod Touch, and iPad devices), or for Android (or both). These use different downloads of Qt and have more prerequisites and won't be covered here.

Installation Steps

Download the Qt installer from http://download.qt.io. For Qt 5.7.1 you can navigate to official_releases / qt 5.7 / 5.7.1 and then download qt-opensource-mac-x64-clang-5.7.1.dmg. It is a reasonably large (1.2 GB) download.

Once it has downloaded, open the dmg file:


From the Qt Installer, follow the wizard screens in the same fashion as on Windows and Linux. Here were the screens I stepped through:


Once done, you can launch Qt Creator:

You should check that it correctly set up at an auto-detected kit with the compiler, Qt version, and debugger:


This is a good time to create some sample projects to test your installation. Use the New Project Wizard and confirm that you can create the project, build it and run the application. Testing both widget and QML-based projects is recommended.


You are now ready for Qt software development on macOS. If you want to update, add or remove any components, you can run the maintenance tool, which will be found under the Qt install directory as MaintenanceTool.

Qt Creator For Mac Os 10.5

Summary

Install Qt Creator Mac Os X

It's easy to get Qt up and running using the installer. I'm not a regular macOS user so on the occasions where I need to build a Qt application for the Mac, I appreciate that I can use the familiar Qt Creator IDE to do most of my work rather than having to learn another IDE.

Qt Creator For Mac Os 10.12

References

Mac

Qt Creator For Mac Os 10.13

  1. Getting Started with Qt and Qt Creator on Linux, ICS blog post, http://www.ics.com/blog/getting-started-qt-and-qt-creator-linux
  2. Getting Started with Qt and Qt Creator on Windows, ICS blog post, http://www.ics.com/blog/getting-started-qt-and-qt-creator-windows
  3. Qt for MacOS, Qt documentation web site, http://doc.qt.io/qt-5/osx.html
  4. Xcode 8, Apple Developer website, http://developer.apple.com/xcode