[Interest] [Qt-interest] About QtCreator

kai.koehne at nokia.com kai.koehne at nokia.com
Mon Feb 13 16:41:16 CET 2012


Hi,

> -----Original Message-----
> From: qt-interest-bounces+kai.koehne=nokia.com at qt.nokia.com [mailto:qt-
> interest-bounces+kai.koehne=nokia.com at qt.nokia.com] On Behalf Of ext
> rcyboom
> Sent: Friday, February 10, 2012 2:24 PM
> To: qt-interest at qt.nokia.com
> Subject: [Qt-interest] About QtCreator

First of all qt-interest at qt.nokia.com isn't really active any more, it got replaced by qt-interest at qt-project.org :

http://lists.qt-project.org/mailman/listinfo/interest

Anyhow, Qt Creator specific questions should be posted to qt-creator at qt-project.org:

http://lists.qt-project.org/mailman/listinfo/qt-creator

> 
> Hello,All:
>      When I updated My QtCreator to 2.4.1,I found:
>      1."Format C++ code" has no longer exists.
>          eg:
>                for(int i=0;i<10;i++){if(i==8)return;}
>          can auto formating to:
>                for(int i=0;i<10;i++)
>               {
>                 if(i==8)
>                    return;
>                }
>          How to continue to use this feature?

I'm not aware that there ever was a 'Format C++ code' feature in Qt Creator, are you sure that you've used it before?

You can re-check the indentation with Edit->Advanced->Auto-indent Selection though.

>      2.I want to join this feature:
>         When I declaring a member function in class,QtCreator can help me
> writing definition code ,Such as [ctrl+shift+c] in delphi.
>         eg:
>          when I declaring this function  in  a class:
>                   class a(){
>                   voide abc();}
>          QtCreator can auto write this code in CPP file:
>                   void a::abc{
>                    }

That's working in at least 2.4: Clcik on the method and select 'Refactor->Add definition to xx.cpp'

Regards

Kai

>       My english is poor,sorry & thanks! ^_^
> 
> _______________________________________________
> Qt-interest mailing list
> Qt-interest at qt.nokia.com
> http://lists.qt.nokia.com/mailman/listinfo/qt-interest


More information about the Interest mailing list