This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/AM3359: yocto qt sdk : execvp: ../sample/mainwindow.ui: Permission denied**

Part Number: AM3359


Tool/software: Linux

I have just developed SDK in yocto and tried to configured.

while configuring i was getting " Failed to set up kit for Qbs: Could not determine whether Qt is a static build. " this error but configuration was done ,

If i try to compile sample app, am getting above mentioned error in qt creator.

HOST machine is 64 bit ubuntu 14.04:
Target : ARM Cortex a8 - TI chip
Qt Version is : 4.8.7
Qt Creator is : 4.0

i used below steps to develop sdk:

$ source source_poky_jethro/oe-init-build-env build_jethro/
$ bitbake -k core-image-sato
$ bitbake -k meta-toolchain-qt

In same SDK if i try to build my qt project in console, i can compile my sample project. i can get binary.
In Qt Creator only am getting error.

Help me ,

Thank you

  • Hi Sarath,

    The error you mentioned generally occurs if you don't set up the QT tool and configurations properly in qt creator. Try adding qt versions and it should resolve.

    Have look at the below link :
    doc.qt.io/.../creator-project-qmake.html

    Thanks,
    Prabhuraj
    BlackPepper Technologies
  • Thank you for quick reply,

    Sir I have configured correctly sir,

    I can able to compile qt in terminal, and my app working fine in my target,

    If i tried to build using Qt IDE am getting those error.

    Sir , I followed below tutorial to config Qt kit.

    developer.toradex.com/.../how-to-set-up-qt-creator-to-cross-compile-for-embedded-linux

    sarathkumar@Sarathkumar-RND:~$ echo $CC

    arm-poky-linux-gnueabi-gcc -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi

    sarathkumar@Sarathkumar-RND:~$ echo $CXX

    arm-poky-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi

    sarathkumar@Sarathkumar-RND:~$ echo $OE_QMAKE_CXX

    arm-poky-linux-gnueabi-g++ -march=armv7-a -mfloat-abi=hard -mfpu=neon -mtune=cortex-a8 --sysroot=/opt/poky/2.0/sysroots/cortexa8hf-vfp-neon-poky-linux-gnueabi

    sarathkumar@Sarathkumar-RND:~$ which qmake
    /opt/poky/2.0/sysroots/x86_64-pokysdk-linux/usr/bin/qmake