Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Error: execvp: ../sample/mainwindow.ui: Permission denied**
Forum Updated to NodeBB v4.3 + New Features

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

Scheduled Pinned Locked Moved Solved Installation and Deployment
7 Posts 2 Posters 1.9k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sarath AK
    wrote on last edited by
    #1

    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 ??

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

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

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • S Offline
        S Offline
        Sarath AK
        wrote on last edited by
        #3

        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

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • S Offline
            S Offline
            Sarath AK
            wrote on last edited by
            #5

            Sir , I followed below tutorial to config Qt kit.

            http://developer.toradex.com/knowledge-base/how-to-set-up-qt-creator-to-cross-compile-for-embedded-linux#Build_the_SDK_for_Qt_development

            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

            0_1504692808386_fb43bef2-fcb6-449f-a743-f545c8cad717-image.png

            1 Reply Last reply
            0
            • SGaistS Offline
              SGaistS Offline
              SGaist
              Lifetime Qt Champion
              wrote on last edited by
              #6

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

              Interested in AI ? www.idiap.ch
              Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

              1 Reply Last reply
              0
              • S Offline
                S Offline
                Sarath AK
                wrote on last edited by
                #7

                i have compiled qt 4.8.7 manually , now its working .

                Thank you

                1 Reply Last reply
                0

                • Login

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • Users
                • Groups
                • Search
                • Get Qt Extensions
                • Unsolved