<div dir="ltr"><div><div>Though I haven't tried this with the SDK my experience with VirtualBox is that you can change the network settings/type while the machine is already running, so you could deploy etc. and only after the emulator is running change the settings to be on a different network....<br><br></div>HTH,<br></div>Eli<br></div><div class="gmail_extra"><br><div class="gmail_quote">2014-12-28 3:46 GMT+02:00 Niels Christian Ørgaard <span dir="ltr"><<a href="mailto:ncothang@gmail.com" target="_blank">ncothang@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div><div><div>Hi Sailfish Devs :)<br><br></div>I'm wondering if any of you have any experience changing network-settings on the Emulator image for Sailfish.<br><br></div>My headache is that my application needs to receive UDP Broadcast messages from the local (real) network, and with the 2 network interfaces being set to NAT and Internal Network, this seems to be, uhm, not quite possible.<br><br></div>I have tried changing either of them to Bridged (first tried with the NAT'ed one, then later with the Internal Network one), but in both cases, QtCreator refuses to work with the Emulator:<br>----<br>

<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">Error while building/deploying project Lightfish_qt (kit: MerSDK-SailfishOS-i486)</span></p>
<p style="margin:0px;text-indent:0px"><span style="color:rgb(170,0,0)">When executing step 'Start Emulator'</span></p>----<br></div>Even after changing them back, and comparing them to a clone of the original, I get the above error - seems to me that there is something more to the network settings, than exposed by Virtual Box.<br><br></div>Testing the connection from QtCreator's preferences (manage devices -> Test Emulator), I am told that it is quite able to connect; it is merely during the deployment steps, that it fails miserably.<br></div><div>The above is also the only thing I can see, relating to this failure.<br><br></div><div><br></div>Any insights into getting this to work, where I can have the emulator on a bridged network, receiving packages from other devices, and actually reach it from QtCreator, would be most welcome.<br></div>Steps on how to get from the point where QtCreator SAYS it can communicate with the Emulator, to the point where it actually can, also very welcome.<br><br><br></div>Note: Due to my phone managing to take out QtCreator earlier tonight, I'm on a completely clean install of the SDK (incl deleting the files in .config) - but if I need to, I'll re-install a few more times.<br></div><div>(the ca 20-second crash-restart loop QtCreator got itself into were interesting, but quickly tiresome)<br></div><div><br></div>Also: Since my Jolla Phone is effectively dead following the recent "update", I am having to rely on the Emulator to get any work done - thus, no need to suggest that I test using a real device: a functional one is currently not available :(<br><div><div><br><br></div><div>In advance, thank you for any and all help,<br></div><div>Niels Chr. Ørgaard<br></div><div>Belgium<br></div></div></div>
<br>_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a><br></blockquote></div><br></div>