<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 09.07.2014 16:15, Iosif Hamlatzis
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAD2f6zXyXVM3hDJZJD-3G82hRVJ=42iqgrVq-z-UFOthfAhYdg@mail.gmail.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <div dir="ltr"><a moz-do-not-send="true"
          href="https://www.dropbox.com/s/t6wsbj6sohyq8wd/debug.png">https://www.dropbox.com/s/t6wsbj6sohyq8wd/debug.png</a><br>
        <div><br>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>My system is WindowsXP SP3 and I am using the QtCreator IDE
          to deploy my game and hopefully debug it.</div>
        <div><br>
        </div>
        <div>As you can see from the screenshot (above link) the build
          and deploy process succeeds (both for the emulator and the
          actual device). </div>
        <div><br>
        </div>
        <div>The problem is I cannot debug my code from inside the IDE
          either inside the emulator or the actual device. When I select
          to debug the IDE starts building the game, then it deploys it
          and then a pop-up dialogue appears requesting an executable
          (executable files for Windows are .exe - .com - .cmd - .vbs -
          .bat). BUT the build process doesn't produce any executable
          file.</div>
      </div>
    </blockquote>
    <blockquote
cite="mid:CAD2f6zXyXVM3hDJZJD-3G82hRVJ=42iqgrVq-z-UFOthfAhYdg@mail.gmail.com"
      type="cite">
      <div dir="ltr"><br>
        <div>Has anyone managed under Windows (any version) to debug on
          the emulator or device his/her app from inside the IDE?</div>
      </div>
    </blockquote>
    <br>
    Debugging does not work in Windows XP, but not because of this
    problem. I can try to explain the problem you are seeing below in
    case you're interested. For Windows XP the ultimate problem is that
    the gdb binaries which can be found from the
    installdir/bin/gdb-*-meego-linux-gnu*.exe are incompatible with
    Windows XP and can not be run. Windows XP is not on the list of
    supported operating systems, which can be seen in [1].<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="https://sailfishos.org/alpha_qt5_sdk_release_notes.html">https://sailfishos.org/alpha_qt5_sdk_release_notes.html</a><br>
    <br>
    I've created a bug about running gdb in Windows XP to our bug
    tracker, but it's not going to get fixed any time soon.<br>
    <br>
    Now to the problem you're experiencing:<br>
    <br>
    I've understood from your earlier posts that you are working on an
    SDL project. This (to me) means that you've had to create a project
    either from scratch or you have heavily modified the default
    Sailfish template project. Without seeing sources, I can only guess
    what might be the cause for this behavior.<br>
    <br>
    That dialog shown in your screenshot is Qt Creator telling you that
    it does not know which binary to run after deployment. The basic
    requirements for Qt Creator to recognize the application binary are:<br>
    <br>
    Project template type is "app" and the executable binary is either
    the same as the project name or specified by the TARGET variable in
    the .pro file.<br>
    <br>
    If your project's TEMPLATE is other than app and/or you haven't
    specified TARGET, then Qt Creator does not know which binary it
    needs to run after it has deployed the project.<br>
    <br>
    If you don't have the TEMPLATE specified, it is by default "app".<br>
    <br>
    In order to debug anything, Qt Creator would need to know which
    binary it needs to debug. So that is the first step. Additionally it
    needs to run the binary on the remote device (or Emulator), so it
    needs to know what the remote binary will be after deployment. When
    it knows these, it would be able to start a debugging session, but
    on Windows XP it would fail at this point when launching gdb.<br>
    <br>
    Best regards,<br>
     Juha<br>
    <br>
  </body>
</html>