QtCreator and Command Line Arguments

Go in the “Project” part on the left of QtCreator and then in the “Run Settings” tab. There is a Arguments line edit where you can put all you need to pass to your app when launching it. For Qt Creator from Qt 5.6 Go in the “Projects part on the left and then in … Read more

QtCreator: No valid kits found

Found the issue. Qt Creator wants you to use a compiler listed under one of their Qt libraries. Use the Maintenance Tool to install this. To do so: Go to Tools -> Options…. Select Build & Run on left. Open Kits tab. You should have Manual -> Desktop (default) line in list. Choose it. Now … Read more

Qt Creator – Project ERROR: Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild

>= Xcode 8 In Xcode 8, as Bruce said, this happens when Qt tries to find xcrun when it should be looking for xcodebuild. Open the file: Qt_install_folder/5.7/clang_64/mkspecs/features/mac/default_pre.prf Replace: isEmpty($$list($$system(“/usr/bin/xcrun -find xcrun 2>/dev/null”))) With: isEmpty($$list($$system(“/usr/bin/xcrun -find xcodebuild 2>/dev/null”))) ~> Xcode 8 Before Xcode 8, this problem occurs when command line tools are installed after Xcode … Read more