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 <[email protected]> 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 > [email protected] > http://lists.trolltech.com/mailman/listinfo/qt-creator >
_______________________________________________ Qt-creator mailing list [email protected] http://lists.trolltech.com/mailman/listinfo/qt-creator
