[Qt-creator] New Outline added to sidebar (master branch)

2010-07-08 Thread kai.koehne
Hi,

I just added a new sidebar pane to the qtcreator master branch (5439ce976eaa 
and onwards). The 'Ouline' shows the structure of the (C++/qml) document you're 
currently editing. It's the same tree that you get when clicking on the combo 
box in the editor toolbar, just easier to access :)

Right now it's only a navigation helper: Clicking on method in the outline will 
move the cursor to it's definition in text, moving the cursor in text updates 
the selection in the outline ... But I'll plan to e.g. also let you rearrange 
stuff in the outline, at least for a Qml document.

Feedback is of course highly appreciated :)

Regards

Kai


--
Kai Koehne
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] Plugin to display compile errors warnings etc. inline

2010-07-08 Thread Liebe Markus (RtP2/TEF72)
 I introduced a *TaskHub* which essentially emits all the task
 related signals
 the buildmanager had, and also the new signals you need.

Hi Daniel,

I am using your new TaskHub now to create tasks for //todo comments as well.
The TaskHub has the interface to add new categories of tasks, but it seems to 
me that there is no way to add new Icons for the categories as well.

Is it possible for you to extend that a bit?
It would be great to have a possibility to use own icons for new task 
categories.

Best regards,
Markus

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


Re: [Qt-creator] Plugin to display compile errors warnings etc. inline

2010-07-08 Thread Tobias Hunger
Hi Markus!

On 08.07.2010 15:07, ext Liebe Markus (RtP2/TEF72) wrote:
 I am using your new TaskHub now to create tasks for //todo comments as well.
 The TaskHub has the interface to add new categories of tasks, but it seems to
  me that there is no way to add new Icons for the categories as well.

Categories are the strings seen in the build issues view when clicking 
on that little funnel icon (rightmost one).

 Is it possible for you to extend that a bit?

So far there is only a string used. What do you want in addition to that?

 It would be great to have a possibility to use own icons for new task
  categories.

Icons are only used for the task types (Warning, Error and Unknown). 
These types can not get extended at this time (and actually I do not 
consider that a good idea to extend them;-), so we have not seen any 
need to add icons at this time.

PS: Just curious: How are you parsing for the FIXMEs/TODOs? Are you 
hooking into the C++ parser framework?

-- 
Tobias Hunger
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] Creator from git crashes when opening files

2010-07-08 Thread Daniel Teske
On Thursday 10 June 2010 15:59:10 ext Liebe Markus (RtP2/TEF72) wrote:
  If that works, I'd be interested in that line.
 
 That worked for me! Thanks.
 The line is in the attached file.
After looking at the code in some detail, the only changes to the 
restore/saving code was back in the Qt 4.3/ Qt 4.4 time frame. To me that 
change back then looks potentially incorrect, but I'd guess that's likely not 
the case. :)

From what I can see 32bit vs 64bit should have no effect on the restoring, but 
if you upgraded your qt from 32 bit to 64 bit, that might have been the 
reason. If so please comment QTCREATORBUG-1758.
So I'm out of ideas for now.

daniel

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


Re: [Qt-creator] New Outline added to sidebar (master branch)

2010-07-08 Thread Bryce Schober
Too bad we don't get master binary snapshots. What would it take to get
them?

On Thu, Jul 8, 2010 at 5:07 AM, kai.koe...@nokia.com wrote:

 Hi,

 I just added a new sidebar pane to the qtcreator master branch
 (5439ce976eaa and onwards). The 'Ouline' shows the structure of the
 (C++/qml) document you're currently editing. It's the same tree that you get
 when clicking on the combo box in the editor toolbar, just easier to access
 :)

 Right now it's only a navigation helper: Clicking on method in the outline
 will move the cursor to it's definition in text, moving the cursor in text
 updates the selection in the outline ... But I'll plan to e.g. also let you
 rearrange stuff in the outline, at least for a Qml document.

 Feedback is of course highly appreciated :)

 Regards

 Kai


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




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


[Qt-creator] Qt Creator 2.0 displays additional warning information as errors

2010-07-08 Thread mail
Hello,

I recently switched from Qt-Creator 1.3 to 2.0.
I noticed a strange behavior in the Build Issues-tab:

When compiling with gcc, I get a warning that looks like this in the Compiler 
Output-tab
foo.h: In member function `void FooT::bar(const T) [with T = int]':
foo.h:137: instantiated from XYZ
foo.h:52: instantiated from XY
foo.cpp:18: instantiated from here
foo.h:60: warning: converting to `int' from `double'

