QtCreator execution of exe from a "subdirs" sub-project runs with wrong path

asked 2014-05-26 12:38:37 +0200

tortoisedoc gravatar image

updated 2014-05-26 12:41:58 +0200

kaltsi gravatar image

Create a project containing sub-projects: for an example:

  • main.pro:
    • TEMPLATE=subdirs
    • SUBDIRS += testa
  • testa.pro:
    • some project file stuff, this compiles your exe which is then deployed on-device

try to run testa.pro on-device with "deploy by copying binaries",

path will be /opt/sdk/main/usr/bin/testa

instead of /opt/sdk/testa/usr/bin/testa

edit retag flag offensive close delete