[Qt-creator] Evaluation on Mac OSX
G3WOE
michael at g3woe.com
Tue Dec 30 21:20:49 CET 2008
Can anybody assist with Creator installation problems
MacOSX 10.5.5
Xcode Installed
Using Qt4.4.3 binary DMG installer.
qt-mac-opensource-4.4.3
qt-mac-opensource-4.4.3-debug-libs
qtcreator-0.9.1-beta-mac-setup
Files are placed in many locations. I discovered that the Qt binaries
are installed to
/usr/local/Qt4.4 (Please note the installation documentation is out of
date or incorrect.).
I have included this location in the bash environment as follows
$ echo $PATH
/opt/local/bin:/opt/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/
local/bin:/usr/local/Qt4.4
Under QtCreator - preferences - Qt4 the above binaries are recognised
as an additional Qt version.
The System Qt (default) version is marked path <not found>.
QtCreator is not following the environment PATH correctly in order to
locate System Qt.
An additional Qt version can be created and then finds the binaries OK
so I have set the additional version as the default Qt version.
Found Qt Version using mkspec macx-g++
I have created a new project from the Qt4 GUI Application template.
I have set the correct (additional) Qt version both in Preferences and
in the project - build settings - debug - general dialog.
This project will not build
Running build steps for project SecondQtApp...
Could not start process
Error while building project SecondQtApp
When executing build step 'QMake'
I get the same result with Build - Run Qmake
qmake however is running OK. It will run from any working directory
under the bash terminal. It will correctly make an xcode project from
a .pro file which will then compile in xcode and run correctly outside
of Creator using the standard tools provided for MacOSX. The Qt binary
installer is working correctly.
This leads me to conclude Creator may have a problem finding the
location for Qmake. which the binary installer has placed in /
Developer/Tools/Qt. I can see no obvious config parameter in Creator
which will allow me to point to this folder. Qmake is in the bash
search path because it will run from any directory, so it seems that
Creator is not honouring the OSX search path mechanism (as evidenced
by the System Qt problem), and is instead looking in hard coded
location that has been changed by the 4.4.3 binary installer.
Thanks
Michael White
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20081230/ea4ae436/attachment.html
More information about the Qt-creator-old
mailing list