Re: [Qt-creator] "Add Getters and Setters" in Qt Creator

2010-02-05 Thread John Vilburn

On Feb 5, 2010, at 9:42 AM, Gena wrote:

> On Thursday 04 February 2010 22:59:03 John Vilburn wrote:
>> I don't care much about the guard name, so if Qt Creator had a way to fix
>> that in the header I would be happy with whatever format Qt used. It is
>> fine to leave the renaming of files and the changing of guard names and
>> #include references as an option that can be turned off for those people
>> who like to do more work manually. But it is an essential option. Anything
>> that can be automated, should be.
> 
> And what about renaming all usages of the class? And don't forget about 
> keeping 
> indents (not only in source files, but also a pro-file, Makefile, 
> CMakeLists.txt). I just want to say I don't mind this feature, but I don't 
> think 
> it's essential.

The Rename Symbol feature of Qt Creator already handles renaming the usages of 
the class that are in your current Qt Creator session. My "wish list" was 
talking about the things that it doesn't handle. And in an earlier reply on 
this thread I mentioned updating the .pro file.

> Also I want to say that renaming a class name is not good at all.

I guess if you are writing a library, then renaming a class should not be taken 
lightly. But for an application, I sometimes need to rename a class, just as I 
sometimes need to rename a variable or function because when I first named it 
(a year ago) I named it poorly and renaming it makes the code easier to read 
and maintain. I guess I am not as good as you are at coming up with the perfect 
name for a variable, function, or class. The Rename Symbol is essential for 
those of us who make mistakes but still care about readability.

John


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


Re: [Qt-creator] "Add Getters and Setters" in Qt Creator

2010-02-05 Thread John Bull
Qt is great but Qt creator has a long way to go. I'd rather use qt
integrated in eclipse (but I can't seem to get the darn thing to work.)

ctrl+shift+R doesn't equal refactoring. It renames (within a scope!).
Refactoring goes way further than that, class name, configuration etc and
within the project scope!

It's annoying to manually go through the src to rename classes.

proper = eclipse style.

By the way, someone pressing ctrl+shift+R (most likely) needs a new name,
and he's not just about to add a suffix to the old name.

JB

On Thu, Feb 4, 2010 at 10:30 AM, Eike Ziller  wrote:

> Hi,
>
> On Feb 4, 2010, at 1:40 AM, ext John Bull wrote:
>
> > And proper refactoring(/renaming) too?
>
> Ah, define "proper". With Qt Creator 1.3 you can get quite some way with
> ctrl+shift+R (Rename Symbol) and ctrl+shift+U (Find Usages). See the context
> menu of the code editor.
>
> > JB
> > On Thu, Feb 4, 2010 at 12:24 AM, Jefferson Bandeira 
> wrote:
> > Hello guys =)
> > Is there any work currently going on to add a functionality like this to
> Qt Creator, like the one in eclipse?
> > --
> > Jefferson Bandeira
> > Undergraduating in Computer Science at UFRJ
> >
> >
> > ___
> > 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
>
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Very slow GDB when stepping into functions

2010-02-05 Thread Peter Kümmel
Am Freitag, den 05.02.2010, 21:00 +0100 schrieb Andre Poenitz:
> On Fri, Feb 05, 2010 at 08:29:38PM +0100, Peter Kümmel wrote:
> > > That's interesting as I recently looked into a similar problem and
> > > tracked it down to the use of the wrong algorithm for symbol lookup, see
> > > http://sourceware.org/bugzilla/show_bug.cgi?id=11198 .
> > 
> > This fix improves things, but installing libc5-dbg is still better, 
> > see may last mail.
> 
> So there are two unrelated issues.

Yes, I also think so.

>  
> > > PS: Of course we can add the hint to the FAQ.
> > 
> > Thanks, it works also on other Debian based system. But your comment
> > that it related to the mentioned bug is not 100% correct.
> 
> Comments can be fixed ;-)
>  
> > Is it possible to debug gdb with qtcreater?
> 
> Yes, I do it every now and then.
> 
> I usually create a .pro using 'qmake -project' to be able to use
> Creator for code navigation, but run 'make' outside Creator.
> Then either start gdb outside and attach Creator to debug it
> or remove all build steps and start directly.

Great, didn't know I could attach.

> 
> > How do I have to rebuild gdb?
> 
> Yes, preferably confgured after export CFLAGS=-g or something to
> the same effect.

Thanks, seems I've asked on the list before I thought about myself ;)

Peter


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


Re: [Qt-creator] Very slow GDB when stepping into functions

2010-02-05 Thread Andre Poenitz
On Fri, Feb 05, 2010 at 08:29:38PM +0100, Peter Kümmel wrote:
> > That's interesting as I recently looked into a similar problem and
> > tracked it down to the use of the wrong algorithm for symbol lookup, see
> > http://sourceware.org/bugzilla/show_bug.cgi?id=11198 .
> 
> This fix improves things, but installing libc5-dbg is still better, 
> see may last mail.

So there are two unrelated issues.
 
> > PS: Of course we can add the hint to the FAQ.
> 
> Thanks, it works also on other Debian based system. But your comment
> that it related to the mentioned bug is not 100% correct.

Comments can be fixed ;-)
 
> Is it possible to debug gdb with qtcreater?

Yes, I do it every now and then.

I usually create a .pro using 'qmake -project' to be able to use
Creator for code navigation, but run 'make' outside Creator.
Then either start gdb outside and attach Creator to debug it
or remove all build steps and start directly.

> How do I have to rebuild gdb?

Yes, preferably confgured after export CFLAGS=-g or something to
the same effect.

Andre'

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


Re: [Qt-creator] "Add Getters and Setters" in Qt Creator

2010-02-05 Thread Gena
On Thursday 04 February 2010 22:59:03 John Vilburn wrote:
> I don't care much about the guard name, so if Qt Creator had a way to fix
>  that in the header I would be happy with whatever format Qt used. It is
>  fine to leave the renaming of files and the changing of guard names and
>  #include references as an option that can be turned off for those people
>  who like to do more work manually. But it is an essential option. Anything
>  that can be automated, should be.

And what about renaming all usages of the class? And don't forget about keeping 
indents (not only in source files, but also a pro-file, Makefile, 
CMakeLists.txt). I just want to say I don't mind this feature, but I don't 
think 
it's essential.
Also I want to say that renaming a class name is not good at all.

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


Re: [Qt-creator] Very slow GDB when stepping into functions

2010-02-05 Thread Peter Kümmel
Am Donnerstag, den 04.02.2010, 19:19 +0100 schrieb Andre Poenitz:
> On Thu, Feb 04, 2010 at 06:36:21PM +0100, Peter Kümmel wrote:
> > Maybe someone also wonders why stepping into a function
> > takes several tens of seconds at 100% CPU usage of gdb.
> > Here's the answer for Debian based systems: 
> > 
> > "Debugging symbols for ld.so are not shipped"
> > http://blogs.gnome.org/jjongsma/2007/01/08/gdb-slowness/
> > 
> > Therefore this:
> >sudo apt-get install libc6-dbg
> > solves the problems on my Ubuntu machine.
> > 
> > Could someone please update the QtCreator Wiki:
> > http://qt.gitorious.org/qt-creator/pages/FrequentlyAskedQuestions#Debugger
> 
> That's interesting as I recently looked into a similar problem and
> tracked it down to the use of the wrong algorithm for symbol lookup, see
> http://sourceware.org/bugzilla/show_bug.cgi?id=11198 .

This fix improves things, but installing libc5-dbg is still better, 
see may last mail.

> 
> This particular issue has been fixed in the mean time in gdb.
> 
> I wonder whether our problems are related, and if so, how such
> completely different solutions can be possible.
> 
> Could you do me a favour and check whether uninstalling the libc6-dbg
> package and using a recent gdb from CVS also fixes your problem?
> 
> Andre'
> 
> PS: Of course we can add the hint to the FAQ.

Thanks, it works also on other Debian based system. But your comment
that it related to the mentioned bug is not 100% correct.


Is it possible to debug gdb with qtcreater? How do I have to rebuild
gdb?

Peter

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


Re: [Qt-creator] Very slow GDB when stepping into functions

2010-02-05 Thread Peter Kümmel
Am Donnerstag, den 04.02.2010, 19:19 +0100 schrieb Andre Poenitz:
> On Thu, Feb 04, 2010 at 06:36:21PM +0100, Peter Kümmel wrote:
> > Maybe someone also wonders why stepping into a function
> > takes several tens of seconds at 100% CPU usage of gdb.
> > Here's the answer for Debian based systems: 
> > 
> > "Debugging symbols for ld.so are not shipped"
> > http://blogs.gnome.org/jjongsma/2007/01/08/gdb-slowness/
> > 
> > Therefore this:
> >sudo apt-get install libc6-dbg
> > solves the problems on my Ubuntu machine.
> > 
> > Could someone please update the QtCreator Wiki:
> > http://qt.gitorious.org/qt-creator/pages/FrequentlyAskedQuestions#Debugger
> 
> That's interesting as I recently looked into a similar problem and
> tracked it down to the use of the wrong algorithm for symbol lookup, see
> http://sourceware.org/bugzilla/show_bug.cgi?id=11198 .
> 
> This particular issue has been fixed in the mean time in gdb.
> 
> I wonder whether our problems are related, and if so, how such
> completely different solutions can be possible.
> 
> Could you do me a favour and check whether uninstalling the libc6-dbg
> package and using a recent gdb from CVS also fixes your problem?

Yes, cvs version it about 10 times faster, with no libc6-dbg
installed.

Daniel's gdb 7.0.1 from ppa.launchpad.net/daniel-molkentin/gdb/ubuntu
took 17s to step into QCoreApplication and 40s into a custom ctor.

After using the cvs version (34edd79074a60f5eb6) from the git mirror
it's about 10 times faster!
17s -> ~1.8s
40s -> 4s

I've only changed the path to gdb in qtcreator and tried again 
without restarting.

When I reinstall libc6-dbg, gdb 7.0.1 enters both ctors nearly
immediately but the cvs version times don't change.


Peter


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


Re: [Qt-creator] How to compile Qt-creator to support MADDE and on-device debugging?

2010-02-05 Thread Danny Price
On Fri, Feb 5, 2010 at 9:10 AM, Rudenko Eugene  wrote:

> Other point, I have 32 bit Mac OS 10.6
>

There is no 32bit version of Mac OS 10.6. The kernal can be made to run
32bit (as it does for drivers) but that's not the default.



> > On Thursday 04 February 2010 22:25:57 ext Rudenko Eugene wrote:
> >> Here is compilation problem:
> >> [  ... ]
> >
> > Thanks for the report. You are on a Power PC Mac, I assume? Apparently,
> this
> > part of the project mistakenly assumes Intel architecture. We will fix
> that.
> >
> > Christian
> > ___
> > 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] Compiling Creator as 32bit on OSX Snow Leopard

2010-02-05 Thread Eike Ziller
Hi,

On Feb 5, 2010, at 2:39 PM, ext Danny Price wrote:

> What's the simplest way to build Creator and all it's plugins as 32bit carbon 
> on 10.6?

The simplest way should be to qmake & compile it with a Qt that is configured 
that way. I.e. the "default" Qt/Mac binary packages are built for 32bit Carbon, 
intel + ppc. Building any Qt app against it (if you don't explicitly set 
architectures in CONFIG), will produce binaries with the same configuration.

> I tried it niavely last night by adding CONFIG += x86 to all the .pro files 
> but I still got 'incorrect architecture' type errors from make.
> 
> I want to build Mac versions of some 3rd party plugins that will work with 
> the 'standard' version of Creator (32bit Carbon).
> 

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


[Qt-creator] Compiling Creator as 32bit on OSX Snow Leopard

2010-02-05 Thread Danny Price
What's the simplest way to build Creator and all it's plugins as 32bit
carbon on 10.6?

I tried it niavely last night by adding CONFIG += x86 to all the .pro files
but I still got 'incorrect architecture' type errors from make.

I want to build Mac versions of some 3rd party plugins that will work with
the 'standard' version of Creator (32bit Carbon).
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Plugin: open bugtracker links from comments

2010-02-05 Thread Liebe Markus (RtP2/TEF72)
Hi Bjørn,

> I just wanted to add here, that you shouldn't shy away from
> making these
> changes yourself. I don't necessarily have time to work on
> these changes
> myself, so in explaining the general idea I hope to help you
> on your way
> to a solution that we can consider merging later.

Thanks for all your hints. At the moment I am considering to do the described 
changes by myself.
You comments are very helpful. It is always very good to get explanations that 
point to the correct direction.
Most of the time it takes longer for me to crawl through QtCreators code to get 
an understanding of where to begin working to implement my needed functionality 
than to implement the functionality itself =)
So thanks a lot.

> It is indeed straight-forward to add a right-click menu action, using
> the action container identified by
> CppEditor::Constants::M_CONTEXT.

That is another way that I'd like to explore..

I keep you informed as I progress... Which depends on the time I can spend on 
the plugins =)

Mit freundlichen Grüßen / Best regards

Markus Liebe

Robert Bosch GmbH
Automotive Electronics, RtP2/TEF72
Postfach 13 42
72703 Reutlingen
GERMANY
www.bosch.com

Tel. 07121 35-35246
markus.li...@de.bosch.com

Sitz: Stuttgart, Registergericht: Amtsgericht Stuttgart, HRB 14000;
Aufsichtsratsvorsitzender: Hermann Scholl; Geschäftsführung: Franz Fehrenbach, 
Siegfried Dais;
Bernd Bohr, Rudolf Colm, Volkmar Denner, Gerhard Kümmel, Wolfgang Malchow, 
Peter Marks,
Peter Tyroller; Uwe Raschke





>
> 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] Please dont skip typedefs when "Follow Symbol under cursor"

2010-02-05 Thread Thorbjørn Lindeijer
On 02/04/2010 09:09 PM, ext Arto Karppinen wrote:
> I think it makes sense to typedef complex template usages, and Qt
> creator should take you to where the typedef is defined instead of where
> the template is defined.

Certainly. Could you report this at http://bugreports.qt.nokia.com/ 
under C++ support?

Thanks,
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] Clickable gcc output to go to error location

2010-02-05 Thread Tobias Hunger
Hello Daniel!

Ah, this explains things:

daniel-dev:GEOROG-2598> make jam > output.txt
daniel-dev:GEOROG-2598> cat output.txt | grep ": warning" | head -n 1
GEOROG-2598/GeoROG/GCore/GCore.cpp:131:2: warning: #warning Product name 
has not been set in the Makefile! Setting to "UMC 3D"

We expect GCC to report errors and warnings on stderr! Maybe bjam is 
redirecting them to stdout?

A dirty hack would be to change the Makefile to redirect all output from 
bjam from stdout to stderr... Of course we would also welcome you to 
contribute a bjam buildstep for the genericproject:-) That way you could 
add a parser for any issues reported by the bjam buildsystem as well.

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


Re: [Qt-creator] How to compile Qt-creator to support MADDE and on-device debugging?

2010-02-05 Thread Rudenko Eugene
> 
>> No, I'm using Mac Intel Snow Leopard. 
> 
> Apparently you are building universal binaries, so you need the PPC 
> compilation to work as well. 
> Anyway, a fix has been pushed to the master branch and should be available 
> after the usual twelve hours.
OOO, really so :-) I have forgot about it :-) Yes now I'll try to compile it 
without PPC support.


> Christian
> ___
> 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] How to compile Qt-creator to support MADDE and on-device debugging?

2010-02-05 Thread Christian Kandeler
On Friday 05 February 2010 10:09:32 ext Rudenko Eugene wrote:

