On 10/4/2010 5:00 PM, ext Coda Highland wrote:
> I thought you needed a -developer-build flag to do that... I could be
> wrong; I haven't done this in a LONG time, but I seem to remember that
> flag being in there.

With "-prefix ." you don't have to run make install. You use the Qt 
directly from it's source directory (or shadow build directory if you've 
called configure from another directory).

"-developer-build" does this + a lot more: Namely it exports more 
symbols, and changes the default to -debug (instead of 
-debug-and-release). Have a look at $QTDIR\configure, it will give you 
the full story :)

Regards

Kai

> /s/ Adam
>
> On Mon, Oct 4, 2010 at 8:59 AM, Stephen Chu<step...@ju-ju.com>  wrote:
>> On 10/1/10 4:31 PM, Stephen Chu wrote:
>>> On 10/1/10 4:11 PM, kai.koe...@nokia.com wrote:
>>>> configure your Qt with "-prefix '.'".
>>>
>>> Cool. I didn't know you can do this. Thanks.
>>>
>>
>> I tried "-prefix '.'" over the weekend and  it failed at the install.
>> Got this message:
>>
>> g++ -headerpad_max_install_names -arch ppc -arch x86_64 -arch i386
>> -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -single_module
>> -dynamiclib -compatibility_version      4.7 -current_version    4.7.1
>> -install_name   /qt/lib/QtXml.framework/Versions/4/QtXml_debug
>> -Xarch_x86_64 -mmacosx-version-min=10.5 -Xarch_x86_64
>> -mmacosx-version-min=10.5 -Xarch_i386 -mmacosx-version-min=10.4
>> -Xarch_ppc -mmacosx-version-min=10.4 -o QtXml_debug
>> .obj/debug-shared/qdom.o .obj/debug-shared/qxml.o
>> .obj/debug-shared/qxmlstream.o  -F/qt/lib -L/qt/lib -framework QtCore
>> ld: framework not found QtCore
>> collect2: ld returned 1 exit status
>>
>> I looked at "/qt/lib" and find there's only a .prl file in
>> "QtCore.framework" folder.
>>
>> Will try to clean and rebuild it. Wonder if this is a know issue?
>>
>> --
>> Stephen Chu
>> <mailto:step...@ju-ju.com>
>> <http://www.ju-ju.com>
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator@trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator


-- 
Kai Koehne
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori
_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to