[Qt-creator] code completion anomaly
Danny Price
deepblue842 at googlemail.com
Fri Jan 29 14:14:52 CET 2010
Creator seems to have issues with nested classes. It actually used to crash
in this case but that bug was fixed (once I finally convinced Nokia it was a
problem...).
My adivce is to not use nested classes.
On Fri, Jan 29, 2010 at 1:03 PM, Mark Brand <mabrand at mabrand.nl> wrote:
> Hi,
>
> This is a question about code completion in Qt Creator. I have been
> enjoying using Qt Creator built from the latest git sources.
>
> Here is the issue:
>
> Code completion in the does not seem to work right for member class
> declarations. For the example below:
>
> "aaa->" triggers code completion but should not.
>
> "aaa." should trigger code completion but does not.
>
> Is this really wrong, or is there more to this than meets the eye.
>
> regards,
>
> Mark
>
> #ifndef MAINWINDOW_H
> #define MAINWINDOW_H
>
> #include <QMainWindow>
>
> namespace Ui {
> class MainWindow;
> }
>
> class MainWindow : public QMainWindow {
> Q_OBJECT
> public:
> explicit MainWindow(QWidget *parent = 0);
> ~MainWindow();
>
> protected:
> void changeEvent(QEvent *e);
>
> private:
> Ui::MainWindow *ui;
>
> class AAA
> {
> public:
> int a;
> int b;
> int c;
> } aaa;
> };
>
> #endif // MAINWINDOW_H
>
> _______________________________________________
> Qt-creator mailing list
> Qt-creator at trolltech.com
> http://lists.trolltech.com/mailman/listinfo/qt-creator
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-creator-old/attachments/20100129/19e9c23f/attachment.html
More information about the Qt-creator-old
mailing list