Error: execvp: ../sample/mainwindow.ui: Permission denied**

  • Hi everyone.

    I am getting this error: execvp: ../sample/mainwindow.ui: Permission denied error message in my qt creator.

    I am using Qt 4.8.7 framework , my qt sdk builded from yocto.

    i try to build using cmd everything works fine but i am getting error only on qt creator 3.2,

    anyone can help me ??

  • Lifetime Qt Champion


    Did you do anything as root before trying to build your application with Qt Creator ?

  • No sir,

    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

  • Lifetime Qt Champion

    How did you configure your Kit and Qt version in Qt Creator ?

  • Sir , I followed below tutorial to config Qt kit.

    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


  • Lifetime Qt Champion

    Looks like there's something funky with your kit. It's in fact trying to execute the file.

  • i have compiled qt 4.8.7 manually , now its working .

    Thank you

Log in to reply

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