I DO NOT WANT TO USE XCODE
-
wrote on 15 Mar 2014, 12:58 last edited by
Step 1. I want to compile my frist project
Step 2. Qt Creator get me an error : "Xcode not set up properly. You may need to confirm the license agreement by running /usr/bin/xcodebuild."
Step 3. I execute xcodebuild.
Step 4. xcodebuild get me a error : "xcode-select: error: tool 'xcodebuild' requires Xcode, but active developer directory '/Library/Developer/CommandLineTools' is a command line tools instance"
Step 5. I DO NOT WANT USE XCODE : 5 GO! -
wrote on 15 Mar 2014, 14:12 last edited by
If it's any consolation, you don't ever ever need to actually launch XCode. Qt needs XCode installed to get the command-line tools. Since verision 5 (I think) of XCode, you no longer install the command-line tools separately to land in /usr/bin (or other usual location). They live in the XCode.app bundle, and Qt finds them because it knows which tools live in the XCode.app bundle and where to locate them.
So if you're worried about having to run XCode, you have no worries, you only need to install it. If you don't want XCode anywhere near your hard drive, then things will get more complicated because of all the assumptions Qt makes to automate the build process.
You can probably get around the XCode issues by creating entries for your own compilers and debuggers and kits manually under Preferences->Build & Run in Qt Creator. "This documentation might help":http://qt-project.org/doc/qtcreator-3.0/creator-debugger-engines.html since I haven't dug down that deep myself.
Someone else may chime in with more details... hope this helps!
-Eric
-
wrote on 15 Mar 2014, 14:15 last edited by
But... I have the command line tools! I've not the entire Xcode (5 Go!) but I've the command line tools! I've make, gcc, etc!But... I have the command line tools! I've not the entire Xcode (5 Go!) but I've the command line tools! I've make, gcc, etc!
-
wrote on 15 Mar 2014, 14:43 last edited by
I don't know what you mean by "5 Go!", but if you have the command-line tools installed independently of XCode, then you need to configure Qt as described in the document I liked to, so it can find them. It won't find them automatically unless there in the XCode bundle.
Remember, command-line tools include compiler, linker, debugger, include files and libraries.
-
wrote on 15 Mar 2014, 14:44 last edited by
5 Gio, if you prefer. Your link is a link for debuggers. My problem is for compilers.
-
wrote on 15 Mar 2014, 17:04 last edited by
Debuggers are one piece of the puzzle. The main Qt Creator doc page is "here":http://qt-project.org/doc/qtcreator-3.0/index.html and you can find the details for manually configuring the other tools.
As for "5 Gio", a web search yields nothing on it, so it's still a mystery.
-
wrote on 15 Mar 2014, 17:16 last edited by
Qt have added automatically all stuff. SO WHY INSTALL THE GRAPHIC XCODE?
5 Gigioctets!
-
wrote on 16 Mar 2014, 19:32 last edited by
I've just checked my Xcode 5.1 app Contents folder:
0B ./_CodeSignature
8,0K ./_MASReceipt
137M ./Applications
3,4G ./Developer
25M ./Frameworks
68K ./Library
8,0K ./MacOS
19M ./OtherFrameworks
23M ./PlugIns
40M ./Resources
147M ./SharedFrameworks
40K ./XPCServices
3,8G .I.e. my total is 3.8G not 5G.
If you want to save space, look into the ./Developer folder, in it find Platforms/iPhoneSimulator.platform which is 2.2G.
So if you want to save space, first delete all the simulators... -
To add to my fellows, the answer is: Apple. Xcode is the official suite of tools to develop for OS X/iOS. So you can't avoid installing it. You can only remove some of the unneeded parts.
Also, please stop using complete uppercased sentences. It's considered shouting and not very friendly.
-
wrote on 13 Oct 2014, 23:26 last edited by
It's a known bug. See "this bug ID":https://bugreports.qt-project.org/browse/QTBUG-35928?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel.
I had this problem as well. I did not want to download xcode either, but after installation (and manually changing the version # by following the "instructions here":http://qt-project.org/forums/viewthread/38683 ) I was able to get it to work.