Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. (QT Creator 5.1.1) Source files do not show in Project sidebar + "XCode path not set..."
Forum Updated to NodeBB v4.3 + New Features

(QT Creator 5.1.1) Source files do not show in Project sidebar + "XCode path not set..."

Scheduled Pinned Locked Moved Qt Creator and other tools
6 Posts 2 Posters 2.9k 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.
  • M Offline
    M Offline
    metamercurial
    wrote on last edited by
    #1

    I recently installed QT onto OS X and am seeing all these issues popping up whereas on Ubuntu, QT Creator (the latest version too) was just working fine out of the box.

    I'm guessing the project file in the sidebar is supposed to have a tree hierarchy to display all source files associated with the project (as how i see in Creator on Linux) but here on OS X it's just the .pro file and i'd have to use 'file system' or so to open the other .h or .cpp files.

    The second issue is very likely an OS X only issue i suppose with XCode. The full error message is 'XCode path not set. Please use xcode-select to choose XCode installation path'. I have Command Line Tools installed but not XCode.

    Has anyone had these issues/know what's going on?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Before anything else, did you install XCode ? And if yes which version ? Also what version of OS X are your running ?

      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
      • M Offline
        M Offline
        metamercurial
        wrote on last edited by
        #3

        Hi SGaist, thanks!
        Nope Xcode is not installed. But i have Command Line Tools for Xcode. I'm running 10.7 (Lion) anyway. Must I install Xcode?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          IIRC, there was some steps (question answering or something like that) that needed to be done in order to get the tools installed properly and that required to have XCode.

          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
          • M Offline
            M Offline
            metamercurial
            wrote on last edited by
            #5

            Anyway it seems that the problems have been solved. I installed Xcode and the project now displays the file hierarchy and build seems to at least do what it does.

            I'm just wondering though if it's really necessary to have Xcode installed just to use QT?

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

              XCode has always been a dependency on OS X for development (not only for Qt). The command line tool package is a "recent" addition, whether it would be enough if combined to QtCreator I cannot say but that would be a good question to ask on the interest mailing list. You'll find there Qt's maintainers/developers (this forum is more user oriented)

              As a side note, it's Qt not QT unless you're talking about Apple's QuickTime :)

              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

              • Login

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