This warning is displayed in the Build issues-tab as
(no symbol) In member function...
(red exclamation mark) instantiated from XYZ
(red exclamation mark) instantiated from XY
(red exclamation mark) instantiated from here
(yellow triangle) converting to `int' from `double'

and causes the red error exlamation mark and number 3 to be displayed beneath 
the build progress bar on the left, which fills with all green, since the 
compile succeeds.

Apparantly, the instantiated from is interpreted as a compile error instead 
as an additional information to the compile warning.

It is pretty astonishing to see compile errors where there are none, but 
additional warning information. IIRC, this issue was not there in Qt-Creator 1.3

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


Re: [Qt-creator] new C++ indenter: request for feedback

2010-07-08 Thread Nikos Chantziaras
Hours?  It only needs about 30 minutes to build on an (by now) old Core 
2 Duo.  I even got it to 20 minutes if I disable stuff I don't need.

It's really fast and easy to build your own binaries.  I highly 
recommend it :)


On 07/08/2010 09:30 PM, Coda Highland wrote:
 Seriously, if you've got reasonably modern hardware the whole rebuild
 process should only take a couple hours (unless you're building
 four-way universal binaries or something, but that's just silly if
 you're not intending to distribute).

 /s/ Adam

 On Thu, Jul 8, 2010 at 1:14 PM,kai.koe...@nokia.com  wrote:
 Bryce Schober wrote on Thursday, July 08, 2010 6:51 PM:

 Too bad we don't get master binary snapshots. Maybe I should repeat this 
 mantra indefinitely. ;-)

 I think we got the point now :) We have some dedicated machines here for the 
 nightly builds. They are however building from the 2.0 branch, because 
 that's were the next release will come from (see e-mail from Eike a while 
 ago). And we AFAIK don't have the resources to build two in configurations 
 in parallel.

 Anyhow, out of curiosity: Why do you push so much for nightly builds, in 
 contrast to compiling yourself? It's true that you might have to compile Qt 
 yourself then once, but then updating / recompiling creator afterwards isn't 
 really a big hassle.

 Kai
 ___
 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] new C++ indenter: request for feedback

2010-07-08 Thread Coda Highland
You can build QtWebKit that fast? *blink* I'd believe the 20 minute
figure if you disable QtWebKit but I think Creator needs it.

/s/ Adam

On Thu, Jul 8, 2010 at 1:36 PM, Nikos Chantziaras rea...@arcor.de wrote:
 Hours?  It only needs about 30 minutes to build on an (by now) old Core
 2 Duo.  I even got it to 20 minutes if I disable stuff I don't need.

 It's really fast and easy to build your own binaries.  I highly
 recommend it :)


 On 07/08/2010 09:30 PM, Coda Highland wrote:
 Seriously, if you've got reasonably modern hardware the whole rebuild
 process should only take a couple hours (unless you're building
 four-way universal binaries or something, but that's just silly if
 you're not intending to distribute).

 /s/ Adam

 On Thu, Jul 8, 2010 at 1:14 PM,kai.koe...@nokia.com  wrote:
 Bryce Schober wrote on Thursday, July 08, 2010 6:51 PM:

 Too bad we don't get master binary snapshots. Maybe I should repeat this 
 mantra indefinitely. ;-)

 I think we got the point now :) We have some dedicated machines here for 
 the nightly builds. They are however building from the 2.0 branch, because 
 that's were the next release will come from (see e-mail from Eike a while 
 ago). And we AFAIK don't have the resources to build two in configurations 
 in parallel.

 Anyhow, out of curiosity: Why do you push so much for nightly builds, in 
 contrast to compiling yourself? It's true that you might have to compile Qt 
 yourself then once, but then updating / recompiling creator afterwards 
 isn't really a big hassle.

 Kai
 ___
 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] new C++ indenter: request for feedback

2010-07-08 Thread Michael Jackson
30 Minutes? For all of Qt? What hardware are you building on? I have an 8
way Xeon Nehalem using GCC with 16 threads and it takes at least an hour or
so to build with WebKit disabled...

Mike Jackson

