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. Wrong install parameters?
Forum Updated to NodeBB v4.3 + New Features

Wrong install parameters?

Scheduled Pinned Locked Moved Installation and Deployment
8 Posts 4 Posters 3.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.
  • S Offline
    S Offline
    servantsaber
    wrote on last edited by
    #1

    Hey guys, I just installed QT creator SDK, and after trying to open some example projects, i seem to be having some problems...
    Whenever I try to open a demo, or try to compile a new project, I get a popup with this message:

    "The project you are about to open is located in the write-protected location " \ "
    "Please select a writable location below and click"Copy project and open"

    What am I doing wrong guys? :P
    Thanks in advance for your time.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tucnak
      wrote on last edited by
      #2

      Hi, ~servantsaber!

      Welcome to Qt Developer Network!

      It seems that you have installed Qt SDK to that dir you don't have privilages for. Now you can work with it in this way:
      @
      sudo qtcreator
      @
      And after that open your project. Else you should reinstall it to the home directory.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        servantsaber
        wrote on last edited by
        #3

        sudo qtcreator? I'm as new as they come, i guess I'm clueless. ^^
        the program was installed in C:\Users\Leloush\necessitas by default from the installer.

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tucnak
          wrote on last edited by
          #4

          Oh sorry, please. I guessed that you are on Linux!

          As I said, this error should be caused bу try to open project from location you don't have privilages for.

          I don't know how to fix it on Windows.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            servantsaber
            wrote on last edited by
            #5

            Ah, that was my bad, Running Windows 7 x64, installed to C:\Users\USERNAME\necessitas

            1 Reply Last reply
            0
            • R Offline
              R Offline
              raaghuu
              wrote on last edited by
              #6

              try running it as administrator(<right-click>on qtcreator.exe,select <Run As Administrator> from the options)
              P.S. - @Tunak... this is the windows version of 'sudo'

              1 Reply Last reply
              0
              • T Offline
                T Offline
                tucnak
                wrote on last edited by
                #7

                [quote author="raaghuu" date="1341207866"]try running it as administrator(<right-click>on qtcreator.exe,select <Run As Administrator> from the options)
                P.S. - @Tunak... this is the windows version of 'sudo'[/quote]

                Thanks, ~raaghuu! Iforgot about it because I am on linux in 4 years. So for me it will be native to use sudo.

                1 Reply Last reply
                0
                • T Offline
                  T Offline
                  tobias.hunger
                  wrote on last edited by
                  #8

                  Please never ever run Qt Creator as root (or Administrator on windows) (via sudo/su or by starting it while being logged in as root). It is not intended to be run by the super user and has ways to trick root to execute code that was supplied by another user. This will compromise the security of your system. If there is something that does not work due to missing permissions, please file a bugreport instead.

                  The message says that you can not play with the example in the location you opened it from. This is due to the Qt version being installed system wide and obviously you don't want User A of that system to break examples for User B. Did you try to select a location you can write to? Creator should then just copy the example over to that place where you can play with it without damaging it for other users and open it from there.

                  If that does not work: Please consider filing a bug report.

                  1 Reply Last reply
                  0

                  • Login

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