[Qt-interest] QAccessible

David Ching dc at remove-this.dcsoft.com
Thu Apr 1 09:08:29 CEST 2010


anitz, Annett" <Annett.Kanitz at dzb.de> wrote in message 
news:59182F4ACF126B4795BDFE539DA00F8FB401F8 at DZBXC02.dzb.de...
> I've set the attribute like this:
> QApplication app(argv, args);
> app->setAttribute(Qt::AA_NativeWindows, true);
> MinGW wont compile it. Here is the error message:
> main.cpp:14: error: base operand of `->' has non-pointer type 
> `QApplication'
>

No, use qApp->, qApp is a predefined macro.

-- David 




More information about the Qt-interest-old mailing list