![]() export QT_DIR= "/Applications/Qt" export QT_VERSION= "5.14.2" export PATH= "/Applications/Qt/Latest/clang_64/bin: $PATH" export LDFLAGS= "-L/Applications/Qt/Latest/clang_64/lib" export CPPFLAGS= "-I/Applications/Qt/Latest/clang_64/include" Now that Qt is installed we will need to setup some environment variables and paths.Īdd the following lines to you profile files. It is recommended to install support for all the mobile and desktop platforms. This way I can have multiple versions of Qt installed.Īlso make sure that you select all the appropriate components while you are installing Qt. I also make an alias of the latest version as "/Applications/Qt/Latest" which points to "/Applications/Qt/5.14.2" or which ever is the latest version. For example if the Qt version is "5.14.2", then install in the folder "/Applications/Qt/5.14.2" It is recommnded to install in the Applications directory. When you are installing then it will ask for the folder where you want to install. You can download Qt from the below link on the Qt website. But if your annual revenue is less than $250K then you will just need to pay $499 per year.įor this post we will use the opensource version of Qt. Although the premium version has more features and plugins.Īs of today if your annual revenue is more than $250K, then you will have to pay more than $4000 every year. If you are just getting started then you can use the Open Source version of Qt. Rather, we will download and install directly from the Qt website.īy itself Qt is a paid tool. Thus we will no go with the package managers. Here are some of the popular package managers which you can use to install Qt.īut none of the above will support mobile platforms. There are several ways you can setup Qt on Mac. Now to install the Command Line Tools run the following command in a new terminal window. You can install Xcode from the Mac App Store. Step 1: Install Xcode and the Command Line Tools: Steps are similar for other platforms but we will take care of that in other post. In this tutorial, you will learn how to setup Qt for Go on Mac. ![]() ![]() But developers dont want to leave the robust deployment platform that helps in making builds for Android, iOS, Windows, Mac and Linux. With the popularity of Go Lang smaller learning curve, there is a demand for using Go instead of C/C++. Be default Qt supports development with C and C++. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |