Re: [Qt-creator] Available variables in build steps?

2010-09-27 Thread Tobias Hunger
On 27.09.2010 05:50, ext anshul mehta wrote:
 I'll be waiting for a working snapshot to try out your fix.But please
 note the comment made by Bryce schober below.
 I agree with him that by adding support of enviornmental variables in
 .user file we are actually making it shareable.

No, this change does not make a .user-file shareable! It helps a bit, 
but it is not the solution to the problem. Especially Qt versions used, 
etc. are not portable. It might actually work rather well for generic 
projects though.

 But I guess our ultimate
 requirement should be move build/run settings out of the .user file so
 that we can share it on CVS. Comments ?

Why do you want to share build-/deploy-/runconfigurations? Those are 
inherently environment specific.

YOu are using generic projects, aren't you? Some way to enable those 
projects to provide more information so that some build- and 
runconfigurations can be auto-setup would be nice to have.

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


[Qt-creator] This week in Qt Creator

2010-09-27 Thread Tobias Hunger
Hello!

This week we got a rather short list of big noteworthy stuff:

---++ Wizards
* All the New Project Wizards were polished for Symbian and Maemo
  development. The application wizards for mobile devices can now
  enable optional orientation locking, add some boilerplate code to
  handle application icons and add the network capability (Symbian).

---++ Quick support
* Find Usages was implemented for QML files.

---++ C++ Support
* Support for snippets was ported over into the C++ text editor.
  This feature has been available in the QML editor for a while now.
  Note that snippet support  is not yet feature complete (E.g. it is
  currently not possible to edit the snippets inside creator!). See
 
http://share.ovi.com/media/tobias.hunger.mymedia/tobias.hunger.10006
  for an idea of what it does already.

* Environment variables can now get used when defining Build-,
  Deploy- and RunConfigurations. They are available for the
  workdirectory, commandline arguments as well as the command
  itself. This feature was requested by quite a few people.

* Creator will now set BUILDDIR and SOURCEDIR environment variables
  in the build environment. Those are useful now that the
  environmant variables can get used.

The usual bugfixes happened and small changes happened as well.

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] Breakpoints in files with the same name

2010-09-27 Thread Leandro T. C. Melo
On 9/24/2010 1:57 PM, Melo Leandro (Nokia-MS/Berlin) wrote:
 On 9/24/2010 11:28 AM, ext Robert Caldecott wrote:

 I am working on a large project that contains some .cpp files with the
 same name (in separate sub folders obviously).  The issue I have is
 setting a breakpoint in one of those files confuses Qt Creator and
 stops at the same line number in the wrong file.  For example, if my
 project contains \subfolder1\foo.cpp and subfolder2\foo.cpp and I set
 a breakpoint at line 10 in \subfolder2\foo.cpp it actually stops at
 line 10 in \subfolder1\foo.cpp.

 The naming of these .cpp files is out of my control sadly.  Is this a
 known issue and can it be worked around?  I am using CDB and Qt
 Creator 2.0.1.

  
 I guess your issue is pretty much the same as the one in this report:
 http://bugreports.qt.nokia.com/browse/QTCREATORBUG-505. Perhaps you
 could check Qt Creator master?




Actually, the Use Full Path option in Qt Creator might not be enough. It 
looks like this is a CDB issue. I could reproduce the same behavior by 
running CDB and setting the breakpoints from the command-line.

Regards,
Leandro.

-- 
Leandro T. C. Melo
Software Engineer
Nokia, Qt Development Frameworks

Nokia gate5 GmbH
Firmensitz: Invalidenstr. 117, 10115 Berlin, Germany
Registergericht: Amtsgericht Charlottenburg, Berlin: HRB 106443B
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] snapshot doesn't start

2010-09-27 Thread anshul mehta
Hi Gena

Thanks for fixing the issue.Please advice me which snapshot to download
which has this fix. I'm looking for linux_86_64 .bin.Currently the 27th Sep
snapshots contain mac,windows version and not linux ?

Cheers!
Anshul

On Mon, Sep 27, 2010 at 11:02 AM, Gena Cid gena...@inbox.ru wrote:

 Hi!

 I can't reproduce this crash anymore with qt-creator
 19abd0f2d37058bc5d9c9586696e895cd738a205

 It looks like http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2454 and
 it was
 fixed.

 |-
 Gena.

 On Mon September 27 2010 04:28:59 Bill King wrote:
  Please include a backtrace if you can. That looks like a kde issue, but,
  a stacktrace will tell us.
 
  Thanks,
  Bill.
 
  PS, for stack traces, ulimit -c unlimited gdb --core=./core
  bin/qtcreator

 ___
 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] This week in Qt Creator

2010-09-27 Thread Tobias Hunger
On 27.09.2010 16:16, Tobias Hunger wrote:
 ---++ C++ Support
  * Support for snippets was ported over into the C++ text editor.
This feature has been available in the QML editor for a while now.
Note that snippet support  is not yet feature complete (E.g. it is
currently not possible to edit the snippets inside creator!). See

 http://share.ovi.com/media/tobias.hunger.mymedia/tobias.hunger.10006
for an idea of what it does already.

The link is broken:-/ Sorry for that. Please use
http://share.ovi.com/media/tobias.hunger.Qtcreator/tobias.hunger.10006
instead.

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] Qt-Creator 2.0.1 Crashes

2010-09-27 Thread sunny shah
Bug reported.
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-2473

On Wed, Sep 15, 2010 at 4:58 AM, Bill King bill.k...@nokia.com wrote:

 On 09/15/2010 03:28 AM, ext sunny shah wrote:
  Hi,
 
   Since a year I am using Qt-Creator as my IDE. It never crashed in
  that duration, until recently I have started debugging webkit with
  QtCreator and it has started crashing every hour.
 
  Here are the crash dumps, Please tell me the solution as It is taking
  a lot of my time.
 
  Crash report 1:
  http://pastebin.com/EzcTW3CP
 
  Crash report 2:
  http://pastebin.com/gvhm1sxM
 
  Crash report 3:
  http://pastebin.com/TAFkVs2y
 
  Thanks,
   Sunny
 Also, when creating a bugreport, please include steps to recreate the
 issue. From the looks of things, this is a double free in the c++ parser.

 Maybe running valgrind --tool=memcheck over creator, will give some more
 useful information, either that, or getting a proper backtrace from a
 core dump (ulimit -c unlimited before running creator).

 --
 Bill King, Software Engineer
 Qt Development Frameworks, Nokia Pty Ltd
 Brisbane Office

 ___
 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] snapshot doesn't start

2010-09-27 Thread Gena Cid
On Mon September 27 2010 19:12:28 anshul mehta wrote:
 Hi Gena
Hi!

 Thanks for fixing the issue.
Do not thank me -- I'm not the person who had fixed it. According to bug 
tracker 
it was Daniel Molkentin.

 Please advice me which snapshot to download
 which has this fix. I'm looking for linux_86_64 .bin.Currently the 27th Sep
 snapshots contain mac,windows version and not linux ?
Yes, there is no today' linux snapshot. May be it will be there tomorrow.

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


[Qt-creator] make[3]: *** [store_build] Error 1

2010-09-27 Thread Tim Kelly
Anyone seen this error?

http://discussion.forum.nokia.com/forum/showthread.php?207015-How-to-solve-store_build-Error-1

I installed a new Qt Creator instance and this Symbian build error won't go
away no matter how much I clean out any build artifacts.
Seems to only happen on one project and only with Creator.

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


[Qt-creator] Again: Qt Creator does not load my .user file

2010-09-27 Thread Jochen Becher
Hi,

Last week I did an backup of all my data and installed a fresh Ubuntu
10.04 (had 9.10 before). I installed NokiaQtSDK and copied back my
project from the backup. I am quite sure it is the same version of Qt
Creator as I did all NokiaQtSDK updates in the past. On loading the
project QtCreator simply ignores my .user file. As this is a very
complex .user file I am not very happy about this (and I lost this .user
file once before due to new Creator version). It contains about 10
different build configurations; many of them based on custom make steps.
I compile the code using scratchbox but Qt Creator runs outside and I
added make steps for translations.

How can I find out why Creator ignores my .user file? I don't get any
error message.

Regards, Jochen

(BTW: I believe this .user file is a big mess. Many of the settings done
in this file should be part of a file which could be submitted to the
SCM. Especially if complex custom make steps are part of a build
procedure it must be able to submit it. If one should use the .pro file
only for custom make steps it would be better to remove those custom
build steps completely.)


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


Re: [Qt-creator] This week in Qt Creator

2010-09-27 Thread Nicolas Arnaud-Cormos
On Monday 27 September 2010 16:16:21 Tobias Hunger wrote:
 ---++ C++ Support
 * Support for snippets was ported over into the C++ text editor.
   This feature has been available in the QML editor for a while now.
   Note that snippet support  is not yet feature complete (E.g. it is
   currently not possible to edit the snippets inside creator!). See
 
 http://share.ovi.com/media/tobias.hunger.mymedia/tobias.hunger.10006
   for an idea of what it does already.

Snippets look really nice.

As far as I can tell, the snippets come from share/qtcreator/snippets/cpp.xml, 
what the *.snp files are for?

Also, would be nice to have the same name changed without the need to press 
tab, for example we know that the destructor/constructor and name of a class 
are the same. Maybe using tab id=className in the xml, and string with the 
same id will be changed automatically.
Or maybe using the rename action when pressing tab, this will do it 
automatically.

Cheers,
Nicolas

-- 
Nicolas Arnaud-Cormos | nicolas.arnaud-cor...@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] Creator destroys my HTML code

2010-09-27 Thread Coda Highland
Don't use QTextEdit for things that need HTML accuracy. It's not
intended for that use -- try QtWebKit if you need actual HTML editing.
QTextEdit just uses an HTML subset to provide basic rich text support.

/s/ Adam

On Mon, Sep 27, 2010 at 7:28 PM, Nikos Chantziaras rea...@arcor.de wrote:
 Whenever I edit a QTextEdit or QTextBrowser, Creator always utterly
 destroys it by inserting CSS code, forcing particular fonts and font
 sizes, ignoring application/system defaults, and other evil things,
 resulting in breakage on other systems than my own.

 Is there a way around that feature?  I'm using Creator 2.0.1 on Linux.
 ___
 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] Creator destroys my HTML code

2010-09-27 Thread Nikos Chantziaras
I don't need HTML accuracy, actually.  All I need is to have my *basic* 
HTML formatted stuff not messed around with.

And of course the font not forced to DejaVu Sans 9pt :-/


On 09/28/2010 05:10 AM, Coda Highland wrote:
 Don't use QTextEdit for things that need HTML accuracy. It's not
 intended for that use -- try QtWebKit if you need actual HTML editing.
 QTextEdit just uses an HTML subset to provide basic rich text support.

 /s/ Adam

 On Mon, Sep 27, 2010 at 7:28 PM, Nikos Chantziarasrea...@arcor.de  wrote:
 Whenever I edit a QTextEdit or QTextBrowser, Creator always utterly
 destroys it by inserting CSS code, forcing particular fonts and font
 sizes, ignoring application/system defaults, and other evil things,
 resulting in breakage on other systems than my own.

 Is there a way around that feature?  I'm using Creator 2.0.1 on Linux.
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator