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

2010-05-03 Thread Coda Highland
That would be YAST, although the package names might be slightly different.

/s/ Adam

On Mon, May 3, 2010 at 5:11 PM, Elfen  wrote:
> One other thing I noticed, is that the Qt Creator installer tells me, for
> Ubuntu / Debian, to run:
> sudo apt-get install libglib2.0-dev libSM-dev libxrender-dev
> libfontconfig1-dev libxext-dev
> sudo apt-get install libgl-dev libglu-dev
>
> However, this did not work for openSUSE.
>
> So I wonder, maybe I need to look for the equivilent of apt-get for
> openSUSE...
>
>
>
> On Mon, May 3, 2010 at 4:31 PM, Elfen  wrote:
>>
>> er, you can uninstall with /opt/qtsdk-2010.02/bin/uninstall
>>
>> On Mon, May 3, 2010 at 4:24 PM, Elfen  wrote:
>>>
>>> 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 
>>> 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 
>
> 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

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

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


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

2010-05-03 Thread Elfen
One other thing I noticed, is that the Qt Creator installer tells me, for
Ubuntu / Debian, to run:
sudo apt-get install libglib2.0-dev libSM-dev libxrender-dev
libfontconfig1-dev libxext-dev
sudo apt-get install libgl-dev libglu-dev

However, this did not work for openSUSE.

So I wonder, maybe I need to look for the equivilent of apt-get for
openSUSE...



On Mon, May 3, 2010 at 4:31 PM, Elfen  wrote:

> er, you can uninstall with /opt/qtsdk-2010.02/bin/uninstall
>
>
> On Mon, May 3, 2010 at 4:24 PM, Elfen  wrote:
>
>> 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 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 
>>>
>>> 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

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


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

2010-05-03 Thread Elfen
er, you can uninstall with /opt/qtsdk-2010.02/bin/uninstall

On Mon, May 3, 2010 at 4:24 PM, Elfen  wrote:

> 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  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 
>>
>> 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
>>>
>>
>>
>
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


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

2010-05-03 Thread Elfen
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  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 
>
> 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
>>
>
>
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


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

2010-05-03 Thread Elfen
> 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 

> 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
>
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Build error

2010-05-03 Thread Nicolas Arnaud-Cormos
On Monday 03 May 2010 09:36:07 Eike Ziller wrote:
> On Apr 30, 2010, at 8:51 PM, ext Nicolas Arnaud-Cormos wrote:
> > Hi,
> > I've updated the source code of Qt Creator (master), and I have this
> > build error:
> > I../../../../dev/src/plugins/qmldesigner/components/resources
> > -I.moc/debug-shared -I.uic -I. -o
> > .obj/debug-shared/qmlgraphicsitemnodeinstance.o
> > ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnod
> >einstance.cpp
> > ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnod
> >einstance.cpp:440: error: ‘Anchor’ in class ‘QDeclarativeAnchors’ does not
> > name a type
> > ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnod
> >einstance.cpp: In member function ‘virtual bool
> > QmlDesigner::Internal::QmlGraphicsItemNodeInstance::hasAnchor(const
> > QString&) const’:
> > ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnod
> >einstance.cpp:562: error: ‘anchorLineFlagForName’ was not declared in this
> > scope There's no QDeclarativeAnchors::Anchor in QDeclarativeAnchors in my
> > Qt 4.7 checkout (4.7-stable).
> 
> Hi,
> Qml/Declarative is still sort of a moving target.
> We decided to only make sure that Qt Creator (master & 2.0) compiles
>  against qt/4.7, avoiding madness with supporting intermediate QDeclarative
>  states that even are not "versioned". (I don't think that 4.7-stable
>  serves any use anymore btw, but I might be wrong.)

Ok, thanks for the answer,
I'll use qt/4.7 branch now, and re-try the compilation.

Cheers,
Nicolas

-- 
Nicolas Arnaud-Cormos | nico...@kdab.com | Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions

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


Re: [Qt-creator] Does maemo deployment still work with the Nokia Qt SDK Beta?

2010-05-03 Thread Christoph Keller
Ohohoh  for some reason I tried to use the public key to connect 
instead of the private one ...

Sorry for wasting your time :)

Christoph

Am 03.05.2010 08:54, schrieb Christian Kandeler:
> ext Christoph Keller wrote:
>> can anyone confirm that the maemo deployment still works with the
>> Nokia Qt SDK? I know, I can't deploy as long as PR 1.2 is not out, but
>> atleast the connection test should work.
>
> Yes, this has been tested here successfully.
>
>> So my QtCreator always says "Device configuration test failed: Could
>> not connect to host". Using the same settings with Putty works fine.
>
> Do both password and key based authentication fail or only one of them?
>
>
> Christian

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


Re: [Qt-creator] Exit from fullscreen

2010-05-03 Thread Tomás Ortí
>From my original message:

I'm running Qt Creator 1.3.1 (64bit) on Ubuntu and export the display to my
Windows Vista Xming server.

On Monday 03 May 2010 12:28:05 ext Tomás Ortí wrote:
>* Not in my case.*
What platform is that?

Andre'


On Thu, Apr 29, 2010 at 10:16 AM, Tomás Ortí  wrote:

