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

QProcess instation has different behaviour when built for deploy and i't undocumented

    XMLWordPrintable

Details

    • Bug
    • Resolution: Invalid
    • Not Evaluated
    • None
    • 5.11.3
    • Core: Other
    • None
    • Only seen on MacOs, have not tried other plafs.
    • macOS

    Description

      QProcess *myProcess = new QProcess(parent);

       

      if parent is a null pointer, it works fine, but when built for deploy this line of code will throw an error. There's no reason given in the documentation for the presence/absence of a parent object for Qprocess, and no indication given that anything should be different between debug and deploy build configs.

      Recommend adding to documentation an explenation for the requirement of an actual parent object - or fixing the situation so behaviour is the same for debug/deploy builds - or indicating in documentation that there is some difference in behaviour between debugy/deploy

       

      Attachments

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

        Activity

          People

            thiago Thiago Macieira
            jomamas Jamesq Schauer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes