use unique_ptr for QQMLApplicationEngine