Re: [SailfishDevel] Creating a Webapp Application with WebView
Hi, I don't understand what's the problem here. 960 x 540 is the correct resolution of Jolla, why should it be something else? - Saija Lähetetty iPadista > "Daniel Beck" kirjoitti 16.8.2014 kello 12.56: > > Hello, > > I would like to create a webapp game application that runs inside a WebView. > The problem is that the resolution reported by the HTML application is > 960x540. The viewport of the HTML is set as follows: > > > Apparently, the webview does not honnor the device pixel ration (DPR) of the > device. > Is there some property/configuration I can set for this in the QML? > > WebView { > id: webView > anchors.fill: parent > url: "index.html" > } > > > Thanks > Daniel > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Deploy QSQLite database
Hi, What comes to having datalocation path variable in the .pro file: I was having similar thoughts when I wanted to install something in the writable storage location, but I was corrected. Nothing should be installed in the home directory with the application, but under application directory /usr/share/harbour-yourappname/. There can be also subdirs under that location. Then, at runtime, you can create the writable storage location if it does not exist, and copy or create stuff there. Preferably the app would not pre-install any data, but everything would be downloaded / created runtime. That would be the ideal though, not always applicable. - Saija @setelani matrixx #sailfishOS Lähetetty iPadista > "Andrey Kozhevnikov" kirjoitti 18.6.2014 kello 8.50: > > you should build and deploy as RPM package ;) > > 18.06.2014 03:42, Lukas Vogel пишет: >> Hi there, >> >> I try to create an app in which I want to have an existing database bind in >> the binary. >> >> My approach was the following: >> in pro file: >> QT += sql >> database.files = stations.db >> database.path = /home/nemo/.local/share/harbour-qtimetable/harbour-qtimetable >> >> INSTALLS += database >> To open the database: >> db = QSqlDatabase::addDatabase("QSQLITE"); >> db.setDatabaseName(DB_NAME); >> db.setUserName(USER_NAME); >> db.setPassword(PASSWORD); >> db.setConnectOptions("QSQLITE_OPEN_READONLY=1"); >> if(db.open()) {...} >> for DB_NAME I use >> QStandardPaths::writableLocation(QStandardPaths::DataLocation) with >> stations.db appended. >> However when I deploy this will fail as the path on emulator has >> >> home/deploy/installroot/ prefix, and when deploying on device there is >> /opt/sdk/.. >> prefix. >> This makes testing quite annoying, is there a genuine way to get the >> database to open both in the emulator and the device? >> Side question is there a "standard path::datalocation" variable for the .pro >> file? >> Thanks for any help, >> Lukas >> >> >> ___ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."
Oh, that sounds like a lot worse case than mine. I can live with mine since it's easy to fix temporarily, but I truly hope the cause is found for your case and fixed permanently. - Saija Lähetetty iPadista > "Christopher Lamb" kirjoitti 3.6.2014 kello > 10.24: > > Hi Saija > > In my case restarting the VMs does not help. I think (from memory) that > rebooting the whole laptop does help. > > It is possible that the same reported error may have a number of different > causes - in my case it seems to be when my development host loses its network > connection (though as with all sporadic problems it is difficult to be sure). > > Thanks > > Chris >> On 03.06.14 09:02, Saija Saarenpää wrote: >> I get the same error often when developing with Windows 8 64-bit, never on >> Mac OSX 10. They are both always connected to the (same) network. It helps >> to close and open the virtual machine, the it stays reachable for another >> while once it does the same again. >> >> - Saija >> >> Lähetetty iPadista >> >>> "Christopher Lamb" kirjoitti 3.6.2014 kello >>> 9.58: >>> >>> Hi Jarko >>> >>> Still on the train, now with the Jolla Wifi Hotspot active, and I can build >>> without problems. >>> >>> This indicates that I get the problem when no network is connected. In this >>> case I am deploying to the Emulator, so no network should be required >>> >>> Grüsse >>> >>> Chris >>> >>>> On 02.06.14 10:23, Jarko Vihriala wrote: >>>> journalctl -fa >>> ___ >>> SailfishOS.org Devel mailing list >>> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org >> ___ >> SailfishOS.org Devel mailing list >> To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] sporadic bouts of "Could not connect to MerSDK Virtual Machine. Timeout waiting for reply from server."
I get the same error often when developing with Windows 8 64-bit, never on Mac OSX 10. They are both always connected to the (same) network. It helps to close and open the virtual machine, the it stays reachable for another while once it does the same again. - Saija Lähetetty iPadista > "Christopher Lamb" kirjoitti 3.6.2014 kello > 9.58: > > Hi Jarko > > Still on the train, now with the Jolla Wifi Hotspot active, and I can build > without problems. > > This indicates that I get the problem when no network is connected. In this > case I am deploying to the Emulator, so no network should be required > > Grüsse > > Chris > >> On 02.06.14 10:23, Jarko Vihriala wrote: >> journalctl -fa > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] was "Acceptable Behaviour.." --> Forum
I prefer the editing abilities a forum gives over everything else. For example QtProject forum http://qt-project.org has done it really well. They have the possibility to extend the documentation by leaving notes and code examples. Also a whole section to provide snippets. The thing which I dislike in mailing lists that sometimes for solving a simple issue I need to read the whole chain of emails to catch the one which has the correct and working solution. In the forum it's possible to modify the original question to include the correct answer or even save a separate code snippet in the wiki, which is easy to find if tagged properly. - Saija Ircnet/freenode/matrixx @setelani Lähetetty iPadista > "Christopher Lamb" kirjoitti 25.5.2014 kello > 18.13: > > Hi Thomas > > Thanks for your input. > > I suspect the whole "mailing-list vs forum" thing will be a matter of taste > and experience. Both have their plus sides and downsides. > > I am now trying out Thunderbird, but will hold of commenting until I have got > used to it. > > >> On 24.05.14 19:32, "Thomas B. Rücker" wrote: >> Hi, >> ... >>> * Private Messages >> I'm not sure if you are serious. >> Did you hear about this thing called … email? >> ... > > I counter with "have you heard of this thing called privacy?" In some forums > your email is suppresed by default. Other users only see your avatar, and > thus pms are used for "back-channel" talk instead of email. In a small > intimate community like this one, privacy (or invasion thereof) should not be > a problem, but that might change if the community were to mushroom in size. > > m.f.g > > Chris > > B.t.w my Pizza has to be the classic Napoli ... > > > > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] Discrimination and abuse from Jolla employee Thomas Perl
I also hate to see there are conflicts in the field where we all are "fighting" in the same side, for a greater common good (open source, underdog OS, you name it). I wish all the best for you guys and I hope you can solve things out and we can continue work our way together for the common benefit. I hope it's not impossible to anyone make some space for another who wants to help in this common target, even though there might be some minor disagreements. Let's keep in mind that we are stronger when we all agree to do stuff as one :) - Saija Lähetetty iPadista > "Chris Walker" kirjoitti 21.5.2014 > kello 19.36: > > On Tue, 20 May 2014 20:43:24 +0200 > Filip Kłębczyk wrote: > >> W dniu 20.05.2014 20:30, Tone Kastlunger pisze: >>> IMHO, >>> and with all respect, >>> personally I am not interested in cutthorat and dagger, but rather >>> interested in development issues. >> >> Feel free to not read this thread. It's your choice what you read or >> not. > > As the first person to respond to this thread, I said I was > disappointed. I am even more disappointed now. I'm afraid you lost > me when you shot yourself in the foot by posting private content on > here. That was a private conversation and should have remained so. It > is not good enough that *you* feel it should be published. Plainly a > number of people, myself included do not feel that this is the right > place for it. > > It is also not acceptable for you to say that we can read it or not. > > Please let this be the last posting on the subject, but having said > that, I hope things work out for you. If I were closer, I'd grab you > and Thomas P and bang your heads together until you resolved it ;-) > ___ > SailfishOS.org Devel mailing list > To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org ___ SailfishOS.org Devel mailing list To unsubscribe, please send a mail to devel-unsubscr...@lists.sailfishos.org
Re: [SailfishDevel] SSH after update : IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Error
In addition, if you want to be sure not to remove wrong lines (there might be others starting with or 2223) the warning message states the offending lines: Offending RSA key in /Users/christopherlamb/.ssh/known_hosts:8 In this case the offending line was 8, which can be safely deleted. - Saija / matrixx Lähetetty iPadista > christopher.l...@thurweb.ch kirjoitti 25.10.2013 kello 8.59: > > > Hi All > > If, after the SDK update, you get the following errors when SSHing to the > Emulator or SDK VMs read on. > > apple-pip:abstractui christopherlamb$ ssh -p 2223 -i > ~/.ssh/mer-qt-creator-rsa nemo@localhost > > @@@ > @WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ > @@@ > IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! > Someone could be eavesdropping on you right now (man-in-the-middle attack)! > It is also possible that a host key has just been changed. > The fingerprint for the RSA key sent by the remote host is > 83:7e:fe:55:2a:dc:22:e7:69:dc:fb:6c:a3:bd:5c:2d. > Please contact your system administrator. > Add correct host key in /Users/christopherlamb/.ssh/known_hosts to get rid of > this message. > Offending RSA key in /Users/christopherlamb/.ssh/known_hosts:8 > RSA host key for [localhost]:2223 has changed and you have requested strict > checking. > Host key verification failed. > apple-pip:abstractui christopherlamb$ zypper se > -bash: zypper: command not found > > The solution is very easy, but it is one of those that always has me for > scratching my head for a few minutes trying to remember how I last did this: > > Find the know_hosts file in ./ssh > > Make a back up copy of the file > > From the original, remove the two entries starting with: > > [localhost]:2223 > > [localhost]: > > Happy hacking > > Chris > > ___ > SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list