> -----Original Message----- > From: [email protected] [mailto:qt- > [email protected]] On Behalf Of ext > Aekold Helbrass > Sent: Sunday, August 28, 2011 6:49 PM > To: [email protected] > Subject: Re: [Qt-creator] compiling QtCreator from source on Mac - > installation prefix > > On Sun, Aug 28, 2011 at 7:16 PM, Konstantin Tokarev <[email protected]> > wrote: > > 28.08.2011, 19:33, "Aekold Helbrass" <[email protected]>: > >> Hi All! > >> > >> Tell me please how can I make QtCreator make install to use MY folder > >> instead of system path? I've compiled Qt 4.7.3 on my mac, now I want > >> to compile QtCreator myself using existing Qt, I am using: > >> qmake ../qt-creator-2.2.1-src/qtcreator.pro > >> PREFIX=/Users/user/dev/apps/QtCreator-2.2.1 && make && make install > >> it compiles but fails on make install stage. > > > > Why do you ever need make install? > > make generates bundle which could be used directly. > > Hm... Strange, it really works from build folder. It fails with some error and > suggestion to report to apple as soon as I copy it anywhere. > Maybe I did something wrong?
The paths to the Qt libraries are hardcoded in the Qt Creator binary . Try running otool -L Qt\ Creator.app/Contents/MacOS/Qt\ Creator , it will give you absolute paths to e.g. QtCore . Check out http://doc.qt.nokia.com/latest/deployment-mac.html , http://qin.laya.com/tech_coding_help/dylib_linking.html for details. Regards Kai > _______________________________________________ > Qt-creator mailing list > [email protected] > http://lists.qt.nokia.com/mailman/listinfo/qt-creator _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-creator
