Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. [solved]Running application with specified 'workspace'
Forum Updated to NodeBB v4.3 + New Features

[solved]Running application with specified 'workspace'

Scheduled Pinned Locked Moved Mobile and Embedded
4 Posts 2 Posters 989 Views 1 Watching
  • 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.
  • P Offline
    P Offline
    poorBob
    wrote on last edited by
    #1

    Hello,

    I'm thinking about it for about 2 hours now and I guess this must be done in some easy way, but so far I couldn't find the solution...

    Here's my problem:
    I have 2 directories: A and B. I have an full access to directory A, so I place there my bin file, but I would like to place my binary in the dir B, where I cannot write anything.

    Is there any way to run my binary from dir A with the path to B?
    Maybe it is silly question or maybe I asked google for a wrong term...

    with best regards,
    Robert

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      You just need to set the working directory. This is easily done in Qt and all operating systems (by running an app from B like this: ./../A/myApp).

      (Z(:^

      1 Reply Last reply
      0
      • P Offline
        P Offline
        poorBob
        wrote on last edited by
        #3

        That's exactly what I was looking for. Thank You very much, wielkie dzięki :)

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          You're welcome :-) Miłego dnia.

          (Z(:^

          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