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. Qt Creator fails to deploy files other than the target
Forum Updated to NodeBB v4.3 + New Features

Qt Creator fails to deploy files other than the target

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
2 Posts 1 Posters 1.0k 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.
  • DiracsbracketD Offline
    DiracsbracketD Offline
    Diracsbracket
    wrote on last edited by Diracsbracket
    #1

    Hi,
    I tested the spectrum application from the Qt examples on my Pi2. The package builds just fine on my host and runs fine on the Pi2 after I manually copy the dependent library via scp.

    To also get the library files deployed, I added the following to app.pro:

    mypackage.path = /home/debian/Qt/Examples/Qt-5.6/qtmultimedia/multimedia/build-spectrum-Pi2-Debug
    mypackage.files = libfftreal.*
    target.path = /home/pi/Tests/spectrum
    INSTALLS += target mypackage
    

    When I run the deploy command, Qt Creator says this:

    03:55:48: Connecting to device...
    03:55:48: The remote file system has 4771 megabytes of free space, going ahead.
    03:55:48: Deploy step finished.
    03:55:48: Uploading file "/home/debian/Qt/Examples/Qt-5.6/qtmultimedia/multimedia/build-spectrum-Pi2-Debug/spectrum"...
    03:55:49: Uploading file "/home/debian/Qt/Examples/Qt-5.6/qtmultimedia/multimedia/build-spectrum-Pi2-Debug/libfftreal.so"...
    03:55:49: Uploading file "/home/debian/Qt/Examples/Qt-5.6/qtmultimedia/multimedia/build-spectrum-Pi2-Debug/libfftreal.so.1.0.0"...
    03:55:49: Uploading file "/home/debian/Qt/Examples/Qt-5.6/qtmultimedia/multimedia/build-spectrum-Pi2-Debug/libfftreal.so.1.0"...
    03:55:49: Uploading file "/home/debian/Qt/Examples/Qt-5.6/qtmultimedia/multimedia/build-spectrum-Pi2-Debug/libfftreal.so.1"...
    03:55:49: All files successfully deployed.
    03:55:49: Deploy step finished.
    03:55:49: Elapsed time: 00:02.
    

    However, only the target is actually deployed to the Pi2.
    What is happening?

    Thanks!

    1 Reply Last reply
    0
    • DiracsbracketD Offline
      DiracsbracketD Offline
      Diracsbracket
      wrote on last edited by Diracsbracket
      #2

      Hmm...
      There was another .pro file in the sub-directory for the library....
      I modified the path there and now all is OK. Just feeling a little bit stupid here...

      Furthermore, the mypackage.path I indicated above is wrong, since it should have been the remote path while I put in the local path... Just another incomprehensible lapse of judgement here of course, because the right path is mentioned just below there, in the target.path...

      It would have been useful if the output of the deploy step would also mention to which remote path is uploaded the files.

      Thanks for letting me find it out by myself^^

      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