(QT Creator 5.1.1) Source files do not show in Project sidebar + "XCode path not set..."
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?
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 ?
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?
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.
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?
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 :)