Toolchain issue: Missing mkspecs



  • I've installed the BBNDK in my Linux VM, and when starting the IDE and compiling a first project, I get this error:

    ErrorMessage:
    Could not find mkspecs for your QMAKESPECS(unsupported/blackberry-arm7le-qcc) after trying:
    /home/jw/bbndk/target_10_0_9_386/usr/share/qt4/mkspecs

    Looking into the NDK, the path above only exists as far as usr/. There is no share, hence no mkspecs.
    I've looked into the installer log, and could not find any error, so how to fix this?



  • Hi,
    The path should actually be there...but currently no default mkspecs are set. This will change in the next NDK version.
    Your NDK installation might be not completed because there definitively are mkspecs. COuld you try installing it again?



  • Hi,

    The default mkspec is missing on the current Alpha3 NDK.
    If you want to compile for the Simulator you need to explicitly specify the mkspec to use:

    unsupported/blackberry-x86-qcc

    If you're using QtCreator QNX plugin, you can specify the mkspec in the Kit you're using ( last parameter).

    Otherwise, you can just create a sym link to the mkpec you wanna use :

    cd $PATH_TO/usr/share/qt4/mkspecs
    ln -s unsupported/blackberry-x86-qcc default



  • If you compile for the device link to unsupported/blackberry-armv7le-qcc



  • [quote author="Coldpeace" date="1350044303"]Hi,

    The default mkspec is missing on the current Alpha3 NDK.
    If you want to compile for the Simulator you need to explicitly specify the mkspec to use:

    unsupported/blackberry-x86-qcc

    [/quote]

    I'm currently using the BBNDK IDE. Where to find the correct mkspecs?



  • Looking into a different VM, I see that those files seem not to be installed right. So, I'll try to fix that.

    So, copied from another installation the qnx6 folder, which brings a bit more errors, but also solves this one.
    Seems like that the installer has screwed up here, reinstalling new NDK...



  • use find command to locate it:

    find /home/jw/bbndk/ -name blackberry-x86-qcc (or blackberry-armv7le-qcc if device target)

    The mkspecs should be located under your:

    /home/jw/bbndk/target_10_0_9_386/qnx6/usr/share/qt4/mkspecs on linux (isn't?)
    (under "unsupported" dir)

    Then you just need to add a default sym link as I posted before.

    Are you compiling a Cascade projects or pure Qt Project?



  • So, reinstalled, and it works.

    Coldpeace:
    that part was missing in my installation.
    Reinstallment solved it...



  • Nice! :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.