QProcess - Batch Files

  • Hi... First time poster... been at this for about a week and its a ton of fun. Anyway, I'm stuck on QProcess... I can't seem to get my external batch file to run. Been reviewing the documentation (which is excellent), but I'm still stuck. Any help would be appreciated. Tried execute, start, etc. Also, I've verified the path with a qmessagebox, its correct.



    void UE4Build::on_Build_clicked() {

    QProcess process;


  • Moderators

    .bat files are not executables. You need a command line interpreter tu run it i.e. instead of starting RunUAT.bat you would start cmd.exe with /c RunUAT.bat parameters.

  • Oh my goodness... Apologies... I should have caught that. Thanks!


Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.