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

Add a cross-compiling notification class/method and/or qml

    XMLWordPrintable

Details

    • Suggestion
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • None
    • Quick: Controls 2
    • None
    • Desktop and mobile.

    Description

      It does not make sense in having to implement a notification code for each platform when building cross-platform code.

      For example, for desktops I'd be using snorenotify but then for android I need to use the "qt notifier" example to call a java method and add complexity for the code and for the build process.

      A simple example :

       

      class QNotify {
      
      //...
      
      public :
      
      static notify(QString title, QString message);
      
      //optional
      static notify(QString title, QString message, std::chrono::seconds timeout=0s, QString path_to_image="");
      }
      

       

      The idea is to keep it simple at first, with local title/message based notifications.

      Attachments

        Issue Links

          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
              allan.kg allan.kg
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes