Yes, in that case you need to manually ssh to both SDK build machine
(port 2222) and SDK emulator (port 2223) to install packages needed for
compilation and running of the app. SDK Control Center can take care of
the packages it knows to handle see SDK Control Center -> Target ->
Manage -> .
Reasoning is that SDK build machine needs to have the headers and libs
to link againts when building the app. Emulator VM can run the app only
if the needed QML imports and/or shared libs are present in the
emulator's run-time config.
thanks, Jarko
On 04/14/2013 09:17 AM, christopher.l...@thurweb.ch wrote:
Hi Wim
I am the process of learning this sort of thing myself...
My (still somewhat hazy) understanding is that you will have to add
new packages to both the SDK and the Emulator.
Packages on the SDK can be managed from within Qt Creator. (You should
have a SailfishOS Icon to the left of your screen (under the Projects
Icon).
To update the Emulator do the following:
1. connect to the Emulator via ssh:
ssh -i ~/.ssh/mer-qt-creator-rsa root@localhost -p 2223
2. su - (root password is "nemo")
3. zypper in <your package>
b.t.w if you need to ssh to the Emulator:
ssh -i ~/.ssh/mer-qt-creator-rsa root@localhost -p 2222
Ciao
Chris
Zitat von "Wim de Vries" <wsvr...@xs4all.nl>:
Hi,
I have an aircraft navigation system (open source, see
https://sourceforge.net/projects/pilotnavigator/) running on Ubuntu.
I have recently added the QtSerialPort module to it.
Now I want to port the system to Sailfish and I am running into
problems with the QtSerialPort part.
On Ubuntu I build QtSerialPort into the Qt SDK, by running the qmake
of the current SDK on the pro file of QtSerialPort source set.
I want to do the same for Sailfish but I don know how. As far as I
understand does qmake (and the rest of the SDK) run on the MerSDK on
a virtual box?
Should I copy the QtSerialPort source tree to this box and build it
on this box?
Will it stay there?
Thanks.
_______________________________________________
SailfishOS.org Devel mailing list
_______________________________________________
SailfishOS.org Devel mailing list
--
We are #unlike.
Jolla Oy, http://www.jolla.com
_______________________________________________
SailfishOS.org Devel mailing list