Re: [Qt-creator] The last two weeks in Creator

2010-09-03 Thread Jeffery MacEachern
On Fri, Sep 3, 2010 at 14:03, Stephen Chu  wrote:
> On 9/3/2010 10:44 AM, Tobias Hunger wrote:
>> ---++ C++ Engine
>>      * Reduce memory consumption by about 30%.
>>         * Loading qtcreator.pro now takes 210MiB instead of 300MiB.
>>         * Loading qt/src.pro now takes 420MiB instead of 630MiB.
>
> We can build Qt itself with Creator now? That is great. Any instructions
> available on how to do that?

I think Tobias was merely using Qt and QtCreator source as examples of
memory that many on the list would be able to grasp more easily.  To
my knowledge, nothing else has changed in regards to building the
source in QtCreator.

 - Jeffery MacEachern
>
> Thanks.
> ___
> 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] The last two weeks in Creator

2010-09-03 Thread Andre Poenitz
On Fri, Sep 03, 2010 at 05:03:49PM -0400, Stephen Chu wrote:
> On 9/3/2010 10:44 AM, Tobias Hunger wrote:
> > ---++ C++ Engine
> >  * Reduce memory consumption by about 30%.
> > * Loading qtcreator.pro now takes 210MiB instead of 300MiB.
> > * Loading qt/src.pro now takes 420MiB instead of 630MiB.
> 
> We can build Qt itself with Creator now?

This was possible before and is possible now, but why would you want
that unless you work on Qt itself?

> That is great. Any instructions available on how to do that?

I see no reason not to use ./configure && make

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


[Qt-creator] DYLD_IMAGE_SUFFIX and OS X

2010-09-03 Thread Willy P
Hey,
I want to be able to see the Qt source code in my debugger.

I'm running OSX.5
qt 4.6.3 installed w/ click through installer
and Creator 2.01

I have set DYLD_IMAGE_SUFFIX = _debug in:

projects->build settings->build environment.

This setting is also reflected in the

projects->build settings->run settings

I have also checked the "Use debug version of frameworks checkbox in
run settings.

When I run my app in the debugger it still says:

Unable to read symbols for "QtGui.framework/Versions/4/QtGui" (file not found).
Unable to read symbols from "QtGui" (not yet mapped into memory).
Unable to read symbols for "QtCore.framework/Versions/4/QtCore" (file
not found).
Unable to read symbols from "QtCore" (not yet mapped into memory).

And I only see assembly code for Qt functions.

Any thoughts?

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


Re: [Qt-creator] The last two weeks in Creator

2010-09-03 Thread Stephen Chu
On 9/3/2010 10:44 AM, Tobias Hunger wrote:
> ---++ C++ Engine
>  * Reduce memory consumption by about 30%.
> * Loading qtcreator.pro now takes 210MiB instead of 300MiB.
> * Loading qt/src.pro now takes 420MiB instead of 630MiB.

We can build Qt itself with Creator now? That is great. Any instructions 
available on how to do that?

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


Re: [Qt-creator] The last two weeks in Creator

2010-09-03 Thread Bryce Schober
On Fri, Sep 3, 2010 at 7:44 AM, Tobias Hunger wrote:

> Work is ongoing to update the build servers. Once this is done we
>  can enable nightly builds of master.
>

Hallelujah!

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


[Qt-creator] The last two weeks in Creator

2010-09-03 Thread Tobias Hunger
Hello!

We managed to skip last weeks report, so today we have two weeks worth 
of changes for you:

---++ Generic
* Version 2.0.1 was released. See
  http://labs.trolltech.com/blogs/2010/08/25/qt-creator-201/
* Q_ASSERTs and the location of failed testcases can now get clicked
  in the application output and will take you to the source location
  referenced. This works only for qmake projects.
* New features got documented:
   * Generic highlighting
   * Qt Quick Toolbars
   * New deployment options
* A new TaskList plugin was added. It can be used to import Tasks
  from a file. See
 
http://lists.trolltech.com/pipermail/qt-creator/2010-August/007574.html
* A Issue stopping the debugger from starting an application in the
  terminal was fixed.
* Attaching the debugger to PID was fixed.
* MSVC parser was improved

---++ C++ Engine
* Reduce memory consumption by about 30%.
   * Loading qtcreator.pro now takes 210MiB instead of 300MiB.
   * Loading qt/src.pro now takes 420MiB instead of 630MiB.
* "Find usages" was unreliable when using the MSVC toolchain. This
  was fixed.

---++ Nightly Builds
* Work is ongoing to update the build servers. Once this is done we
  can enable nightly builds of master.

All work happened on the master branch available here:
http://qt.gitorious.org/qt-creator

Please feel free to give it a try:-)

Please report any issues you run into or suggestions for improvements here:
http://bugreports.qt.nokia.com/

Best Regards,
Tobias

-- 
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] Displaying mixed source with disassem bly in Qt Creator?

2010-09-03 Thread André Pönitz
On Friday 03 September 2010 15:37:15 ext Ed Sutton wrote:
> > Mixed source with assembly is visible during debugging when in
> >  "instruction-wise" mode of operation. There's no "static" version of it.
> 
> Static display of mixed source with assembly would be very cool.  

Right now the gdb does most of the work here. So making that work
without gdb running would be quite some effort.

> I tried upgrading to the latest Qt 2.0 and use qtsdk-2010.01 to build with. 
> Qt Creator 2.0 seemed to do some unexpected strange stuff.  It ignored 
> my project's DESTDIR and put my project build output in a new directory 
> that I did not tell it to.  I may have to try it again when I have time.

Switching off "shadow builds" might help.

> > GDB 6.8
> > [And that misses all the Python bits ;-}]
> 
> Can you please elaborate on what I am missing out on?

A few bits are mentioned in

 http://labs.trolltech.com/blogs/2010/04/22/peek-and-poke-vol-3

> Should I download and install the gdb 7.1 tarball?

Sound like a good idea.
 
Andre'
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Displaying mixed source with disassembly in Qt Creator?

2010-09-03 Thread Ed Sutton
Thanks Andre,


On Tuesday 31 August 2010 16:41:14 ext Ed Sutton wrote:
I am looking for a quick way to evaluate coding optimizations.

Is there a way to display both the source code and the generated assembly?

Mixed source with assembly is visible during debugging when in
"instruction-wise" mode of operation. There's no "static" version of it.

Static display of mixed source with assembly would be very cool.  Especially 
for the Nokia embedded types.



Qt Creator 1.3.1 (Qt 4.6.1) Jan 18, 2010

I think 1.3.1 does not have "mixed" output, only "plain" disassembler in
that case. "mixed" is new in 2.0 IIRC. 2.0.1 is recommended anyway.

I tried upgrading to the latest Qt 2.0 and use qtsdk-2010.01 to build with.  Qt 
Creator 2.0 seemed to do some unexpected strange stuff.  It ignored my 
project's DESTDIR and put my project build output in a new directory that I did 
not tell it to.  I may have to try it again when I have time.



GDB 6.8

[And that misses all the Python bits ;-}]

Can you please elaborate on what I am missing out on?  Should I download and 
install the gdb 7.1 tarball?

I spend a lot of time debugging and I really miss the Visual Studio 2008 
environment for all aspects of code development.  Qt Creator is the best I have 
found on Linux and perhaps with some additional configuration work, I may no 
longer envy VS2008.


Thanks again,

-Ed


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


Re: [Qt-creator] Problem building with Qt Creator 2010.04

2010-09-03 Thread Scott Furry

> Message: 1
> Date: Thu, 2 Sep 2010 23:34:02 +0200
> From: yogesh upreti
> Subject: [Qt-creator] (no subject)
> To: qt-creator@trolltech.com
> Message-ID:
>   
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
> I don't know if this is the right place to ask questions about Qt creator.
> But I am trying to build my project using Qt creator, (which was building it
> till yesterday) but unable to do it successfully.
>
> 1. When I try to Build a my project it shows
> Running build steps for project JobCreator...
> Starting: "c:/qt/2010.04/qt/bin/qmake.exe"
> F:/Work/Programming/QT/JobCreator/JobCreator.pro -r -spec win32-g++
>
>
> and hangs after this, dose't do anything further, I have left it for 2 hrs
> and nothing happens, I have to "cancel build" in the end and it ends with :
>
> The process "c:/qt/2010.04/qt/bin/qmake.exe" crashed.
>
> Canceled build.
>
>
> 2. When I try to "clean" the project, it shows
>
> Running build steps for project JobCreator...
>
> Starting: "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" clean -w
>
> mingw32-make: Entering directory `F:/Work/Programming/QT/JobCreator'
>
> mingw32-make: Leaving directory `F:/Work/Programming/QT/JobCreator'
>
> mingw32-make: *** No rule to make target `clean'. Stop.
>
> The process "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.
>
> I have now second time reinstalled the version. But somehow Qt-Creator
> remembers old settings from previous version.
>
>
> I tried making a new test project, it doesn't run either.
>
>
> Can someone tell me what could be the problem??
>
>
> Thanks in advance
>
> Yogesh Upreti
> -- next part --
> An HTML attachment was scrubbed...
> URL: 
> http://lists.trolltech.com/pipermail/qt-creator/attachments/20100902/f7f24370/attachment-0001.html
>
> --
>
> Message: 2
> Date: Thu, 2 Sep 2010 23:34:46 +0200
> From: yogesh upreti
> Subject: [Qt-creator] 
> To: qt-creator@trolltech.com
> Message-ID:
>   
> Content-Type: text/plain; charset="iso-8859-1"
>
> Hi All,
> I don't know if this is the right place to ask questions about Qt creator.
> But I am trying to build my project using Qt creator, (which was building it
> till yesterday) but unable to do it successfully.
>
> 1. When I try to Build a my project it shows
> Running build steps for project JobCreator...
> Starting: "c:/qt/2010.04/qt/bin/qmake.exe"
> F:/Work/Programming/QT/JobCreator/JobCreator.pro -r -spec win32-g++
>
>
>   and hangs after this, dose't do anything further, I have left it for 2 hrs
> and nothing happens, I have to "cancel build" in the end and it ends with :
>
> The process "c:/qt/2010.04/qt/bin/qmake.exe" crashed.
>
> Canceled build.
>
>
> 2. When I try to "clean" the project, it shows
>
> Running build steps for project JobCreator...
>
> Starting: "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" clean -w
>
> mingw32-make: Entering directory `F:/Work/Programming/QT/JobCreator'
>
> mingw32-make: Leaving directory `F:/Work/Programming/QT/JobCreator'
>
> mingw32-make: *** No rule to make target `clean'. Stop.
>
> The process "C:/Qt/2010.04/mingw/bin/mingw32-make.exe" exited with code %2.
>
> I have now second time reinstalled the version. But somehow Qt-Creator
> remembers old settings from previous version.
>
>
> I tried making a new test project, it doesn't run either.
>
>
> Can someone tell me what could be the problem??
>
>
> Thanks in advance
>
> Yogesh Upreti
>
Yogesh,
One of the first problems with Qt installation I encountered was found to be a 
problem with the 'type' of MinGW installed.

There are two variants now each having a different exception mechanism and 
stack unwinding. Using SJLJ (setjmp/longjmp) variant (and commonly 
produced/recommended) doesn't work with Qt. I had to install DW2 (Dwarf-2) 
MinGW for Qt to work properly.
(see - TDM FAQ - http://tdm-gcc.tdragon.net/start )

Regards,
Scott



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