Re: [Qt-creator] Editing widget rendering problems

2010-01-06 Thread Eike Ziller

On Jan 4, 2010, at 7:21 AM, ext Oleg Shalnev wrote:

 Hello all!

Hi,

 It's really strange that nobody can reproduce the problem I'd told about.

I see that you have collapsed the license comment at the top, we encountered 
drawing issues in this case (I think that has been fixed in Qt Creator master 
or in Qt 4.6).

++ Eike

 2009/12/25 Oleg Shalnev oleg.shal...@gmail.com
 http://www.youtube.com/watch?v=DRm21nZoJHw
 This is the video with error demonstration. If somebody needs more quality 
 I'll resend.
 
 2009/12/25 Oleg Shalnev oleg.shal...@gmail.com
 
 Good day. And some words more about this problem.
 I bisected source from stable 1.3.0 and (I hope) can focus where the problem 
 was manifested for the first time.
 git bisect good 
 Bisecting: 233 revisions left to test after this (roughly 8 steps)
 [ecb0df0cb5dd37c8d82c609ea5735479263c54f4] debugger: work on watchers for 
 use with new dumpers
 Here editor is working good.
 
 Next step 
 git bisect good   
 Bisecting: 116 revisions left to test after this (roughly 7 steps)

 [ad08f1971162e7120723108d9d38e15a374a7eef] Remove some unused code in the pro 
 parsing / pro editing.
 
 Has problems with editor on my linux system.
 I am sure that it's not the problem of X11 or other video buffer problems. 
 The problem between ecb0df0cb5dd37c8d82c609ea5735479263c54f4
 ad08f1971162e7120723108d9d38e15a374a7eef
 
 Also I have a screencast (19M) to show the problem. Can I send the screencast 
 file here?
 
 
 2009/12/22 Oleg Shalnev oleg.shal...@gmail.com
 
 
 
 2009/12/22 Tamás Kiss tkis...@gmail.com
 
 Do you use Compiz or any other 3D-based effects (such as KDE4 hardware
 No I don't use compiz and kde4 gui effects.
 I'll continue my investigations.
  
 accelerated window effects)? Sometimes these have problems with
 locating and reporting the invalidated window areas to the X server.
 This does not mean that the contents in your windows or files are
 actually corrupted, only the X server doesn't know that those window
 areas need redrawing. If you let it know by scrolling or minimizing
 and maximizing the window in question, then the window is redrawn
 properly. This problem is not related to a specific application, I
 even see it with Firefox, gedit and OpenOffice sometimes.
 
 --
 Kiss Tamás
 
 2009/12/21 Oleg Shalnev oleg.shal...@gmail.com:
 
 
  2009/12/21 Alan Westbrook void...@gmail.com
 
  It sounds like you have some video buffer corruption, try restarting your
  windowing system.
  I haven't used Linux in a while, but it used to be that you could just log
  out and log back in to do this.
 
  I have no video buffer corruption with QtCreator - 8f586ce.
  That why  am am using  stable 1.3.0
 
 
  Is that still true?
  Alan
 
  On Sun, Dec 20, 2009 at 11:10 PM, Oleg Shalnev oleg.shal...@gmail.com
  wrote:
 
  Good day.
 
  After delete couple of lines and moving cursor, editor widget display
  some garbage instead of correct code.
  I hope I am not one who can see it.
 
  Linux 2.6.31-gentoo-r6 #1 SMP
  QtCreator - f229a76
 
  --
  Oleg Shalnev (Kalpa Project)
  --
  mailto: o...@kalpa.ru
  skype:  oleg_shalnev
  jabber:  oleg.shal...@gmail.com
  http://kalpa.ru
 
  ___
  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
 
 
 
 
  --
  Oleg Shalnev (Kalpa Project)
  --
  mailto: o...@kalpa.ru
  skype:  oleg_shalnev
  jabber:  oleg.shal...@gmail.com
  http://kalpa.ru
 
  ___
  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
 
 
 
 -- 
 Oleg Shalnev (Kalpa Project) 
 --
 mailto: o...@kalpa.ru 
 skype:  oleg_shalnev
 jabber:  oleg.shal...@gmail.com
 http://kalpa.ru
 
 
 
 -- 
 Oleg Shalnev (Kalpa Project) 
 --
 mailto: o...@kalpa.ru 
 skype:  oleg_shalnev
 jabber:  oleg.shal...@gmail.com
 http://kalpa.ru
 
 
 
 -- 
 Oleg Shalnev (Kalpa Project) 
 --
 mailto: o...@kalpa.ru 
 skype:  oleg_shalnev
 jabber:  oleg.shal...@gmail.com
 http://kalpa.ru
 
 
 
 -- 
 Oleg Shalnev (Kalpa Project) 
 --
 mailto: o...@kalpa.ru 
 skype:  oleg_shalnev
 jabber:  oleg.shal...@gmail.com
 

Re: [Qt-creator] Intel Compiler and C++0x?

2010-01-06 Thread Coda Highland
On Wed, Jan 6, 2010 at 3:55 AM, Danny Price deepblue...@googlemail.com wrote:
 I would like to make use of C++0x in Creator.

 Is it possible to use Creator with the Intel compiler (available as a
 'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax
 like 'auto' to MSVC?

 And what options exist for the OSX platform where the default toolset is
 Apple's GCC 4.2?

It's possible by setting the appropriate makespec. Creator won't
syntax highlight C++0x constructions and may flag some as errors, but
if your compiler has support it will build.

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


Re: [Qt-creator] Intel Compiler and C++0x?

2010-01-06 Thread Danny Price
makespec? Do you mean a compiler flag? Do you know the flags in question?

On Wed, Jan 6, 2010 at 2:49 PM, Coda Highland c...@bobandgeorge.com wrote:

 On Wed, Jan 6, 2010 at 3:55 AM, Danny Price deepblue...@googlemail.com
 wrote:
  I would like to make use of C++0x in Creator.
 
  Is it possible to use Creator with the Intel compiler (available as a
  'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax
  like 'auto' to MSVC?
 
  And what options exist for the OSX platform where the default toolset is
  Apple's GCC 4.2?

 It's possible by setting the appropriate makespec. Creator won't
 syntax highlight C++0x constructions and may flag some as errors, but
 if your compiler has support it will build.

 /s/ Adam
 ___
 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] [Crash] QtCreator crashes when parsing CMake-based projects

2010-01-06 Thread Diego Casella ([Po]lentino)
Hello guys,
I'm running qtcreator 1.3 and I noticed an awful crash everytime i try to
load a CMake-based project, this happens during scanning/indexing process.
Below I attached the backtrace, I hope it will be useful:
http://pastebin.com/m900b2b7

You did an awesome work by the way ;)
Cheers

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


Re: [Qt-creator] Columns size Locals adn Watchers

2010-01-06 Thread André Pönitz
On Wednesday 06 January 2010 16:13:20 ext Tiago Correia wrote:
 Hi,
 
 I'm not able to resize the columns from the Local and Watchers tab. In 
 Breakpoitns, Debugger and Thread it is possible.
 
 Is it a bug, or there is an hidden feature for this?

Check the context menu for 'Always adjust column width to contents'.

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


Re: [Qt-creator] Intel Compiler and C++0x?

2010-01-06 Thread Coda Highland
No, I mean your chosen Qt mkspec. The default is usually something
like linux-g++ or macx-g++ or win32-msvc or something; there's also
linux-icc, macx-icc, and win32-icc that will use icc as the C/C++
compiler. I will note that these aren't officially supported as far
as I know so you're sort of operating at your own risk.

Unfortunately I don't know how to select a different makespec in
Creator (though if you poke around in the Qt Versions preferences pane
or the Project view you can see the makespec it's using). It should
work, though, if you build Qt using that spec as default (that is,
pass -spec macx-icc to Qt's configure). Building your Qt project at
the command line you can try qmake -spec macx-icc -- do note that
I'm not sure that icc and gcc are binary-compatible so this may or may
not work with a standard Qt build.

/s/ Adam

On Wed, Jan 6, 2010 at 9:05 AM, Danny Price deepblue...@googlemail.com wrote:
 makespec? Do you mean a compiler flag? Do you know the flags in question?

 On Wed, Jan 6, 2010 at 2:49 PM, Coda Highland c...@bobandgeorge.com wrote:

 On Wed, Jan 6, 2010 at 3:55 AM, Danny Price deepblue...@googlemail.com
 wrote:
  I would like to make use of C++0x in Creator.
 
  Is it possible to use Creator with the Intel compiler (available as a
  'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax
  like 'auto' to MSVC?
 
  And what options exist for the OSX platform where the default toolset is
  Apple's GCC 4.2?

 It's possible by setting the appropriate makespec. Creator won't
 syntax highlight C++0x constructions and may flag some as errors, but
 if your compiler has support it will build.

 /s/ Adam
 ___
 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] Intel Compiler and C++0x?

2010-01-06 Thread Eike Ziller

On Jan 6, 2010, at 4:45 PM, ext Coda Highland wrote:

 No, I mean your chosen Qt mkspec. The default is usually something
 like linux-g++ or macx-g++ or win32-msvc or something; there's also
 linux-icc, macx-icc, and win32-icc that will use icc as the C/C++
 compiler. I will note that these aren't officially supported as far
 as I know so you're sort of operating at your own risk.
 
 Unfortunately I don't know how to select a different makespec in
 Creator

You can do it in Qt Creator by passing -spec yourspecialmkspec as additional 
arguments to the qmake spec in your project's build configuration(s). That 
will override the default. The binary compatibility comment below still holds 
of course.

 (though if you poke around in the Qt Versions preferences pane
 or the Project view you can see the makespec it's using). It should
 work, though, if you build Qt using that spec as default (that is,
 pass -spec macx-icc to Qt's configure). Building your Qt project at
 the command line you can try qmake -spec macx-icc -- do note that
 I'm not sure that icc and gcc are binary-compatible so this may or may
 not work with a standard Qt build.
 
 /s/ Adam
 
 On Wed, Jan 6, 2010 at 9:05 AM, Danny Price deepblue...@googlemail.com 
 wrote:
 makespec? Do you mean a compiler flag? Do you know the flags in question?
 
 On Wed, Jan 6, 2010 at 2:49 PM, Coda Highland c...@bobandgeorge.com wrote:
 
 On Wed, Jan 6, 2010 at 3:55 AM, Danny Price deepblue...@googlemail.com
 wrote:
 I would like to make use of C++0x in Creator.
 
 Is it possible to use Creator with the Intel compiler (available as a
 'plugin' for MSVC 2008) and if so how? This makes available C++0x syntax
 like 'auto' to MSVC?
 
 And what options exist for the OSX platform where the default toolset is
 Apple's GCC 4.2?
 
 It's possible by setting the appropriate makespec. Creator won't
 syntax highlight C++0x constructions and may flag some as errors, but
 if your compiler has support it will build.
 
 /s/ Adam
 ___
 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

-- 
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] Columns size Locals adn Watchers

2010-01-06 Thread Tiago Correia
Thanks, that solve my problem.

But there is a limit of the number of characters that appear for a QString
variable. This is not very nice.

How to set to show more?


On Wed, Jan 6, 2010 at 3:32 PM, Lindeijer Thorbjorn (Nokia-D-Qt/Berlin) 
thorbjorn.lindei...@nokia.com wrote:

 On 01/06/2010 04:13 PM, ext Tiago Correia wrote:
  Hi,
 
  I'm not able to resize the columns from the Local and Watchers tab. In
 Breakpoitns, Debugger and Thread it is possible.
 
  Is it a bug, or there is an hidden feature for this?

 By default the Locals  Watchers columns adapt their width to their
 contents. You can disable this in its right-click menu, allowing you to
 resize the columns manually.

 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




-- 
Tiago Correia
chief technology officer

cnoti inovação  desenvolvimento – Aprendizagem enRiquecida pela Tecnologia
www.cnotinfor.pt
Telefone: +351 239 499 231

Subscreva gratuitamente a nossa Newsletter BICA – Boletim informativo de
Interactividade, Comunicação e Aprendizagem
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Add new project templates

2010-01-06 Thread Ladnar, Marc
Hello all,

As far as I know is there someone out there who is allredy programming a 
support for custom templates.
It's about3 or 4 months that he asked for ideas in this list.

I don't know how far this project is. It's just for info...

Have a nice day,

Marc 

-Ursprüngliche Nachricht-
Von: fungos [mailto:fun...@gmail.com] 
Gesendet: Mittwoch, 23. Dezember 2009 00:50
An: qt-creator@trolltech.com
Betreff: Re: [Qt-creator] Add new project templates

I would like to be able to create templates, mainly if they can have a 
directory structure by they own. We have internal projects that must 
obey some guidelines like src and include in different directories, 
project files in another and data files in another, etc.. This would be 
great :)

On Sun, Dec 20, 2009 at 7:48 AM, Florian Schwehn 
fschw...@googlemail.com wrote:
 i do agree too! i also think of class templates and stuff like that. 
 from time to time i'd really like to add an extra class template 
 besides from QObject or QWidget. it can help speed up your workflow if 

 you're deriving classes from abstract ones. so all the pure virtual 
 functions could be preimplementet in the template.

 2009/12/18 Porfírio Ribeiro porfirioribe...@gmail.com

 I agree with you, i also use QtCreator for some non Qt projects!

 2009/12/16 Tiago Correia ti...@cnotinfor.pt

 Hi,
 I'd like to add new templates for projects, when creating a new 
project.
 How can i do this?
 A project that is very useful for me is, for creating a simple C or 
 C++ program, that doesn't use Qt.
 I've always to edit the pro file. If this could be done, I can see 
 Qt Creator as tool for helping novice users to program.

 --
 Tiago Correia
 chief technology officer

 cnoti inovação  desenvolvimento  Aprendizagem enRiquecida pela 
 Tecnologia www.cnotinfor.pt
 Telefone: +351 239 499 231

 Subscreva gratuitamente a nossa Newsletter BICA  Boletim 
 informativo de Interactividade, Comunicação e Aprendizagem


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




 --
 Porfirio Ribeiro

 ___
 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





--
Animal Liberation Front
http://www.animal-liberation.com/

___
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