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. Install Qt/Qt Creator as root
Forum Updated to NodeBB v4.3 + New Features

Install Qt/Qt Creator as root

Scheduled Pinned Locked Moved Installation and Deployment
2 Posts 2 Posters 4.1k Views 1 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.
  • F Offline
    F Offline
    Fuzzillogic
    wrote on 29 Aug 2013, 19:15 last edited by
    #1

    I've used the online installer to install Qt 5.1.1 and Qt Creator 2.8.1 on my Kubuntu machine. The default option was to install everything in my home-directory. I don't like that, desktop indexers going berserk etc. So instead, I restarted the installer as root (sudo), which causes Qt to be installed in the much more agreeable location /opt/Qt. However, while I could run QtCreator as user, the examples were missing from the Welcome screen. When run as root, they were present.

    I've also tried running the installer as user, then manually selected /opt/Qt as target directory. The installer then asked me for my (sudo) password. However, installation went real, real slow and eventually failed with exit code 4 on patcher.sh near the end of the installation...

    I know installing Qt using Administrator rights in Windows is discouraged, but what's the situation in Linux? Probably related: how can one install Qt/QtCreator on a multi-user machine, so all users have access to them?

    1 Reply Last reply
    0
    • S Offline
      S Offline
      sierdzio
      Moderators
      wrote on 2 Sept 2013, 05:47 last edited by
      #2

      On Linux, installing as root is also discouraged.

      To install Qt so that all users have access to it: either install Qt version provided by your distribution, or make a prefixed (or developer) build of Qt in a directory that is visible to all users.

      (Z(:^

      1 Reply Last reply
      0

      1/2

      29 Aug 2013, 19:15

      • Login

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