Results 1 to 3 of 3

Thread: Installing Qt without root privileges

  1. #1
    Join Date
    Feb 2009
    Posts
    7
    Thanks
    6
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Installing Qt without root privileges

    I have account on CentOS system as regular user.
    Is it possible to install Qt without root privileges only for my needs?
    I guess that it has to be done by compiling from source code, but I don’t know how to do it.
    Could anyone help me?

  2. #2
    Join Date
    Mar 2009
    Location
    California, USA
    Posts
    31
    Thanks
    2
    Thanked 7 Times in 6 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Installing Qt without root privileges

    I have done this several times as a user and not root. I created a folder called Qt, moved the binary version to that folder, clicked on it to begin the install. Once the package is unpacked, click on the install script. It works great.

    Gary

  3. #3
    Join Date
    Jan 2006
    Location
    Frankfurt
    Posts
    500
    Thanks
    1
    Thanked 52 Times in 52 Posts
    Platforms
    MacOS X Unix/X11

    Default Re: Installing Qt without root privileges

    Just pass a path where you have write privileagues to the prefix argument of configure. Then you will be able to do make install without root. Also people report that you can run qt from the build directory if you pass the build directory as prefix, e.g. --prefix `pwd`
    It's nice to be important but it's more important to be nice.

  4. The following user says thank you to axeljaeger for this useful post:

    mpele (13th August 2009)

Similar Threads

  1. Referencing QCA Using QMake
    By wswartzendruber in forum Qt Programming
    Replies: 1
    Last Post: 29th July 2009, 08:09
  2. Running an application with root privileges at Linux
    By prykHetQuo in forum Qt Programming
    Replies: 5
    Last Post: 25th January 2009, 12:35
  3. Installing and running Qt4 without root privileges
    By sunil.thaha in forum Installation and Deployment
    Replies: 1
    Last Post: 10th October 2007, 14:04
  4. Qt 4.2.2 and SuSE Linux 9.3
    By Teuniz in forum Installation and Deployment
    Replies: 15
    Last Post: 26th February 2007, 12:21
  5. Dynamically getting root privileges for an app
    By fullmetalcoder in forum Qt Programming
    Replies: 1
    Last Post: 19th January 2007, 10:26

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.