+ Reply to Thread
Results 1 to 1 of 1

Thread: calling sudo qtcreator creates subsequent problems

  1. #1
    Join Date
    Nov 2009
    Location
    Laval, France
    Posts
    120
    Thanks
    1
    Thanked 2 Times in 2 Posts
    Qt products
    Qt4
    Platforms
    Windows

    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
    /home/feraudyh/.config/QtProject/qtcreator/devices.xml
    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 14:49. Reason: reformatted to look better

+ Reply to Thread

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, 10:17
  2. how to use sudo command in Qprocess
    By iswaryasenthilkumar in forum Newbie
    Replies: 5
    Last Post: 24th June 2015, 12:14
  3. Replies: 2
    Last Post: 23rd February 2011, 14:37
  4. Problems with ACtiveQT in calling a routine
    By franco.amato in forum Qt Programming
    Replies: 0
    Last Post: 15th April 2010, 01:00
  5. Problems calling C function in C++/Qt class
    By Rayven in forum General Programming
    Replies: 2
    Last Post: 2nd June 2006, 21:32

Tags for this Thread

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