I am using the Remote Deploy feature of Qt Creator to launch my simple command line application on an embedded Linux target board. My test application is extremely simple and asks the user to print his/her name. It crosscompiles, transfers to the board, and launches and the 'Application Output' window near the bottom of Qt Creator shows the 'Type your name:' prompt, but I cannot type anywhere and provide stdin to the application running remotely through Qt Creator.

How can I accomplish this within Qt Creator? Can I somehow manipulate the deploy 'arguments' to connect a device to provide stdin to my command line app? I also cannot launch the application remotely by checking the 'run in terminal' checkbox under Projects > Run Configuration since it is not available for remote deployments.


Qt Code:
  1. #include <iostream>
  3. using namespace std;
  5. int main() {
  6. cout << "Enter a number: ";
  7. int nb;
  8. cin>>nb;
  9. cout << "Here is your number:" << nb << endl;
  10. return 0;
  11. }
To copy to clipboard, switch view to plain text mode 

Application Output in Qt Creator:
Qt Code:
  1. Killing remote process(es)...
  2. Starting remote process ...
  3. Remote process started.
  4. Enter a number: d
To copy to clipboard, switch view to plain text mode