On May 3, 2010, at 11:22 PM, ext Elfen 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.

Yes, since /opt is not writable for you as a normal user.

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

The "right" choice is dependent on your use case. And on what your preference 
is. If you ask two people working on Linux, where to best install applications 
(that don't come with the distribution), you'll probably get 3 answers 
(/usr/local, /opt, /home/,...)

Br, Eike

>  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.lindei...@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@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
> <ATT00001..txt>

-- 
Eike Ziller
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443 B
Umsatzsteueridentifikationsnummer: DE 812 845 193
Geschäftsführer: Dr. Michael Halbherr, Karim Tähtivuori




_______________________________________________
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator

Reply via email to