> Hi.
> I can enter fullscreen via menu or shortcut (CTRL+SHIFT+F11), but don't
> know how to exit.
> When I toggle, it does not exit either, so the only way to exit from
> fullscreen is to exit from QtCreator.
> Is there a shortcut or menu option (I can't find it) to exit from
> fullscreen mode?
>
> I'm working with 2 monitors, and fullscreen mode is not useful for me,
> because it expands to both monitors.
> Maximizing Qt Creator window works for me, but sometimes by mistake I enter
> on Fullscreen mode, and I have to quit QtCreator to exit from it.
>
I'm running Qt Creator 1.3.1 (64bit) on Ubuntu and export the display to my
> Windows Vista Xming server.
>

> Thanks in advance and keep the good work.
> /Tomas
>
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Avoid rebuilding debugger helper on Mac?

2010-05-03 Thread Stephen Chu
In article <201005031619.30478.andre.poen...@nokia.com>,
 André Pönitz  wrote:

> On Monday 03 May 2010 16:04:28 ext Stephen Chu wrote:

> > Is there a way to set where the helper data is stored? Thanks.
> 
> Do you have an option "Use debugging helpers from custom location"
> in your debugger settings?

As it always heppens, I find it right after I posted the question.

I moved a built helper (the whole "qtc-debugging-helper" folder) from 
the app bundle to a separate location. I then go to the preferences 
panel and choose "libgdbmacros.1.0.0.dylib" in the copied folder.

The debugger finds the helper and works. But in the Qt preferences 
panel, it says the helper is not built. Clicking Rebuild created a new 
copy inside the bundle. I think Creator should use the new location for 
rebuilding.

Thanks.

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


Re: [Qt-creator] Avoid rebuilding debugger helper on Mac?

2010-05-03 Thread André Pönitz
On Monday 03 May 2010 16:04:28 ext Stephen Chu wrote:
> I've been following 1.3.83 snapshots for some time. It's been working 
> great. But every time I update to a new version on the Mac, I have to 
> rebuild the debugger helper. I don't have to do the same with Windows 
> version.

The Windows/MinGW version should not be using the compiled version
of the debugging helper at all, so different behaviour is not unexpected.

> It turns out that the debugger helper info on the Mac is created inside 
> of the application bundle. So every time I update to a new snapshot, the 
> data is gone.
> 
> Is there a way to set where the helper data is stored? Thanks.

Do you have an option "Use debugging helpers from custom location"
in your debugger settings?


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


[Qt-creator] Avoid rebuilding debugger helper on Mac?

2010-05-03 Thread Stephen Chu
I've been following 1.3.83 snapshots for some time. It's been working 
great. But every time I update to a new version on the Mac, I have to 
rebuild the debugger helper. I don't have to do the same with Windows 
version.

It turns out that the debugger helper info on the Mac is created inside 
of the application bundle. So every time I update to a new snapshot, the 
data is gone.

Is there a way to set where the helper data is stored? Thanks.

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


Re: [Qt-creator] Exit from fullscreen

2010-05-03 Thread André Pönitz
On Monday 03 May 2010 12:28:05 ext Tomás Ortí wrote:
> Not in my case.

What platform is that?

Andre'

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


Re: [Qt-creator] Exit from fullscreen

2010-05-03 Thread Tomás Ortí
Not in my case.


On Thursday 29 April 2010 10:16:36 ext Tomás Ortí wrote:
>* Hi.*>* I can enter fullscreen via menu or shortcut (CTRL+SHIFT+F11), but 
>don't know how to exit.*
I can go back by pressing  Ctrl-Shift-F11 a second time.

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


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

2010-05-03 Thread Thorbjørn Lindeijer
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


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

2010-05-03 Thread Eike Ziller

On Apr 30, 2010, at 8:40 PM, ext Elfen wrote:

> 1) Yea, I ran into that, so I did "sudo  
> ./qt-sdk-linux-x86_64-opensource-2010.02.bin".  For whatever reason, this 
> caused it to run a command line installer (instead of a GUI installer).  
> Strange...
> 
> 2) So it installed, but when I opened Qt Creator, Welcome -> Getting Started 
> -> Explore Qt Examples, it says "Examples not installed".  Strange...

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.

++ Eike

> 3) Hm, I wonder what other non-package Linux installers do about this issue.  
> The issue is (/opt/ is the FHS standard for install apps) yet (most users 
> don't have permissions to /opt/).  Not much of a standard if no one uses it.
> 
> 
> 
> On Fri, Apr 30, 2010 at 3:04 AM, 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.
> 
> ---
> Alex Richardson
> ___
> Qt-creator mailing list
> Qt-creator@trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
> 
> 

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


Re: [Qt-creator] Build error

2010-05-03 Thread Eike Ziller
On Apr 30, 2010, at 8:51 PM, ext Nicolas Arnaud-Cormos wrote:

> Hi,
> I've updated the source code of Qt Creator (master), and I have this build 
> error:
> I../../../../dev/src/plugins/qmldesigner/components/resources 
> -I.moc/debug-shared -I.uic -I. -o 
> .obj/debug-shared/qmlgraphicsitemnodeinstance.o 
> ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnodeinstance.cpp
>  
> ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnodeinstance.cpp:440:
>  error: ‘Anchor’ in class ‘QDeclarativeAnchors’ does not name a type 
> ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnodeinstance.cpp:
>  In member function ‘virtual bool 
> QmlDesigner::Internal::QmlGraphicsItemNodeInstance::hasAnchor(const QString&) 
> const’: 
> ../../../../dev/src/plugins/qmldesigner/core/instances/qmlgraphicsitemnodeinstance.cpp:562:
>  error: ‘anchorLineFlagForName’ was not declared in this scope 
> There's no QDeclarativeAnchors::Anchor in QDeclarativeAnchors in my Qt 4.7 
> checkout (4.7-stable).

Hi,
Qml/Declarative is still sort of a moving target.
We decided to only make sure that Qt Creator (master & 2.0) compiles against 
qt/4.7, avoiding madness with supporting intermediate QDeclarative states that 
even are not "versioned".
(I don't think that 4.7-stable serves any use anymore btw, but I might be 
wrong.)

++ Eike

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