> No, I'm using Mac Intel Snow Leopard. 

Apparently you are building universal binaries, so you need the PPC 
compilation to work as well. 
Anyway, a fix has been pushed to the master branch and should be available 
after the usual twelve hours.

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


[Qt-creator] How to build run and debug MADDE application.

2010-02-05 Thread Rudenko Eugene
Hello, I have just compiled Application for Madde and started it, But I have a 
couple of questions:

1. How to make build configure for Maemo, I made it by hands: deleted qmake and 
make steps and added two "Special" steps instead of previous ones:
"mad qmake" instead of qmake step
and "mad make" instead of make step
Is there automated step (preconfigured build settings for maemo) to do it 
instead of adding it manually?

2. Run configuration works fine

3. Debug configuration is ambigues. 
I'm able to see gdbserver port(1) in Maemo config manager's page. But 
debugger field of "Run Settings" page is not editable. There are no Edit field, 
only Label.
Is debugging supported?
   If not, is there any plans to support it?
  If not, may I try to do it ?


With best regards, Eugene Rudenko.
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Plugin: open bugtracker links from comments

2010-02-05 Thread Thorbjørn Lindeijer
>> There is currently no way, as I said this will require some refactoring
>> in the way the links are added.
>>
>> Specifically, there would need to be an interface that can be
>> implemented by plugins to add new types of links and that has a method
>> that is called when the link is clicked.

I just wanted to add here, that you shouldn't shy away from making these 
changes yourself. I don't necessarily have time to work on these changes 
myself, so in explaining the general idea I hope to help you on your way 
to a solution that we can consider merging later.

On 02/04/2010 06:31 PM, ext Coda Highland wrote:
> As a suggestion: Would it be more feasible, then, to add a new item to
> the right-click menu on these links? I think I'd prefer that over a
> left-click behavior anyway.

It is indeed straight-forward to add a right-click menu action, using 
the action container identified by CppEditor::Constants::M_CONTEXT. It 
depends on what you want. I think integration with the mouse navigation 
(and the F2 shortcut) would be nicer.

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] Clickable gcc output to go to error location

2010-02-05 Thread Daniel Lidström
Hi Tobias,

I am using make to launch Boost Build:

"make jam" from my project settings details.

Makefile looks like this:

jam:
bjam toolset=gcc-4 -j3

If I do "make jam > output.txt" I can see all gcc warnings in output.txt,
so it looks as if everything actually is written to stdout.

daniel-dev:/home/daniel/projects/workspaces/GEOROG-2598> make jam > output.txt
daniel-dev:/home/daniel/projects/workspaces/GEOROG-2598> cat output.txt | grep 
": warning" | head -n 1
/home/daniel/projects/workspaces/GEOROG-2598/GeoROG/GCore/GCore.cpp:131:2: 
warning: #warning Product name has not been set in the Makefile! Setting to 
"UMC 3D"

Thanks to all who have suggested things to try.

The Build Issues pane only has buttons for Clear, Previous Item, Next Item, and 
Show Warnings. No funnel unfortunately.

/Daniel

> -Original Message-
> From: Tobias Hunger [mailto:tobias.hun...@nokia.com] 
> Sent: Thursday, February 04, 2010 7:50 PM
> To: qt-creator@trolltech.com
> Cc: Daniel Lidström
> Subject: Re: [Qt-creator] Clickable gcc output to go to error location
> 
> Hi Daniel!
> 
> Which Toolchain is selected for your project? (Project mode, General, 
> show details)
> 
> Which build steps are you using exactly? I assume a Make one?
> 
> QtCreator parses the output of the compiler. Which Output 
> parser is used 
> depends on the toolchain as well as the make command. GCC should 
> noirmally work;-)
> 
> Best Regards,
> Tobias
> 
> On 04.02.2010 16:27, ext Daniel Lidström wrote:
> > Hello!
> >
> > I have recently tried out the excellent Qt Creator 1.3.1. 
> It works very well for me on Ubuntu 9.10.
> > However, when I compile my Makefile-based project that 
> calls make, I am unable to click the output
> > to go to error locations provided by gcc. This would be 
> very useful, but I don't know the level of
> > support. Here's a sample output from my compilation:
> >
> > Running build steps for project UMC3D...
> > Starting: /usr/bin/make jam
> > bjam toolset=gcc-4 -j3
> > ...patience...
> > ...patience...
> > ...patience...
> > ...patience...
> > ...found 13499 targets...
> > ...updating 13 targets...
> > gcc.compile.c++ GeoROG/bin/gcc-4/debug/GeoWarningPopup.o
> > 
> /home/daniel/projects/workspaces/GEOROG-2598/GeoROG/GUI/Widget
> /GeoWarningPopup.cpp:111:2: warning: #warning We have to 
> figure out a better way to handle the priorities
> > In file included from 
> /home/daniel/projects/workspaces/GEOROG-2598/GeoROG/GUI/Widget
> /GeoWarningPopup.cpp:15:
> > GeoROG/Publisher/BucketControllerTopic.h:52: error: 
> 'BucketTouchPoint' has not been declared
> > GeoROG/Publisher/BucketControllerTopic.h:79: error: 
> 'BucketTouchPoint' does not name a type
> > GeoROG/Publisher/BucketControllerTopic.h:91: error: 
> 'BucketTouchPoint' does not name a type
> >
> > "g++" -ftemplate-depth-128 -O0 -fno-inline -Wall -g -fPIC 
> -Winvalid-pch `pkg-config --cflags glib-2.0` `pkg-config 
> --cflags libpng` -DBOOST_BUILD_PCH_ENABLED -DDEBUGMODE=0 
> -DGR_BUILD_TIME=1228923841 -DGR_MAJOR_VERSION=99 
> -DGR_MINOR_VERSION=99 -DGR_PATCH_VERSION=99 
> -DGR_SYSTEM_VERSION= -DHAS_OBJECT_MANAGER 
> -DMIKROFYN_GEOROG=NO -DNO_EXARDRV -DPRODUCT_VERSION='"Jam"' 
> -DSEARCH_FOR_LOCK=0 -D_DEBUG -I"GeoROG/bin/gcc-4/debug" 
> -I"/home/daniel/projects/Vendor/Alglib/2.0.0.stable" 
> -I"/home/daniel/projects/Vendor/Boost/include/boost-1_37" 
> -I"/home/daniel/projects/Vendor/LeicaAuth" 
> -I"/home/daniel/projects/Vendor/LeicaTGS/trunk" 
> -I"/home/daniel/projects/Vendor/newmat/11" -I"GFL" 
> -I"GFL/CAN/include" -I"GFL/Convert/include" 
> -I"GFL/Device/include" -I"GFL/Dialogs/include" 
> -I"GFL/File/include" -I"GFL/FileCommunicator/include" 
> -I"GFL/Kinematics/include" -I"GFL/LandXML/include" 
> -I"GFL/Map/include" -I"GFL/Model/include" 
> -I"GFL/ProtocolHandler/include" -I"GFL/Publisher/include" -I"GFL/Refe
> renceModel/include" -I"GFL/Transform/include" 
> -I"GFL/Xml/include" -I"GeoROG" -I"SBGFLTK" -c -o 
> "GeoROG/bin/gcc-4/debug/GeoWarningPopup.o" 
> "/home/daniel/projects/workspaces/GEOROG-2598/GeoROG/GUI/Widge
> t/GeoWarningPopup.cpp"
> >
> > ...failed gcc.compile.c++ 
> GeoROG/bin/gcc-4/debug/GeoWarningPopup.o...
> > .
> > .
> > .
> >
> > My project uses Makefile to launch Boost Build. As you see 
> the output is regular gcc, but I can't click to go to 
> BucketControllerTopic.h line 52.
> > Is there a way to enable this support?
> >
> > Thanks in advance!
> >
> > Regards,
> >
> > Daniel Lidström
> > Stockholm, Sweden
> >
> > ___
> > 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] How to compile Qt-creator to support MADDE and on-device debugging?

2010-02-05 Thread Rudenko Eugene
Other point, I have 32 bit Mac OS 10.6
> On Thursday 04 February 2010 22:25:57 ext Rudenko Eugene wrote:
>> Here is compilation problem:
>> [  ... ]
> 
> Thanks for the report. You are on a Power PC Mac, I assume? Apparently, this 
> part of the project mistakenly assumes Intel architecture. We will fix that.
> 
> Christian
> ___
> 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] How to compile Qt-creator to support MADDE and on-device debugging?

2010-02-05 Thread Rudenko Eugene
No, I'm using Mac Intel Snow Leopard. Latest MacBook 13 inch aluminum.
But 
> On Thursday 04 February 2010 22:25:57 ext Rudenko Eugene wrote:
>> Here is compilation problem:
>> [  ... ]
> 
> Thanks for the report. You are on a Power PC Mac, I assume? Apparently, this 
> part of the project mistakenly assumes Intel architecture. We will fix that.
> 
> Christian
> ___
> 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] QtCreator 1.3.1 startup very slow

2010-02-05 Thread Danny Price
Actually it would be good if you guys could provide the option of turning
this off (or collect the data in a seperate thread).

On Fri, Feb 5, 2010 at 7:20 AM, YW Dou  wrote:

> Hi,
>
> QtCreator1.3.1 is very slow at startup time, it will take 20 seconds or
> more. I had made an in-depth investigation. If the feature--fetching rss is
> disabled via commenting out the following line (in this file
> C:\qt-creator-src-1.3.1\src\plugins\welcome\communitywelcomepagewidget.cpp
> in my computer), it can show up in 2 or 3 seconds.
>
> //m_rssFetcher->fetch(QUrl(tr("http://labs.trolltech.com/blogs/feed
> ")));
>
> Is there a better way to fetch rss?
>
>
> Regards,
> Yongwang Dou
>
> ___
> 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] QtCreator 1.3.1 startup very slow

2010-02-05 Thread Danny Price
Good tip! The slow startup of Creator was becoming annoying. Even bloated
VisualStudio starts up faster these days!

On Fri, Feb 5, 2010 at 7:20 AM, YW Dou  wrote:

> Hi,
>
> QtCreator1.3.1 is very slow at startup time, it will take 20 seconds or
> more. I had made an in-depth investigation. If the feature--fetching rss is
> disabled via commenting out the following line (in this file
> C:\qt-creator-src-1.3.1\src\plugins\welcome\communitywelcomepagewidget.cpp
> in my computer), it can show up in 2 or 3 seconds.
>
> //m_rssFetcher->fetch(QUrl(tr("http://labs.trolltech.com/blogs/feed
> ")));
>
> Is there a better way to fetch rss?
>
>
> Regards,
> Yongwang Dou
>
> ___
> 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] How to compile Qt-creator to support MADDE and on-device debugging?

2010-02-05 Thread Christian Kandeler
On Thursday 04 February 2010 22:25:57 ext Rudenko Eugene wrote:
> Here is compilation problem:
> [  ... ]

Thanks for the report. You are on a Power PC Mac, I assume? Apparently, this 
part of the project mistakenly assumes Intel architecture. We will fix that.

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


[Qt-creator] How to get the Qt SDK home path when developing a plugin for Qt creator?

2010-02-05 Thread YW Dou
Hi,

I am developing a plugin for Qt creator -- QtDemo plugin, it's a porting
from the standalone QtDemo application. Please see
http://code.google.com/p/qtdemo-plugin/

Almost everything goes smoothly, but I cannot find a way to get the Qt SDK
home path. I know qt4projectmanager plugin manages all installed Qt SDKs,
but class QtVersionManager is not exported by this plugin, so its
updateExamples(QString, QString, QString) signal can not be connected to.
Now, I have to use a QtDemo.properties file, let end user save the SDK home
path in it and read it in my plugin. It's a little inconvenience.

Is there a way to get the currently used SDK home path?  Thanks.


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