On 7/8/10 3:00 PM, in article
aanlktilfeinaqca9_lm9iw5ezkepn_nyoysgeds7x...@mail.gmail.com, Coda
Highland wrote:

 You can build QtWebKit that fast? *blink* I'd believe the 20 minute
 figure if you disable QtWebKit but I think Creator needs it.
 
 /s/ Adam
 
 On Thu, Jul 8, 2010 at 1:36 PM, Nikos Chantziaras rea...@arcor.de wrote:
 Hours?  It only needs about 30 minutes to build on an (by now) old Core
 2 Duo.  I even got it to 20 minutes if I disable stuff I don't need.
 
 It's really fast and easy to build your own binaries.  I highly
 recommend it :)
 
 
 On 07/08/2010 09:30 PM, Coda Highland wrote:
 Seriously, if you've got reasonably modern hardware the whole rebuild
 process should only take a couple hours (unless you're building
 four-way universal binaries or something, but that's just silly if
 you're not intending to distribute).
 
 /s/ Adam
 
 On Thu, Jul 8, 2010 at 1:14 PM,kai.koe...@nokia.com  wrote:
 Bryce Schober wrote on Thursday, July 08, 2010 6:51 PM:
 
 Too bad we don't get master binary snapshots. Maybe I should repeat this
 mantra indefinitely. ;-)
 
 I think we got the point now :) We have some dedicated machines here for
 the nightly builds. They are however building from the 2.0 branch, because
 that's were the next release will come from (see e-mail from Eike a while
 ago). And we AFAIK don't have the resources to build two in configurations
 in parallel.
 
 Anyhow, out of curiosity: Why do you push so much for nightly builds, in
 contrast to compiling yourself? It's true that you might have to compile Qt
 yourself then once, but then updating / recompiling creator afterwards
 isn't really a big hassle.
 
 Kai
 ___
 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] new C++ indenter: request for feedback

2010-07-08 Thread Coda Highland
I have two dual-core Xeon 2.66GHz and build with five threads and it
only takes me ~45 minutes to build Qt without WebKit; did you forget
to disable demos and examples?

/s/ Adam

On Thu, Jul 8, 2010 at 2:32 PM, Michael Jackson
mike.jack...@bluequartz.net wrote:
 30 Minutes? For all of Qt? What hardware are you building on? I have an 8
 way Xeon Nehalem using GCC with 16 threads and it takes at least an hour or
 so to build with WebKit disabled...

 Mike Jackson

 On 7/8/10 3:00 PM, in article
 aanlktilfeinaqca9_lm9iw5ezkepn_nyoysgeds7x...@mail.gmail.com, Coda
 Highland wrote:

 You can build QtWebKit that fast? *blink* I'd believe the 20 minute
 figure if you disable QtWebKit but I think Creator needs it.

 /s/ Adam

 On Thu, Jul 8, 2010 at 1:36 PM, Nikos Chantziaras rea...@arcor.de wrote:
 Hours?  It only needs about 30 minutes to build on an (by now) old Core
 2 Duo.  I even got it to 20 minutes if I disable stuff I don't need.

 It's really fast and easy to build your own binaries.  I highly
 recommend it :)


 On 07/08/2010 09:30 PM, Coda Highland wrote:
 Seriously, if you've got reasonably modern hardware the whole rebuild
 process should only take a couple hours (unless you're building
 four-way universal binaries or something, but that's just silly if
 you're not intending to distribute).

 /s/ Adam

 On Thu, Jul 8, 2010 at 1:14 PM,kai.koe...@nokia.com  wrote:
 Bryce Schober wrote on Thursday, July 08, 2010 6:51 PM:

 Too bad we don't get master binary snapshots. Maybe I should repeat this
 mantra indefinitely. ;-)

 I think we got the point now :) We have some dedicated machines here for
 the nightly builds. They are however building from the 2.0 branch, because
 that's were the next release will come from (see e-mail from Eike a while
 ago). And we AFAIK don't have the resources to build two in configurations
 in parallel.

 Anyhow, out of curiosity: Why do you push so much for nightly builds, in
 contrast to compiling yourself? It's true that you might have to compile 
 Qt
 yourself then once, but then updating / recompiling creator afterwards
 isn't really a big hassle.

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


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


Re: [Qt-creator] Qt Creator 2.0 displays additional warning information as errors

2010-07-08 Thread Martin Hofius
Hello,

I have to confirm this problem, see my mail titled QtCreator 2.0: Line in 
warning is interpreted as error as of jun 26.

Martin

