Re: [Qt-creator] A problem with version control menu items

2009-12-06 Thread Gilles Valette
Message de alex : > Hello All, > > I am having a problem with Qt Creator 1.3.0 from the Qt SDK that was > released not long ago. When I open any project, several menu items from > the Tools menu disappear. On Windows XP SP2, all version contol menu > items are removed from the Tools menu- Common

[Qt-creator] A problem with version control menu items

2009-12-06 Thread alex
Hello All, I am having a problem with Qt Creator 1.3.0 from the Qt SDK that was released not long ago. When I open any project, several menu items from the Tools menu disappear. On Windows XP SP2, all version contol menu items are removed from the Tools menu- Common, CVS, SVN, git. On Ubunt

Re: [Qt-creator] Connecting signals from child thread with slots in main thread

2009-12-06 Thread Alan Westbrook
This is also the wrong forum to be posting this in. On Sun, Dec 6, 2009 at 10:41 AM, Danny Price wrote: > Even so, the pointer should have been initialised to 0 or NULL in the > initializer list. Leaving pointers to contain junk is never a good idea. > > On 6 Dec 2009, at 17:59, Gilles Valette wr

Re: [Qt-creator] Strange Problem

2009-12-06 Thread Alan Westbrook
A number of things could be happening. Kris.exe is not being compiled for some reason. Are you compiling for release or debug? Are the compile stages previous working? Do you have the path in question? Alan On Sun, Dec 6, 2009 at 6:16 AM, Kristian Petkov wrote: > Hello I have a problem when

Re: [Qt-creator] Connecting signals from child thread with slots in main thread

2009-12-06 Thread Danny Price
Even so, the pointer should have been initialised to 0 or NULL in the initializer list. Leaving pointers to contain junk is never a good idea. On 6 Dec 2009, at 17:59, Gilles Valette wrote: > Message de Danny Price : > >> Always use initializer lists. >> > > He can't because this call is not

Re: [Qt-creator] bug with BOOST_FOREACH

2009-12-06 Thread Arnaldo Leon
excellent! thank you very much -aml On Tue, Dec 1, 2009 at 3:50 AM, wrote: > > Hi, > > On Dec 1, 2009, at 3:41 AM, ext Arnaldo Leon wrote: > >> >> The error is "expected token ')' got char". I'm using boost 1.36. Note >> that I can sometimes get the error to go away by reordering the header >>

Re: [Qt-creator] Connecting signals from child thread with slots in main thread

2009-12-06 Thread Gilles Valette
Message de Danny Price : > Always use initializer lists. > He can't because this call is not made in a constructor but in a slot corresponding to a button click, and a new thread is created at each click. I am not saying that it is the best way to do it (I actually do not know the goal of t

Re: [Qt-creator] Connecting signals from child thread with slots in main thread

2009-12-06 Thread Danny Price
Always use initializer lists. On 6 Dec 2009, at 13:39, Gilles Valette wrote: > Message de Soumen banerjee : > >> In the files attached, mainwindow.cpp has the following line >> >> connect(ptr,SIGNAL(setlabel(int)),this,SLOT(setLabel(int))); >> >> where ptr is of type mythread* which is derived

[Qt-creator] Strange Problem

2009-12-06 Thread Kristian Petkov
Hello I have a problem when I make my program in Qt and test it on my PC everuthing is fine it works. But when I try to compile it for my phone (5800) this message shows: Creating C:\Documents and Settings\Administrator\My Documents\Kris\Kris_gcce_udeb.sisx ... Executable file: 0 C:\S60\dev

Re: [Qt-creator] Connecting signals from child thread with slots in main thread

2009-12-06 Thread Gilles Valette
Message de Soumen banerjee : > In the files attached, mainwindow.cpp has the following line > > connect(ptr,SIGNAL(setlabel(int)),this,SLOT(setLabel(int))); > > where ptr is of type mythread* which is derived from QThread > the application compiles without error but on running, quits with > segfau

[Qt-creator] Connecting signals from child thread with slots in main thread

2009-12-06 Thread Soumen banerjee
In the files attached, mainwindow.cpp has the following line connect(ptr,SIGNAL(setlabel(int)),this,SLOT(setLabel(int))); where ptr is of type mythread* which is derived from QThread the application compiles without error but on running, quits with segfault. Omitting the connect line solves the p