https://qt5.jp/2015/08/qt-stdin/
Qt で標準入力(stdin)からデータを読み取る方法