Wrong install parameters?



  • 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.



  • 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.



  • 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.



  • 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.



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



  • 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 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.


  • Moderators

    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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.