Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Custom Process Step not working under Windows

Custom Process Step not working under Windows

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
3 Posts 2 Posters 1.7k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kuschky
    wrote on last edited by
    #1

    Hello,

    I'm using custom process steps under Linux and they are working fine. Now I want to build the project under Windows 8.1 and all custom process Steps I tried are failing with an error like this. even a simple echo does not work. I'm using QtCreator 3.6.0 with Qt 5.3.2 MSVS 2010 32bit.

    15:48:32: Running steps for project myApp...
    15:48:32: Could not start process "echo" hello
    Error while building/deploying project myApp(kit: Qt 5.3.2 (msvc2010_opengl))
    When executing step "Custom Process Step"

    what I did under "project" / "build settings"/"Build Steps" was to created a new Custom Process Step and entered "echo" in the Command text box and "hello" in the Argument Box.

    Can somebody tell me what I'm doing wrong?

    Thx

    1 Reply Last reply
    0
    • Chris KawaC Offline
      Chris KawaC Offline
      Chris Kawa
      Lifetime Qt Champion
      wrote on last edited by
      #2

      On Windows echo, cd, dir and some others are not applications (i.e. there's no echo.exe on the system) so they can't be "run". They are commands. You can run these by passing them to command processor (cmd.exe).
      For example to run echo hello put cmd.exe in the Command field and /c echo hello in the Arguments field.

      1 Reply Last reply
      0
      • K Offline
        K Offline
        kuschky
        wrote on last edited by
        #3

        Thanks for your answer. Yes you are right this commands are part of the command shell. With normal .exe programs it works :-)

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved