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

qmlviewer tracing blocks system's default message handler on Symbian

    XMLWordPrintable

Details

    • 2de60ba30f86a9dd338359f7269b62ca5d0a2c46

    Description

      Tool qmlviewer stores warning traces to e:\qml.log file, but doesn't forward the warnings to default message handler.

      Fix:

      @@ -90,11 +92,7 @@ void myMessageOutput(QtMsgType type, const char *msg)
      
      +    if (systemMsgOutput)
      +        systemMsgOutput(type, msg);
      +
           switch (type) {
           case QtFatalMsg:
               abort();
      @@ -523,11 +526,7 @@ QDeclarativeViewer *openFile(const QString &fileName)
      
       int main(int argc, char ** argv)
       {
      -#if defined (Q_OS_SYMBIAN)
      -    qInstallMsgHandler(myMessageOutput);
      -#else
           systemMsgOutput = qInstallMsgHandler(myMessageOutput);
      -#endif
      

      Attachments

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

        Activity

          People

            jpetrell Joona Petrell
            jpetrell Joona Petrell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes