[Interest] QApplication instead of QGuiApplication for QML only projects?

Thiago Macieira thiago.macieira at intel.com
Fri Jun 23 19:55:17 CEST 2017


On Friday, 23 June 2017 10:21:20 PDT Bernhard B wrote:
> I now replaced QGuiApplication with QApplication, which _seems_ to work (at
> least I couldn't recognize any strange behaviour after a quick test). But
> is it really safe to use QApplication instead of QGuiApplication for all
> platforms (desktop, android, iOs..)? Or are there any hidden pitfalls doing
> that?

It's always safe.

Just don't use the widgets themselves.

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




More information about the Interest mailing list