[Interest] Android: WARNING: QApplication was not created in the main() thread.

Thiago Macieira thiago.macieira at intel.com
Tue Dec 6 00:00:08 CET 2016


Em segunda-feira, 5 de dezembro de 2016, às 22:54:31 PST, maitai escreveu:
> I had my main like that:
> QMap<QString, QString> folderMap;
> int main(int argc, char *argv[])
> {
>      QApplication *app = new QApplication(argc, argv);
> .....
> }
> and I had folderMap defined as external in other classes when needed
> 
> I was getting the warning in that case.

Maybe, but not from that QMap. Your example is not valid.

-- 
Thiago Macieira - thiago.macieira (AT) intel.com
  Software Architect - Intel Open Source Technology Center




More information about the Interest mailing list