Uploaded image for project: 'Qt Creator'
  1. Qt Creator
  2. QTCREATORBUG-22958

Extra empty argument to GUI application

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Not Evaluated
    • Resolution: Done
    • Affects Version/s: Qt Creator 4.10.0
    • Fix Version/s: Qt Creator 4.10.1
    • Component/s: Debugger
    • Labels:
      None
    • Environment:
      macOS Mojave Version 10.14.6

      lldb-1001.0.13.3
        Swift-5.0

      Qt Creator: 4.10.0 Based on Qt 5.13.1(Clang 10.0 (Apple), 64Bit)

      Description

      Strangely enough, Qt Creator passes an empty string as the second argument to GUI application.

       

      Steps to reproduce:

      1. Create an empty Qt Widgets Application
      2. Compile the project
      3. Debug the app and check argc in main which equals to 2
      4. The second argument is an empty string which you can check in argv

       

        Attachments

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

          Activity

            People

            Assignee:
            hjk hjk
            Reporter:
            j-javan Jafar Javan
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes