Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Special Interest Groups
  3. QtonPi
  4. QtCreator && RaspBerry PI && deploy to device
Forum Updated to NodeBB v4.3 + New Features

QtCreator && RaspBerry PI && deploy to device

Scheduled Pinned Locked Moved QtonPi
6 Posts 3 Posters 6.9k 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.
  • L Offline
    L Offline
    luca
    wrote on last edited by
    #1

    Hi all,
    I'm configuring QtCreator to deploy aplpication to my Raspi.

    I added the correct Kit and the Generic Linux Device.

    The deployment works fine if I set the Generic Linux Device with root account because by default it put the application on /opt/applcation/bin/application on the Raspi.

    Is there a way to change the deployment directory?

    1 Reply Last reply
    0
    • tomasz3dkT Offline
      tomasz3dkT Offline
      tomasz3dk
      wrote on last edited by
      #2

      Hi ;)
      you must change path in your .pro file like this:
      @TARGET = tempcontrol
      target.path = /home/pi
      INSTALLS = target@
      As you see.,my app goes to /home/pi directory so you can change deployment to normal user. Hope it helps ;).

      1 Reply Last reply
      0
      • L Offline
        L Offline
        levent
        wrote on last edited by
        #3

        Any luck ? Did it help ?

        1 Reply Last reply
        0
        • L Offline
          L Offline
          luca
          wrote on last edited by
          #4

          [quote author="diabolic" date="1371584665"]Hi ;)
          you must change path in your .pro file like this:
          @TARGET = tempcontrol
          target.path = /home/pi
          INSTALLS = target@
          As you see.,my app goes to /home/pi directory so you can change deployment to normal user. Hope it helps ;).[/quote]

          Thanks, it helped me!

          Sorry for my delayed post but I got some "network problem"...

          1 Reply Last reply
          0
          • L Offline
            L Offline
            levent
            wrote on last edited by
            #5

            Are you running QT on Mac, Win, Linux ? Did you follow any tutorial ? I have been trying on Mac to get it running but no luck. Any suggestions

            1 Reply Last reply
            0
            • L Offline
              L Offline
              luca
              wrote on last edited by
              #6

              I'm on Linux.

              I only tried for some days...

              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