Results 1 to 1 of 1

Thread: calling sudo qtcreator creates subsequent problems

  1. #1
    Join Date
    Nov 2009
    Laval, France
    Thanked 2 Times in 2 Posts
    Qt products

    Default calling sudo qtcreator creates subsequent problems

    The other day I had a Qt application that needs to access a Futronic FS80 fingerprint scanner. As far as I know this scanner can only be accessed if the program is run as a super user.
    Something was fishy in my application, so I decided to debug it running qtcreator via sudo.
    Then it became impossible to run qtcreator easily without using sudo, because on startup qtcreator would complain it cannot replace a whole lot of files, like for example
    It appears that running as sudo has changed the ownership of these files, and I am condemned to reruning qtcreator via sudo, unless I change the file permissions.
    I'd like a quick fix to this, I'm not a Linux afficionado.
    Would you recommend erasing a whole lot of these files, on the assumption that qtcreator can rebuild them, or should I be less brutal?
    Thankyou for your attention.
    Last edited by feraudyh; 16th July 2017 at 15:49. Reason: reformatted to look better

Similar Threads

  1. run executable file of qt creator as sudo
    By ftl_embedded in forum Qt Tools
    Replies: 3
    Last Post: 29th September 2015, 11:17
  2. how to use sudo command in Qprocess
    By iswaryasenthilkumar in forum Newbie
    Replies: 5
    Last Post: 24th June 2015, 13:14
  3. Replies: 2
    Last Post: 23rd February 2011, 15:37
  4. Problems with ACtiveQT in calling a routine
    By franco.amato in forum Qt Programming
    Replies: 0
    Last Post: 15th April 2010, 02:00
  5. Problems calling C function in C++/Qt class
    By Rayven in forum General Programming
    Replies: 2
    Last Post: 2nd June 2006, 22:32

Tags for this Thread


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.