Important: Please read the Qt Code of Conduct -

QtCreator cant build using yocto tool chain. Permission denied

  • Hey, sir. I am new to Qt .I am building cross platform for Freescale iMX6 board.

    It works well when build linux desktop application, but when I select the kit as Yoctoqt, it throws following msg

    @09:59:37: Running steps for project 25...
    09:59:37: Starting: "/opt/poky/1.2/sysroots/i686-pokysdk-linux/usr/bin/qmake" /home/davide/qtproject/25/ -r -spec linux-gnueabi-oe-g++ CONFIG+=debug
    sh: 1: -d: not found
    09:59:37: The process "/opt/poky/1.2/sysroots/i686-pokysdk-linux/usr/bin/qmake" exited normally.
    09:59:37: Starting: "/usr/bin/make"
    ../25/mainwindow.ui -o ui_mainwindow.h
    make: execvp: ../25/mainwindow.ui: Permission denied
    make: *** [ui_mainwindow.h] Error 127
    09:59:37: The process "/usr/bin/make" exited with code 2.
    Error while building/deploying project 25 (kit: qt Yocto)
    When executing step "Make"
    09:59:37: Elapsed time: 00:00.@

    Does anyone know how to solve, it bothers me 2 weeks.....mad now

    Thank you


  • is this problem bcz QTCreator settings or the cross compiler toolchain?

Log in to reply