c++qtqt-creator

Is there an option to run second time the same program in Qt?


I'm creating simple online game in Qt Creator. I've created server project which analyse received data and take decisions. Also I created player project which sends requests to server for permission to move, shoot etc. Player project should be universal for Player 1 and Player 2.

Is there an option to run player project twice in Qt Creator? I need it to test how server and player project behaves when second player connects.


Solution

  • Open 3 Qt Creators, 1 for the server 2 for the players and then run all of them. I have made a server-client multiplayer game in Qt and that is how i tested it. For every client(player) open a Qt Creator.

    EDIT: You can also create release versions and start them, but you waste a lot of time creating a release version every time you want to debug.