Qt Creator fails to deploy files other than the target
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?
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^^