QtCreator and Command Line Arguments

前端 未结 4 424
陌清茗
陌清茗 2020-12-13 12:14

Is there a way to send command line arguments to a program being debugged in QtCreator?

4条回答
  •  半阙折子戏
    2020-12-13 12:19

    For Qt Creator 3.3.2, to set the working directory and command line arguments:

    Projects (far left of Qt Creator)
    - Build & Run (tab)
    -- Run (sub tab) - brings up "Run Settings"
    --- Arguments: ...
    --- Working directory: ...

提交回复
热议问题