[Interest] Build Qt from source in 32bit (-platform macx-clang-32)

Nuno Santos nunosantos at imaginando.pt
Thu May 28 08:32:33 CEST 2015


This is the qmake.stash file content. I can’t find anything mean-full here. Does this rings you any bell?

QMAKE_XCODE_DEVELOPER_PATH = /Applications/Xcode.app/Contents/Developer
QMAKE_XCODE_VERSION = 6.3.2
QMAKE_MAC_SDK.macosx.path = /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.10.sdk
QMAKE_MAC_SDK.macosx.version = 10.10
QMAKE_MAC_SDK.macx-clang-32.macosx.QMAKE_CC = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
QMAKE_MAC_SDK.macx-clang-32.macosx.QMAKE_CXX = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
QMAKE_MAC_SDK.macx-clang-32.macosx.QMAKE_FIX_RPATH = \
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/install_name_tool \
    -id
QMAKE_MAC_SDK.macx-clang-32.macosx.QMAKE_AR = \
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ar \
    cq
QMAKE_MAC_SDK.macx-clang-32.macosx.QMAKE_RANLIB = \
    /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ranlib \
    -s
QMAKE_MAC_SDK.macx-clang-32.macosx.QMAKE_LINK = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
QMAKE_MAC_SDK.macx-clang-32.macosx.QMAKE_LINK_SHLIB = /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++
QMAKE_MAC_SDK.macosx.platform_name = macosx



> On 28/05/2015, at 02:55, René J.V. Bertin <rjvbertin at gmail.com> wrote:
> 
> On Wednesday May 27 2015 23:37:34 Nuno Santos wrote:
>> Thanks Thiago
>> 
>> I always delete the source folder and start with a new one when configuration changes drastically. I have built Qt from a clean source dir.
>> 
>> Maybe something is missing in the configure line then?
>> 
>> configure -prefix /Users/nsantos/Qt/5.4/clang_32 -platform macx-clang-32 -commercial -release -nomake examples -nomake tools -nomake tests -opengl desktop -skip webkit -skip multimedia
>> 
>> Does anyone has a clue?
> 
> Hi,
> 
> I had some issues a while back trying to write a MacPorts "recipe" to create a universal 32+64 bit build. I cannot remember the details at the moment, but I managed to work around them by copying a corrected version of .qmake.stash to ${build.dir}/qtbase and ${build.dir} *before* running configure.
> 
> So have a look at the .qmake.stash files you have now after running configure, maybe that teaches you something.
> 
> R.




More information about the Interest mailing list