Results 1 to 3 of 3

Thread: Uic Permission denied

  1. #1
    Join Date
    Oct 2014
    Posts
    2
    Qt products
    Qt4 Qt/Embedded
    Platforms
    Unix/X11

    Question Uic Permission denied

    Hi All,

    I'm trying to get up to speed with Qt and I'm having some issues. I downloaded and built Qt 4.8.6 on a VM version of Ubuntu 12.04 LTS. Qt appeared to build Ok and I can start it and create a project. The issue occurs when I build the project, I get a following message "execvp: /opt/qt-arm/bin/uic: Permission denied".

    Now I realize that uic takes the .ui file of the project and generates .cpp and .h files from it. If I run the following: "uic mainwindow.ui -o ui_mainwindow.h" from the command line I get the files mainwindow.cpp and ui_mainwindow.h . I can individually build main.cpp and mainwindow.cpp from the IDE without error so I know that my cross compiler is ok, but if I try and build the entire project, I get the above error.


    I'm sure that this is a pathing issue of some kind but I don't know were to look.


    Best regards,
    Mark

  2. #2
    Join Date
    Jan 2006
    Location
    Graz, Austria
    Posts
    8,416
    Thanks
    37
    Thanked 1,544 Times in 1,494 Posts
    Qt products
    Qt3 Qt4 Qt5
    Platforms
    Unix/X11 Windows

    Default Re: Uic Permission denied

    The error either means that the executable does not exist or that you don't have execution permissions.

    The former could be a broken/incomplete installation, the second either a broken installation or bad permissions on the installation directory/partition.

    Cheers,
    _

  3. #3
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Uic Permission denied

    Permission denied can also occur if you are trying to execute a binary for a different architecture, e.g. ARM binary on x86 platform, the binary name in your post indicates that this might be your case.
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


Similar Threads

  1. Permission denied
    By Frosh in forum Newbie
    Replies: 3
    Last Post: 1st October 2009, 07:46
  2. Permission denied
    By lixo1 in forum Qt Tools
    Replies: 4
    Last Post: 27th March 2009, 10:01
  3. exe permission denied
    By phillip_Qt in forum Qt Programming
    Replies: 1
    Last Post: 30th October 2007, 08:47
  4. Permission denied
    By thomasjoy in forum Qt Programming
    Replies: 1
    Last Post: 17th October 2007, 21:37
  5. QFtp and Permission Denied
    By J-jayz-Z in forum Qt Programming
    Replies: 2
    Last Post: 22nd August 2007, 17:15

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.