[Qt-creator] A few issues (AutoInsert Brackets, C++ Parser, Locator)

thorbjorn.lindeijer at nokia.com thorbjorn.lindeijer at nokia.com
Mon Nov 30 12:45:47 CET 2009


ext Frank Neuhaus wrote:
> Hi
> 
> I encountered a few issues using Qt Creator (RC 3):
> 
> * I explicitly disabled "Automatically insert brackets" in the
> options. However the editor still inserts the closing brackets
> automatically.

This option was there before the automatic matching of brackets was 
added, which is essentially a different feature from automatically 
inserting them when completing. Since they are so closely related, 
however, it would make sense to have a single setting that affects both.

> * The C++ parser still appears to have problems underlining 'wrong'
> code... Look at the following snippet:
> 
> template<int N>
> class X {};
> 
> template<int M>
> class Y
> {
>    void foo(const X<M>& test); // this line is underlined saying "M is
> not a type name"
> };

I've created the following issue for you:
http://bugreports.qt.nokia.com/browse/QTCREATORBUG-384

> * I believe the locator worked correctly several releases/builds ago.
> However in the current version, I encountered the situation where a
> "classes and methods" search returned no results even though the
> function was definitely in the project. After opening the .cpp file of
> the function I was looking for manually, the function could suddenly
> also be found using the locator

Hopefully this problem no longer occurs with a more recent snapshot. 
Otherwise, we could use a way to reproduce this.

> * This last problem may be specific to either my system (Fedora 12
> Linux) or Qt itself - however I have not encountered it in any other
> app than Qt Creator. Also it only happens with enabled compiz.
> Sometimes (which means I am unable to reproduce it) the editor is not
> redrawn correctly after a change. Last time I actively noticed it was
> when I deleted some lines using shift+delete and the lines below the
> deleted line just did not move up. Then I scrolled the view a little
> and all of a sudden I could see the changes I had made.

Sounds like an issue in Qt, however I can't help you with it. If you see 
it again, you may want to try making a screen shot and reporting it to 
the Qt bug tracker.

Regards,
Bjørn

-- 
Thorbjørn Lindeijer
Software Engineer
Nokia, Qt Development Frameworks




More information about the Qt-creator-old mailing list