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

Extra empty argument to GUI application

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • Qt Creator 4.10.1
    • Qt Creator 4.10.0
    • Debugger
    • None
    • 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)
    • macOS
    • 54e3d06c5e175d86c634b67a0504af6b1e78374f

    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

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: