[Qt-creator] where should I install Qt Creator / Qt SDK, on Linux?

Elfen pem.accounts.spam at gmail.com
Mon May 3 23:24:52 CEST 2010


hmmm...  And now I have to figure out how to uninstall /opt/qtsdk-2010.02/
...

On Mon, May 3, 2010 at 4:22 PM, Elfen <pem.accounts.spam at gmail.com> wrote:

> > If you use the qt creator which comes with suse this is no problem.
>
> okay, but Qt Creator 1.2 is really old?  I wonder how long until the
> openSUSE repo has Qt Creator 2.0?  Plus, if I'm doing cross-platform
> development...  Isn't it best to have Qt Creator 1.3 on all platforms?  (And
> Qt Creator 2.0 when it's released).
>
>
>
> > You probably need to tell Qt Creator about your new Qt installation
> (Tools->Options->Qt4->Versions). It is a known issue in 1.3, that the
> installer writes the initial Qt Creator settings *for the root user* if you
> install as root. So, if you'd start Qt Creator as root user, it would
> already know about the new Qt version in /opt, but if you start as any other
> user, it doesn't and you have to tell it manually.
>
> You mean /opt/qtsdk-2010.02/qt/bin/qmake ?  Yes this worked.  However, when
> I open a project, now it says I have to copy the project to a writable
> location, to edit or compile the sample project.
>
> So, overall, I guess I generally understand the difference...
> /opt/qtsdk-2010.02/ is read-only and meant for the system,.  While
> /home/user/[my user name]/qtsdk-2010.02/ is writable and meant only for my
> user.  However, I still don't know which is the "right" / "best" / "ideal"
> choice.  Sounds like the default of ( /user/[my user name]/qtsdk-2010.02/ )
> is easier... unless I missed something?
>
>
> thank you for info
>
>
> 2010/5/3 Thorbjørn Lindeijer <thorbjorn.lindeijer at nokia.com>
>
> On 04/30/2010 10:04 AM, ext Alex Richardson wrote:
>> >> I wonder if Qt Creator should make /opt/qt-sdk-2010.02 the default
>> install
>> >> path (instead of /home/[user name]/qt-sdk-2010.02), since that's the
>> >> official FHS standard.
>> >
>> > The problem is that a normal user usually does not have write permission
>> to /opt/, so installing to
>> > the home directory is safer.
>>
>> Exactly. Also, when you run the installer as root, it already defaults
>> to installing in /opt.
>>
>> That you don't get a GUI installer when running with sudo is strange. At
>> least on Ubuntu this works fine for me.
>>
>> Regards,
>> Bjørn
>>
>> --
>> Thorbjørn Lindeijer
>> Software Engineer
>> Nokia, Qt Development Frameworks
>> _______________________________________________
>> Qt-creator mailing list
>> Qt-creator at trolltech.com
>> http://lists.trolltech.com/mailman/listinfo/qt-creator
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100503/d5942216/attachment.html 


More information about the Qt-creator-old mailing list