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.
Name Last modified Size Metadata; Parent Directory - qt-win-opensource-4.8.5-vs2010.exe: 24-Feb-2014 15:39. Qt Creator 4.13.1 is released and it is available via Qt online installer. If you need a standalone installer, please select the file according to your operating system from the list below to get the latest Qt Creator for your computer. Qt Creator 4.13.1 for Windows (266 MB) (info) Qt Creator 4.13.1 for Windows 64-bit (283 MB) (info).
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. Download parallel desktop for mac. Summary
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.
References
Many people want to use Qt Designer without having to download gigabytes of other software. Here are small, standalone installers of Qt Designer for Windows and Mac:
If you encounter any problems, please just send us an email. We'd be happy to help.
What is Qt Designer?
Qt Designer is a tool for quickly building graphical user interfaces with widgets from the Qt GUI framework. It gives you a simple drag-and-drop interface for laying out components such as buttons, text fields, combo boxes and more. Here is a screenshot of Qt Designer on Windows:
Qt Designer produces
.ui files. This is a special XML-based format that stores your widgets as a tree. You can either load these files at runtime, or have them translated to a programming language such as C++ or Python.
Qt Designer vs. Qt Creator
Qt Designer normally ships as a part of Qt Creator. This is Qt's official editor and lets you do a lot more than just graphically design user interfaces. It is a full-fledged and very powerful C++ IDE. This power comes at a price however: The download for Qt Creator is gigabytes in size!
This page was created for people who only need Qt Designer. The download links here contain minimal, self-contained installers of just Qt Designer that are orders of magnitude smaller. Here they are again:
Qt Designer and Python
Many people like to use Qt Designer together with Python because it is a dynamic language that lends itself well to rapid prototyping.
The easiest way to combine Qt Designer and Python is via the PyQt binding. To install PyQt, simply enter the following on the command line:
(This assumes you have Python 3 installed.)
Qt For Mac Download
Suppose you have saved your file from Qt Designer as
dialog.ui . Then you can create another file, say main.py , with the following contents:
Crashlands multiplayer download pc. When you then invoke
python main.py on the command line, your dialog should open:
If you want to learn more about combining Qt with Python, you may be interested in my book:
![]() Qt Designer For Windows 10
It distills years of experience to quickly help you create better GUI applications. I'm humbled to say that even Phil Thompson, the creator of PyQt, read it and thinks it's 'very good'.
Qt Creator For Mac Download Softonic
Michael has been working with Qt and Python since 2016, when he started fman, a cross-platform file manager. Frustrated with the difficulties of creating a desktop app, Michael open sourced fman's build system (fbs). It saves you months when creating Python Qt GUIs. Recently, Michael also wrote a popular book about these two technologies.
Jun 21, 2018. Chemdraw 3d mac free download.
Comments are closed.
|
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2020
Categories |