[Qt-creator] Double templates in function declaration

2009-12-16 Thread Eirik Ulvik
Found this small bug. I have a function that takes arguments with double 
templates. I declare it in the .h file. When I then want to write the 
implementation QtCreator pops up with the function signature for 
autocompletion. The problem with the autocomplete is that the space 
between the two last  signs is removed creating invalid code.

A small example to reproduce would be.

FooBar.h
class A{
void foo(QVectorQVectorfloat  bar);
};

Using the autocomplete of the function arguments in the implementation 
will yield:

void A::foo(QVectorQVectorfloat bar);

Do not know if this is a known issue ie. registred in the bugtracker.

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


Re: [Qt-creator] Debugger will not stop at break point in OS X 10.5.8 with QtCreator 1.3

2009-12-16 Thread Andre Poenitz
On Wed, Dec 16, 2009 at 10:53:19AM -0500, Michael Jackson wrote:
 I am trying to debug an application being built with QtCreator. The backend
 build is being run by CMake. I go into the Project settings, set the active
 executable and debug executable to the program I want to debug. Place a
 breakpoint at the first line inside main() and then hit F5. The
 application runs to completion. I did notice a little hour glass symbol on
 the red breakpoint bubble. Not really sure what that means.
 
  Any help/pointers would be great.

Are you sure you have a debug build? Check for -g in the compiler and
linker command lines in the Compilem Output window.

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


Re: [Qt-creator] Debugger will not stop at break point in OS X 10.5.8 with QtCreator 1.3

2009-12-16 Thread Michael Jackson
On 12/16/09 12:28 PM, in article 20091216172839.gc3...@tu-chemnitz.de,
Andre Poenitz wrote:

 On Wed, Dec 16, 2009 at 10:53:19AM -0500, Michael Jackson wrote:
 I am trying to debug an application being built with QtCreator. The backend
 build is being run by CMake. I go into the Project settings, set the active
 executable and debug executable to the program I want to debug. Place a
 breakpoint at the first line inside main() and then hit F5. The
 application runs to completion. I did notice a little hour glass symbol on
 the red breakpoint bubble. Not really sure what that means.
 
  Any help/pointers would be great.
 
 Are you sure you have a debug build? Check for -g in the compiler and
 linker command lines in the Compilem Output window.
 
 Andre'

Yes, I had CMAKE_BUILD_TYPE=Debug. I ended up just wiping out the build
directory and reconfiguring/rebuilding. Now it seems to be working.

Thanks for the sanity check

Mike Jackson

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


[Qt-creator] Syntax Highlighting for Our own classes

2009-12-16 Thread Michael Jackson
Are there any plans on the road map to allow for syntax coloring of our own
classes? I noticed that Qt classes are a different color but my own classes
are just the color of plain text. Or is this a case of user error. The
indexing does seem to be working, even with boost thrown in the mix.

Thanks
Mike Jackson

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


[Qt-creator] Add new project templates

2009-12-16 Thread Tiago Correia
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


[Qt-creator] SIGGRAPH AISA 09

2009-12-16 Thread paulo
Hi,
i'm currently at SIGGRAPH ASIA 09, where there is a QT stand.
I was wondering if any qt-creator developer was around.
=D
___
Qt-creator mailing list
Qt-creator@trolltech.com
http://lists.trolltech.com/mailman/listinfo/qt-creator


Re: [Qt-creator] Dependencies in Qt Creator

2009-12-16 Thread Coda Highland
Well, usually when you're dealing with projects like this putting a
dependency on the target file is generally sufficient, since that
target file (in its own project file) has a dependency on the header
files. (This is, by the way, the canonical workaround for dealing with
dependency tracking on static libraries.) I'm not sure, however, that
make will detect that the .o files are out of date when that's simply
a linker dependency. Try it, see how it goes.

/s/ Adam

On Wed, Dec 16, 2009 at 8:31 PM, John Vilburn j...@ohanasoftware.com wrote:
 Adam,

 Thank you for the response.

 The problem I see with that approach is that whenever I add or remove a new 
 header in one project I have to remember to modify PRE_TARGETDEP in the other 
 project.

 I guess I could put the headers in a .pro.inc file and include that in both 
 .pro files. But again, shouldn't there be a better way?

 Thanks,
 John


 On Dec 16, 2009, at 4:20 PM, Coda Highland wrote:

 You can use PRE_TARGETDEPS in the subdirs' .pro files to watch for
 individual files to be modified.

 /s/ Adam

 On Wed, Dec 16, 2009 at 7:21 PM, John Vilburn j...@ohanasoftware.com wrote:
 I have a .pro file that looks like this:

 TEMPLATE = subdirs
 CONFIG += ordered
 SUBDIRS = Project1 \
          Project2 \
          Project3

 Some of the .h files in Project1 are used in Project2 and Project3. When I 
 change one of those header files and do a build, only the files in Project1 
 get rebuilt. Is there a way to have qmake or Qt Creator notice those 
 dependencies and rebuild the appropriate files in Project 2 and 3? 
 Including the .h files from Project1 in the list of headers of Project2 and 
 3 would work, I suppose. But there must be a better way.

 Thanks,
 John


 ___
 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


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