Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-94262

Showing Fatal Error Message without instantiating QGuiApplication

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Out of scope
    • Not Evaluated
    • None
    • 6.0.3, 6.1.0
    • GUI: Window management
    • None
    • Android, iOS/tvOS/watchOS, macOS, Windows

    Description

      I would like to show an error message box without using QGuiApplication or QApplication. There can be situations where I do not have a QApplication instantiated or in any situation, it is not getting instantiated. Hence, in such cases, if any exception occurs, would like to show a message box to the user. 

      Using the qMessageHandler, i can capture the signal from OS. But how can this error be shown as a message window for all platform ?

      Is there any way a message box can be shown without using QApplication for windows, macOS, android and ios ?

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            abhishek.mohata Abhishek Mohata
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes