How to use Qt Creator for software development on macOS without having to install Xcode
Qt refuses to install on macOS unless Apple's Xcode is installed beforehand. This is unfortunate because:
| // C++ includes used for precompiling -*- C++ -*- | |
| // Copyright (C) 2003-2015 Free Software Foundation, Inc. | |
| // | |
| // This file is part of the GNU ISO C++ Library. This library is free | |
| // software; you can redistribute it and/or modify it under the | |
| // terms of the GNU General Public License as published by the | |
| // Free Software Foundation; either version 3, or (at your option) | |
| // any later version. |
| " VIM Configuration File | |
| " Description: Optimized for C/C++ development, but useful also for other things. | |
| " Author: Gerhard Gappmeier | |
| " | |
| " set UTF-8 encoding | |
| set enc=utf-8 | |
| set fenc=utf-8 | |
| set termencoding=utf-8 | |
| " disable vi compatibility (emulation of old bugs) |
| #!/bin/bash | |
| ### Setup a wifi Access Point on Ubuntu 12.04 (or its derivatives). | |
| ### make sure that this script is executed from root | |
| if [ $(whoami) != 'root' ] | |
| then | |
| echo " | |
| This script should be executed as root or with sudo: | |
| sudo $0 | |
| " |