<html><head>
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
<style id="css_styles" type="text/css">blockquote.cite { margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc }
blockquote.cite2 {margin-left: 5px; margin-right: 0px; padding-left: 10px; padding-right:0px; border-left: 1px solid #cccccc; margin-top: 3px; padding-top: 0px; }
a img { border: 0px; }
li[style='text-align: center;'], li[style='text-align: right;'] { list-style-position: inside;}
body { font-family: Segoe UI; font-size: 12pt; }</style></head>
<body><div>Hello,</div><div><br /></div><div>I am pleased to report success in running a generated Sailfish app in the Qt Creator debugger. </div><div><br /></div><div>As my phone was offering me a further update to 3.0.1.11, I decided to take advantage of that update. Of course, I then needed to download the 3.0.1.11 SDK, and set up the kits for Qt Creator to use that SDK by default. </div><div><br /></div><div>It seems my latest problems were due to my not understanding how the deployment should be specified. I changed this, under Project / Run Settings, from manual to automatically deploying as an rpm, and also on the same page ensured my Run configuration was set to be the device and not the emulator.</div><div><br /></div><div>The first time I deployed and ran the debugger, it gave me a message, saying I needed to add a couple of lines to the .pro file to specify the installation path for the target. I did so, and then the debugger ran as far as the breakpoint I had set in main(). When I hit Continue, I saw the amusing "Hello Sailors" screen on my Jolla phone, so now it seems I am fully set up to build and debug apps.</div><div><br /></div><div>Thanks for the advice given. I did not need the make any changes regarding i.p. addresses, but if that had been the issue, your comments would have been extremely useful,</div><div><br /></div><div>Regards,</div><div><br /></div><div>Sahlan</div>
<div><br /></div>
<div>------ Original Message ------</div>
<div>From: "deloptes" <<a href="mailto:deloptes@gmail.com">deloptes@gmail.com</a>></div>
<div>To: <a href="mailto:devel@lists.sailfishos.org">devel@lists.sailfishos.org</a></div>
<div>Sent: 24/07/2019 09:32:43</div>
<div>Subject: Re: [SailfishDevel] Question about connecting a Sailfish phone to Ubuntu Linux box</div><div><br /></div>
<div id="x73938dd857934f1" class="plain"><blockquote cite="qh953b$67g4$1@blaine.gmane.org" type="cite" class="cite2">
<tt style="word-wrap:break-word"><div class="plain_line">Sahlan wrote:</div>
<div class="plain_line"> </div>
<blockquote type="cite" class="cite2">
<div class="plain_line"> Eli,</div>
<div class="plain_line"> </div>
<div class="plain_line"> I take the point that in this situation all bets are off, so it looks</div>
<div class="plain_line"> like I'll have to change the i.p. addresses on my network of development</div>
<div class="plain_line"> machines and development VMs. An inconvenience, but at least it's only a</div>
<div class="plain_line"> one-off change,</div>
<div class="plain_line"> </div>
</blockquote>
<div class="plain_line"> </div>
<div class="plain_line">Is it not easier to change the IP on the Sailfish phone instead of changing</div>
<div class="plain_line">the addresses on the dev network and/or plug a stupid USB cable?</div>
<div class="plain_line">Do you have an idea how networking works? I have the impression you are</div>
<div class="plain_line">missing some fundamentals like routing for example.</div>
<div class="plain_line"> </div>
<div class="plain_line">You can not have two gateways in the same work. Therefore set the USB IP to</div>
<div class="plain_line">something else. I give you an example of my use case.</div>
<div class="plain_line">I have one Xperia X for work and one for testing. If both are configured to</div>
<div class="plain_line">use 192.168.2.0/24 (IP .15 and .16 for example) the USB driver is confused.</div>
<div class="plain_line">I can use whichever phone I can plugin first.</div>
<div class="plain_line">But if I setup same IP on different network for example 192.168.2.15 and</div>
<div class="plain_line">192.168.3.15 all is working fine.</div>
<div class="plain_line">This is because the USB driver would provide the GW for each network.</div>
<div class="plain_line"> </div>
<div class="plain_line">regards</div>
<div class="plain_line"> </div>
<div class="plain_line"> </div>
<div class="plain_line">_______________________________________________</div>
<div class="plain_line">SailfishOS.org Devel mailing list</div>
<div class="plain_line">To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org">devel-unsubscribe@lists.sailfishos.org</a></div>
</tt></blockquote></div>
</body></html>