Console input with Qt Creator

前端 未结 6 1117
执笔经年
执笔经年 2020-12-03 00:54

I\'m developping a very simple app on my Mac using QtCreator.

It\'s a console application and I want the user to enter its name, and then I display his name. Here is

6条回答
  •  不思量自难忘°
    2020-12-03 01:24

    I had the "Cannot start the terminal emulator 'xterm'" problem on Mac and fixed it by going to settings, Environment and clicking the "Reset" button next to the Terminal text field.

    For some reason by default it just said "xterm -e" but after the reset it became an absolute path of "/usr/X11/bin/xterm -e".

    My console app then ran fine.

提交回复
热议问题