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

2010-07-09 Thread eike.ziller

On Jul 8, 2010, at 11:34 PM, ext Bryce Schober wrote:

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

Hm, looks like we never release Qt-only binary packages for Linux.
For the Qt 4.7 release candidate we'll distribute a RC of the updated Qt SDK as 
well, which will give you a binary Qt 4.7 for Linux again.

++ Eike

> On Thu, Jul 8, 2010 at 11:14 AM,  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

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

2010-07-09 Thread eike.ziller

On Jul 9, 2010, at 9:04 AM, ext Liebe Markus (RtP2/TEF72) wrote:

> Hi,
> 
>>> Is it possible for you to extend that a bit?
> 
> I was hoping to be able to somehow add an Icon to the FIXME, TODOS.
> 
>> So far there is only a string used. What do you want in
>> addition to that?
> 
> I am fine with that.
> 
>> 
>> 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.
> 
> I see. So there are multiple Categories like "QML,Compile,Build System".
> Those categories all belong to the "Build Issues".
> 
> At the moment I created another category "todo" for the FIXME/TODOS/HACK etc.
> All comments are added into the "Build Issues" pane as well, just like the 
> compiler
> warnings and errors and it would make it easier for the eye to have a 
> "todo"-Icon
> for each entry.
> 
> I am not quite sure right now if the "Build Issues" really is the correct 
> place for it.
> In terms of functionality it is: I can navigate the todos like the 
> warnings/errors
> which makes it consistent (and easy to implement ;) )
> But on the other hand TODOS and FIXME entries are not really "BuildIssues"...

We've got a similar problem to solve when talking about auto test integration 
and test results.
What is definitely not a solution is to add dozens of additional output tabs 
for the different things :)
I could imagine that a good way would be to rename the build issues tab to 
something like only "Issues" and use it for the different kind of things that 
need attention: TODOs/FIXMEs, failing test results, build issues, etc.
The classes for that output pane have already been called TaskHub and 
TaskWindow, not "BuildIssueHub" etc, maybe that's a hint ;)

Br, Eike

>> PS: Just curious: How are you parsing for the FIXMEs/TODOs? Are you
>> hooking into the C++ parser framework?
> 
> No, I am using a quite simple minded approach. As I want to have all 
> additional code
> in the plugin I do not want to modify QtCreators code if it is not necessary.
> 
> I have three triggers that I use to start the parsing:
> 
> 1.) Whenever a new editor is opened I read its contents and parse each line 
> for comments
>starting with a given keyword like "TODO","FIXME","HACK" etc. to build up 
> an internal
>list of the items and I add them to the taskwindow via the taskhub.
> 
> 2.) Whenever the current file is changed (saved etc.) I do the same.
> 
> 3.) Whenever the current text is changed I look on the current line where the 
> TextCursor is
>and just parse that line. If it contains one of the searched comments I 
> check if there
>already is a "Task" for that line. If so, then I just modify that task. If 
> not I add a
>new one.
>If the line does not contain a comment but I already have a task for it, I 
> remove that
>Task.
> 
> At the moment I looks like the attached screenshot.
> 
> Regards,
> Markus
> 
> 

-- 
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] Qt Creator 2.0 displays additional warning information as errors

2010-07-09 Thread Tobias Hunger
Hi Philipp,

could you please open a issue in our bugtracker at 
http://bugreports.qt.nokia.com/ for this?

It would rock if you could attach the compile output for stdout and 
stderr as well as some information on which kind of project you are 
building (qmake, cmake based or generic). Feel free to assign the issue 
to me:-)

Thanks!

Best Regards,
Tobias

On 08.07.2010 17:22, ext m...@philippmuenzel.de wrote:
> 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 Foo::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


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

2010-07-09 Thread Liebe Markus (RtP2/TEF72)
> We've got a similar problem to solve when talking about auto
> test integration and test results.
> What is definitely not a solution is to add dozens of
> additional output tabs for the different things :)

Yes, I agree with that.

> I could imagine that a good way would be to rename the build
> issues tab to something like only "Issues" and use it for the
> different kind of things that need attention: TODOs/FIXMEs,
> failing test results, build issues, etc.

That's what I was thinking, too. As a consequence I think it should
be possible to provide Icons for those types of tasks that
are no real "build issues". Those other "issues" might not
always be of the type warning,error or unknown after all.

> The classes for that output pane have already been called
> TaskHub and TaskWindow, not "BuildIssueHub" etc, maybe that's
> a hint ;)

Well the wording "task" was exactly what made me think that this is
the correct place to display things like TODO and FIXME markers,
because what they really are is "tasks" =)

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 w arnings etc. inline

2010-07-09 Thread Daniel Teske
> I was hoping to be able to somehow add an Icon to the FIXME, TODOS.
You seem to be somewhat confused, so let me explain.

There are 3 categories at the moment:
TASK_CATEGORY_QML
TASK_CATEGORY_BUILDSYSTEM
TASK_CATEGORY_COMPILE

and 3 task types:
"error"
"warning"
"information".

Probably you want a new category:
TASK_CATEGORY_EDITORCOMMENTS (or whatever)

and also a few new task types for different comments.

Currently the second list is somewhat hardcoded in different places, for now 
simply add you stuff there and we'll figure out how to do that properly 
afterwards.

Also I think TASK_CATEGORY_BUILDSYSTEM an TASK_CATEGORY_COMPILE should probaby 
be the same.

> I am not quite sure right now if the "Build Issues" really is the correct
>  place for it. In terms of functionality it is: I can navigate the todos
>  like the warnings/errors which makes it consistent (and easy to implement
>  ;) )
> But on the other hand TODOS and FIXME entries are not really
>  "BuildIssues"...

I think that's fine. Obviously we need to rename the tab and work on the user 
interfaces and implementation a bit to make it feel good. 

E.g. clearing does the wrong thing atm.

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


Re: [Qt-creator] Qt Mobile Application

2010-07-09 Thread dhk
On 07/06/2010 08:33 AM, Daniel Molkentin wrote:
> 
>  Hi,
> 
> On 7/6/2010 2:29 PM, ext dhk wrote:
>>
>> I'm using the following:
>>Qt Creator 1.3.1
>>Based on Qt 4.6.2 (64 bit)
>>Built on Jul 4 2010 at 13:26:59
>>
>> Do I need additional plugins/libraries/software?  I'm not sure if the
>> Nokia Qt SDK has anything to do with it or if it needs to be installed
>> separately.
>>
> 
> Well, first of all, we released Qt Creator 2.0 recently, which is
> optimized for mobile development. If you want Qt Creator all require
> libs in an easy-to-use package (strongly recommended unless you know
> what you are doing), download the Nokia Qt SDK from
> http://www.forum.nokia.com/info/sw.nokia.com/id/e920da1a-5b18-42df-82c3-907413e525fb/Nokia_Qt_SDK.html.
> 
> 
> Cheers,
>   Daniel
> 

Will there be an ebuild coming soon for Qt Creator 2.0 on Gentoo Linux?
 The latest Gentoo has is what I have installed.

Thanks,

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


Re: [Qt-creator] Qt Mobile Application

2010-07-09 Thread Sören Höckner
Hi!

there is already an ebuild for the qt-creator-2.0.0 release in the
qting-edge overlay. But you have to update the whole qt lib, which is
also available in that overlay but in beta2 state only.

On Fri, 2010-07-09 at 06:42 -0400, dhk wrote:
> 
> > 
> >  Hi,
> > 
> > On 7/6/2010 2:29 PM, ext dhk wrote:
> >>
> >> I'm using the following:
> >>Qt Creator 1.3.1
> >>Based on Qt 4.6.2 (64 bit)
> >>Built on Jul 4 2010 at 13:26:59
> >>
> >> Do I need additional plugins/libraries/software?  I'm not sure if the
> >> Nokia Qt SDK has anything to do with it or if it needs to be installed
> >> separately.
> >>
> > 
> > Well, first of all, we released Qt Creator 2.0 recently, which is
> > optimized for mobile development. If you want Qt Creator all require
> > libs in an easy-to-use package (strongly recommended unless you know
> > what you are doing), download the Nokia Qt SDK from
> > http://www.forum.nokia.com/info/sw.nokia.com/id/e920da1a-5b18-42df-82c3-907413e525fb/Nokia_Qt_SDK.html.
> > 
> > 
> > Cheers,
> >   Daniel
> > 
> 
> Will there be an ebuild coming soon for Qt Creator 2.0 on Gentoo Linux?
>  The latest Gentoo has is what I have installed.
> 
> Thanks,
> 
> --dhk
> ___
> 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 Mobile Application

2010-07-09 Thread daniel.molkentin
Since Qt Creator depends on an unreleased version of Qt (4.7), I very much 
doubt this will happen until the first stable Qt 4.7 version is released (and 
no, we don't have a date yet). However, maybe some chap is crazy enough to 
package 4.7.0-b2, which was released yesterday, and then base a 2.0 ebuild on 
this. 

However, even this will however not help you with mobile development, since 
there is more to that than a standard desktop Qt. For the foreseeable future it 
is thus much more useful to just rely on the binary packages provided by Forum 
Nokia.

Cheers,
Daniel 
--
Daniel Molkentin, Software Engineer,
Nokia, Qt Development Frameworks
website: http://qt.nokia.com
Rudower Chaussee 13, DE-12489 Berlin

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

From: ext dhk [dhk...@optonline.net]
Sent: Friday, July 09, 2010 12:42 PM
To: Molkentin Daniel (Nokia-MS-Qt/Berlin)
Cc: qt-creator@trolltech.com
Subject: Re: [Qt-creator] Qt Mobile Application

On 07/06/2010 08:33 AM, Daniel Molkentin wrote:
>
>  Hi,
>
> On 7/6/2010 2:29 PM, ext dhk wrote:
>>
>> I'm using the following:
>>Qt Creator 1.3.1
>>Based on Qt 4.6.2 (64 bit)
>>Built on Jul 4 2010 at 13:26:59
>>
>> Do I need additional plugins/libraries/software?  I'm not sure if the
>> Nokia Qt SDK has anything to do with it or if it needs to be installed
>> separately.
>>
>
> Well, first of all, we released Qt Creator 2.0 recently, which is
> optimized for mobile development. If you want Qt Creator all require
> libs in an easy-to-use package (strongly recommended unless you know
> what you are doing), download the Nokia Qt SDK from
> http://www.forum.nokia.com/info/sw.nokia.com/id/e920da1a-5b18-42df-82c3-907413e525fb/Nokia_Qt_SDK.html.
>
>
> Cheers,
>   Daniel
>

Will there be an ebuild coming soon for Qt Creator 2.0 on Gentoo Linux?
 The latest Gentoo has is what I have installed.

Thanks,

--dhk

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


Re: [Qt-creator] Qt Mobile Application

2010-07-09 Thread Paul Hartman
On Fri, Jul 9, 2010 at 5:42 AM, dhk  wrote:
> Will there be an ebuild coming soon for Qt Creator 2.0 on Gentoo Linux?
>  The latest Gentoo has is what I have installed.

Nokia SDK which includes qt-creator 2.0, MADDE and latest mobility
stuff can be installed as user into your user directory, alongside
whatever you've got installed in Gentoo.

Though in my very limited trial it seems to get confused between
system Qt and SDK's Qt... I could never get the mobile device
simulator to work at all in qt-creator in the SDK, for example, but
remote debugging the app on my N900 works fine.
___
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-09 Thread Bryce Schober
On Fri, Jul 9, 2010 at 12:37 AM,  wrote:

>
> On Jul 8, 2010, at 11:34 PM, ext Bryce Schober wrote:
>
> > 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.
>
> Hm, looks like we never release Qt-only binary packages for Linux.
>

Should I assume there's a good reason for that?

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