Am Donnerstag, 8. Juli 2010 schrieb m...@philippmuenzel.de:
 Hello,

 I recently switched from Qt-Creator 1.3 to 2.0.
 I noticed a strange behavior in the Build Issues-tab:

 When compiling with gcc, I get a warning that looks like this in the
 Compiler Output-tab foo.h: In member function `void FooT::bar(const T)
 [with T = int]': foo.h:137: instantiated from XYZ
 foo.h:52: instantiated from XY
 foo.cpp:18: instantiated from here
 foo.h:60: warning: converting to `int' from `double'

 This warning is displayed in the Build issues-tab as
 (no symbol) In member function...
 (red exclamation mark) instantiated from XYZ
 (red exclamation mark) instantiated from XY
 (red exclamation mark) instantiated from here
 (yellow triangle) converting to `int' from `double'

 and causes the red error exlamation mark and number 3 to be displayed
 beneath the build progress bar on the left, which fills with all green,
 since the compile succeeds.

 Apparantly, the instantiated from is interpreted as a compile error
 instead as an additional information to the compile warning.

 It is pretty astonishing to see compile errors where there are none, but
 additional warning information. IIRC, this issue was not there in
 Qt-Creator 1.3

 Regards,
 Philipp
 ___
 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] new C++ indenter: request for feedback

2010-07-08 Thread Bryce Schober
It'd be nice if at least Nokia would release Qt 4.7 binary pre-releases for
Linux, like the other platforms. That would make the process of getting to
building Qt Creator a lot shorter.

On Thu, Jul 8, 2010 at 11:14 AM, kai.koe...@nokia.com wrote:

 Bryce Schober wrote on Thursday, July 08, 2010 6:51 PM:
 
  Too bad we don't get master binary snapshots. Maybe I should repeat this
 mantra indefinitely. ;-)

 I think we got the point now :) We have some dedicated machines here for
 the nightly builds. They are however building from the 2.0 branch, because
 that's were the next release will come from (see e-mail from Eike a while
 ago). And we AFAIK don't have the resources to build two in configurations
 in parallel.

 Anyhow, out of curiosity: Why do you push so much for nightly builds, in
 contrast to compiling yourself? It's true that you might have to compile Qt
 yourself then once, but then updating / recompiling creator afterwards isn't
 really a big hassle.

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




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


Re: [Qt-creator] new C++ indenter: request for feedback

2010-07-08 Thread Nikos Chantziaras
Yes, ~30 minutes.  That's without demos and examples; I've never built 
those and I don't know how much it would need with those.

This is on Linux.  I once tried on Windows, but after about two hours of 
compiling I gave up and aborted the build :-/

On 07/08/2010 10:32 PM, Michael Jackson wrote:
 30 Minutes? For all of Qt? What hardware are you building on? I have an 8
 way Xeon Nehalem using GCC with 16 threads and it takes at least an hour or
 so to build with WebKit disabled...

 Mike Jackson

 On 7/8/10 3:00 PM, in article
 aanlktilfeinaqca9_lm9iw5ezkepn_nyoysgeds7x...@mail.gmail.com, Coda
 Highland wrote:

 You can build QtWebKit that fast? *blink* I'd believe the 20 minute
 figure if you disable QtWebKit but I think Creator needs it.

 /s/ Adam

 On Thu, Jul 8, 2010 at 1:36 PM, Nikos Chantziarasrea...@arcor.de  wrote:
 Hours?  It only needs about 30 minutes to build on an (by now) old Core
 2 Duo.  I even got it to 20 minutes if I disable stuff I don't need.

 It's really fast and easy to build your own binaries.  I highly
 recommend it :)


 On 07/08/2010 09:30 PM, Coda Highland wrote:
 Seriously, if you've got reasonably modern hardware the whole rebuild
 process should only take a couple hours (unless you're building
 four-way universal binaries or something, but that's just silly if
 you're not intending to distribute).

 /s/ Adam

 On Thu, Jul 8, 2010 at 1:14 PM,kai.koe...@nokia.comwrote:
 Bryce Schober wrote on Thursday, July 08, 2010 6:51 PM:

 Too bad we don't get master binary snapshots. Maybe I should repeat this
 mantra indefinitely. ;-)

 I think we got the point now :) We have some dedicated machines here for
 the nightly builds. They are however building from the 2.0 branch, because
 that's were the next release will come from (see e-mail from Eike a while
 ago). And we AFAIK don't have the resources to build two in configurations
 in parallel.

 Anyhow, out of curiosity: Why do you push so much for nightly builds, in
 contrast to compiling yourself? It's true that you might have to compile 
 Qt
 yourself then once, but then updating / recompiling creator afterwards
 isn't really a big hassle.

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