Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. I DO NOT WANT TO USE XCODE
Forum Updated to NodeBB v4.3 + New Features

I DO NOT WANT TO USE XCODE

Scheduled Pinned Locked Moved Installation and Deployment
10 Posts 5 Posters 10.5k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sosolal
    wrote on 15 Mar 2014, 12:58 last edited by
    #1

    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!

    1 Reply Last reply
    0
    • E Offline
      E Offline
      EricRFMA
      wrote on 15 Mar 2014, 14:12 last edited by
      #2

      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

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sosolal
        wrote on 15 Mar 2014, 14:15 last edited by
        #3

        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!

        1 Reply Last reply
        0
        • E Offline
          E Offline
          EricRFMA
          wrote on 15 Mar 2014, 14:43 last edited by
          #4

          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.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sosolal
            wrote on 15 Mar 2014, 14:44 last edited by
            #5

            5 Gio, if you prefer. Your link is a link for debuggers. My problem is for compilers.

            1 Reply Last reply
            0
            • E Offline
              E Offline
              EricRFMA
              wrote on 15 Mar 2014, 17:04 last edited by
              #6

              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.

              1 Reply Last reply
              0
              • S Offline
                S Offline
                sosolal
                wrote on 15 Mar 2014, 17:16 last edited by
                #7

                Qt have added automatically all stuff. SO WHY INSTALL THE GRAPHIC XCODE?

                5 Gigioctets!

                1 Reply Last reply
                0
                • H Offline
                  H Offline
                  hskoglund
                  wrote on 16 Mar 2014, 19:32 last edited by
                  #8

                  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...

                  1 Reply Last reply
                  0
                  • S Offline
                    S Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on 16 Mar 2014, 20:53 last edited by
                    #9

                    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.

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    1 Reply Last reply
                    0
                    • C Offline
                      C Offline
                      codedorf
                      wrote on 13 Oct 2014, 23:26 last edited by
                      #10

                      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.

                      1 Reply Last reply
                      0

                      • Login

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • Categories
                      • Recent
                      • Tags
                      • Popular
                      • Users
                      • Groups
                      • Search
                      • Get Qt Extensions
                      • Unsolved