Re: [SailfishDevel] Reading photo library without QtDocGallery
My understanding was that QtDocGallery provides you with way more files (via indexer?) than a list of files in whatever QStandardPaths tell. But yeah, QDir could be a workaround, indeed, thanks! Artem. -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem Sent with Sparrow (http://www.sparrowmailapp.com/?sig) On Monday, April 14, 2014 at 9:16, Andrey Kozhevnikov wrote: QDir? :D 14.04.2014 05:21, Artem Marchenko пишет: Hi All I am doing a photo-browsing related app and figured out that neither QtDocGallery, nor org.nemomobile.thumbnailer are not allowed imports anymore (I believe they were allowed by checker script just few days ago and Jolla’s own example use these). Anyway, what else could I use to get a list of photos in the device? That should be possible somehow right? Or were these modules disallowed by mistake? ERROR [/usr/share/harbour-dailyambience/qml/pages/MainPage.qml] Import 'QtDocGallery 5.0' is not allowed ERROR [/usr/share/harbour-dailyambience/qml/pages/MainPage.qml] Import 'org.nemomobile.thumbnailer 1.0' is not allowed Best regards, Artem. -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem Sent with Sparrow (http://www.sparrowmailapp.com/?sig) ___ SailfishOS.org (http://SailfishOS.org) Devel mailing list ___ SailfishOS.org (http://SailfishOS.org) Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Reading photo library without QtDocGallery
But i have really no idea why harbour permitting usage of any QML imports. If update will chance any API in future applications just wont start. There is no harm for end user, only harm for developers. 14.04.2014 12:20, Artem Marchenko ?: My understanding was that QtDocGallery provides you with way more files (via indexer?) than a list of files in whatever QStandardPaths tell. But yeah, QDir could be a workaround, indeed, thanks! Artem. -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem Sent with Sparrow http://www.sparrowmailapp.com/?sig On Monday, April 14, 2014 at 9:16, Andrey Kozhevnikov wrote: QDir? :D 14.04.2014 05:21, Artem Marchenko ?: Hi All I am doing a photo-browsing related app and figured out that neither QtDocGallery, nor org.nemomobile.thumbnailer are not allowed imports anymore (I believe they were allowed by checker script just few days ago and Jolla's own example use these). Anyway, what else could I use to get a list of photos in the device? That should be possible somehow right? Or were these modules disallowed by mistake? ERROR [/usr/share/harbour-dailyambience/qml/pages/MainPage.qml] Import 'QtDocGallery 5.0' is not allowed ERROR [/usr/share/harbour-dailyambience/qml/pages/MainPage.qml] Import 'org.nemomobile.thumbnailer 1.0' is not allowed Best regards, Artem. -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem Sent with Sparrow http://www.sparrowmailapp.com/?sig ___ SailfishOS.org http://SailfishOS.org Devel mailing list ___ SailfishOS.org http://SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Changelog in rpm
Hi Juah inspired by your question I implemented changelog support, that will be released with our upcoming SDK update. That sounds great, looking forward to it. /Kim ___ SailfishOS.org Devel mailing list
[SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future
Can somebody help me with this one please? I've just rebuilt my machine and have reinstalled QtCreator etc. I never had this problem before so I'm guessing it's something I've done but each time I rebuild my project, I get this error. I've googled it and several people suggest that it's because the build system is on another machine. I suppose it is here as the build is a virtual machine, but as I said, it didn't happen until I rebuilt the box (64 bit Mageia 4) and I'm struggling to fix it. I can't move on with my project until I solve it so can anybody suggest what I could check please? Regards CDW ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future
On Mon, 14 Apr 2014 14:26:58 +0100 Chris Walker cdw_noki...@the-walker-household.co.uk wrote: Can somebody help me with this one please? I've just rebuilt my machine and have reinstalled QtCreator etc. I never had this problem before so I'm guessing it's something I've done but each time I rebuild my project, I get this error. I've googled it and several people suggest that it's because the build system is on another machine. I suppose it is here as the build is a virtual machine, but as I said, it didn't happen until I rebuilt the box (64 bit Mageia 4) and I'm struggling to fix it. I can't move on with my project until I solve it so can anybody suggest what I could check please? Physician heal thyself! I installed the ntp client and it now picks up network time. I'm assuming therefore that there is some time 'slip' between the host machine and VBox. I now get loads of warnings which again, I haven't seen before such as these :- Warning for %files line: /usr/share/icons/hicolor/86x86/apps please use %{_datadir} to replace the leading path /usr/share But I *ought* to be able to fix that one ;-) ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future
On 14.04.2014 16:49, Chris Walker wrote: Physician heal thyself! I installed the ntp client and it now picks up network time. I'm assuming therefore that there is some time 'slip' between the host machine and VBox. I now get loads of warnings which again, I haven't seen before such as these :- Warning for %files line: /usr/share/icons/hicolor/86x86/apps please use %{_datadir} to replace the leading path /usr/share But I *ought* to be able to fix that one ;-) Hi, glad to hear ntp worked for you. Those %files warnings will be gone in the next SDK update. They are caused by an almost-but-not-quite working .pro/.yaml file updater functionality in Qt Creator. They are quite ugly, but harmless. Best regards, Juha ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future
On 14/04/14 14:49, Chris Walker wrote: On Mon, 14 Apr 2014 14:26:58 +0100 Chris Walker cdw_noki...@the-walker-household.co.uk wrote: Can somebody help me with this one please? I've just rebuilt my machine and have reinstalled QtCreator etc. I never had this problem before so I'm guessing it's something I've done but each time I rebuild my project, I get this error. I've googled it and several people suggest that it's because the build system is on another machine. I suppose it is here as the build is a virtual machine, but as I said, it didn't happen until I rebuilt the box (64 bit Mageia 4) and I'm struggling to fix it. hmmm I can't move on with my project until I solve it so can anybody suggest what I could check please? Physician heal thyself! I installed the ntp client and it now picks up network time. I'm assuming therefore that there is some time 'slip' between the host machine and VBox. This works but is suboptimal. Make sure /usr/bin/VBoxService -f is running in the guest; it manages time sync. Also https://www.virtualbox.org/manual/ch09.html Finally check your host is running the correct services and has all the right modules built. David ___ SailfishOS.org Devel mailing list
[SailfishDevel] Agenda: A kickoff meeting about SailfishOS, open source, collaboration, way forward @ tomorrow, Tuesday 15 April, 15:00 UTC
Hi, There has been a lot of discussion surrounding SailfishOS, the open source parts of it (incl. middleware within Mer and Nemo Mobile project) and collaboration methods/practices -- and that we can do better than how things are today. We all meet in #mer-meeting on irc.freenode.net tomorrow, Tuesday 15th April 2014, at 15:00 UTC for 1 1/2 hours at least and get a proper constructive conversation going on and end with action points for us all. The focus point is about the SailfishOS stack's current open source components and how we can improve the experience of contributing, communicating regarding and participating in them as well as encouraging this. The state today of that isn't as good as it can be and it can be a very confusing experience to try to contribute to SailfishOS on a code level. This is something we can make better together. The agenda is the following: 1. Introductions of participants in meeting [something about you and why you're here] - 10 min 2. When's next meeting: Regular meetings every two weeks around the project? - 5 min 3. How to make contributing to Nemo/Mer/SailfishOS easier [big topic] - 1 min introduction 3.1: Current problems and situation, potential solutions [30 min open floor discussion, divided into 20 minute discussion, 10 minute solution proposals] 3.2: Solution proposal: Minimal/practical openness requirements and process for open source components in Mer/Nemo/SailfishOS [5 min intro + 15 min discussion] - such as dedicated/listed maintainers/owners, etc. [suggested intro holder: w00t/Robin Burchell?] 3.3 Action proposal: Participation and contribution policy for Jolla's open source contributors in open source projects [5 min intro, 15 min discussion] (Carol?) 3.4 Wrap-up and finalize action points With best regards, Carsten Munk Chief Research Engineer @ Jolla ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future
Chris you should clarify what you installed ntp on: your rebuilt workstation or in the sdk? I am assuming the former, but from David's suboptimal answer I assume he assumes the latter ...8-) Cheers Chris Zitat von David Greaves david.grea...@jolla.com: On 14/04/14 14:49, Chris Walker wrote: On Mon, 14 Apr 2014 14:26:58 +0100 Chris Walker cdw_noki...@the-walker-household.co.uk wrote: Can somebody help me with this one please? I've just rebuilt my machine and have reinstalled QtCreator etc. I never had this problem before so I'm guessing it's something I've done but each time I rebuild my project, I get this error. I've googled it and several people suggest that it's because the build system is on another machine. I suppose it is here as the build is a virtual machine, but as I said, it didn't happen until I rebuilt the box (64 bit Mageia 4) and I'm struggling to fix it. hmmm I can't move on with my project until I solve it so can anybody suggest what I could check please? Physician heal thyself! I installed the ntp client and it now picks up network time. I'm assuming therefore that there is some time 'slip' between the host machine and VBox. This works but is suboptimal. Make sure /usr/bin/VBoxService -f is running in the guest; it manages time sync. Also https://www.virtualbox.org/manual/ch09.html Finally check your host is running the correct services and has all the right modules built. David ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Warning: File `Makefile' has modification time 0.51 s in the future
On Monday 14 April 2014 14:49 Chris Walker wrote: I installed the ntp client and it now picks up network time. I'm assuming therefore that there is some time 'slip' between the host machine and VBox. I had the same problem and now run ntpdate from cron.daily. Turns out my PCs clock loses ~5 seconds(sic!) for every 24h :( -- Med venlig hilsen / Best Regards Thomas Tanghus ___ SailfishOS.org Devel mailing list
[SailfishDevel] SDL_mixer: different behaviour between emulator and actual device
SDL_mixer seems to work differently on the emulator from the device. Using the emulator I can play both .wav and .ogg files without a problem using SDL_mixer, but on my device no sound comes out. My sound initialisation function: void InitSound() { const int NUM_CHANNELS = 16; int rate = 44100; Uint16 format = AUDIO_S16SYS; int channels = 2; int bufferSize = 1024; if ( Mix_OpenAudio(rate, format, channels, bufferSize) == 0 ) Mix_AllocateChannels(NUM_CHANNELS); else Debug::DbgOutF( Mix_OpenAudio: %s\n, Mix_GetError() ); } My call for playing: Mix_Music* pMusic = Mix_LoadMUS( filename ); - for .ogg and other music files Mix_Chunk* pSound = Mix_LoadWAV( filename ); - for .wav files And then I call different SDL_mixer function for playing the above files bool repeat;- true or false depending if I want one time play or infinite Mix_PlayMusic(pMusic, repeat?-1:0);- for .ogg and other music files Mix_PlayChannel(-1, pSound, repeat?-1:0 ) - for .wav files For code clarity above I haven't included my checks if pointers and return value of SDL_mixer calls are valid, but in my actual game I check that either pMusic or pSound are not NULL depending on my sound file and that the return value of the Mix_* calls is 0 according to the documentation. I haven't tested the sample from https://github.com/thp/sdl2-opengles-test yet, but don't expect different results. ___ SailfishOS.org Devel mailing list