Re: [SailfishDevel] .ico : Unsupported image format
Have you tried adding following line in your yaml/spec?: Requires: qt5-plugin-imageformat-ico From: devel-boun...@lists.sailfishos.org [devel-boun...@lists.sailfishos.org] on behalf of Tigre-Bleu [de...@tigre-bleu.net] Sent: Sunday, November 24, 2013 5:59 PM To: Sailfish OS Developers Subject: [SailfishDevel] .ico : Unsupported image format Hi sailors, I've just realized that .ico is not supported by QtQuick Image {} QML Component QML Image: Error decoding: http://www.jollatides.com/favicon.ico: Unsupported image format I'm surprised as I was assuming that ico files shall be displayed as it is a defacto icon standard. Is there another way to display a .ico in QML? Thanks, Antoine ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] .ico : Unsupported image format
Qt has an image format plugin for the ico format. Seems as if it is not installed on the current Emulator image. I assume it would be possible to add the plugin package to the Requires in the .yaml/.spec files. Br, Alessandro On Sunday, November 24, 2013, Andrey Kozhevnikov wrote: > its default webpage favicon format. how it can be ignored by OS? > > On 24.11.2013 22:04, Gabriel Böhme wrote: > > Transform it to an usual image format. I think *.ico is just known in > the Microsoft world. ;) So change it to somethink like, jpg or png. :) > > > Gabriel > > > > -- > > > > Von meinem Nokia N9 gesendet > > > > Tigre-Bleu schrieb am 24.11.13 16:59: > Hi sailors, > > I've just realized that .ico is not supported by QtQuick Image {} QML > Component > > QML Image: Error decoding: http://www.jollatides.com/favicon.ico: > Unsupported image format > > I'm surprised as I was assuming that ico files shall be displayed as it is > a defacto icon standard. > > Is there another way to display a .ico in QML? > > Thanks, > > Antoine > ___ > SailfishOS.org Devel mailing list > > > > ___ > SailfishOS.org Devel mailing list > > > ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Fwd: Massive issues while installing SailfishOS IDE
Yep, the old settings in Appdata were the cause. Deleted them, reinstalled and everything works perfectly. Thanks a lot! 2013/11/23 Helge Täubert > Hello, > > I have found the same problem with special characters. It has also been > reported in: > > http://forum.jollausers.com/sailfish-developers/sailfishos-sdk-under-windows-7/ > > Helge > > Am 23.11.2013 17:12, schrieb Gabriel Böhme: > > Hi, > > I have the same problem with the SailfishOS IDE in Windows 7 and guess > special chars and/or spaces causes the issues. The main folder is > C:/SailfishOS and also my projects are in C:/SailfishOS/projects, but the > "SailfishAlpha2" folder in AppData is just affected, cause it's in the user > path, in my case a very bad path "Gabriel Böhme". So a special char and a > space. :) > > I'll try with a new user later, if this works it should be clear. > > Gabriel. > > Am 22.11.2013 15:47, schrieb Juha Kallioinen: > > On 22.11.2013 12:58, Kajetan Dobczyk wrote: > > > After the IDE installation: > > - There's no Sailfish project option in "File -> New File or Project", > although Mer is checked in "Help -> About Plugins" > > > - In "Tools -> Options -> Mer", when I click "Start Emulator", nothing > happens, either in SailfishOS Emulator / MerSDK. My VirtualBox is 4.1.8, > I've tried with the newest one too. After one of many installations, I > could turn on the emulator, but when I tested the connection, I got this > message: "ssh connection failure: server rejected key.". > I see that some other folders are created on my hard drive - IDE is > installed in "Sailfish", and near it are "SailfishOS" and "Sailfish OS". > Maybe the uninstall utility doesn't clear everything? > > There should only be one directory under which the SDK (IDE) is > installed. You get to select this path when running the installer. > > The uninstall utility does not clean everything. It does its best to > remove the main installation directory which usually is called SailfishOS. > It leaves behind the QtCreator configuration directory, which contains for > example paths to the installation directory. > > Since you are seeing several directories with the word Sailfish in them, > is it possible that you have tried to install the SDK multiple times to > different paths? If this is the case, then the aforementioned config files > may contain wrong paths, which will lead to problems when trying to use > QtCreator. > > In Linux this configuration data is saved under the > /home/username/.config/SailfishAlpha2 directory. In Windows it should be > under C:\Users\username\AppData\Roaming\SailfishAlpha2. > > Could you run the uninstaller once more and then manually remove that > SailfishAlpha2 directory? > > Afterwards, when running the installer, please choose a path that does not > have any space characters in it. The SDK does not currently work properly > if the install path has spaces. > > Best regards, > Juha > > > > > > > ___ > SailfishOS.org Devel mailing list > > > > > ___ > SailfishOS.org Devel mailing list > > > > ___ > SailfishOS.org Devel mailing list > ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] .ico : Unsupported image format
its default webpage favicon format. how it can be ignored by OS? On 24.11.2013 22:04, Gabriel Böhme wrote: Transform it to an usual image format. I think *.ico is just known in the Microsoft world. ;) So change it to somethink like, jpg or png. :) Gabriel -- Von meinem Nokia N9 gesendet Tigre-Bleu schrieb am 24.11.13 16:59: Hi sailors, I've just realized that .ico is not supported by QtQuick Image {} QML Component QML Image: Error decoding: http://www.jollatides.com/favicon.ico: Unsupported image format I'm surprised as I was assuming that ico files shall be displayed as it is a defacto icon standard. Is there another way to display a .ico in QML? Thanks, Antoine ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Try flashlight on a real device, please. Rebuilt to satisfy the new requirements
A better and newer version - http://bit.ly/flashlight11 Almost this version was checked with the harbour test script by kind people on IRC and almost passed :) Now this build 11 is supposed to pass absolutely all checks. If you have access to the harbour check script, please, run it on RPM. If it passes indeed, I'll try contacting care for the launch date approval chance. Cheers, Artem. On Sat, Nov 23, 2013 at 8:36 PM, Artem Marchenko wrote: > Hi All > > I've rebuilt flashlight for the new requirements (86x86 icons, [hopefully] > correct package/binary names, no dependencies anymore, etc). Just a bit of > graphics update yet (replacing qtgraphicseffects stuff with prerendered > images). > > Please, give it a try and tell if it works - > https://dl.dropboxusercontent.com/u/19482748/harbour-flashlight-1.0.2.armv7hl.rpm > > Particularly, please, tell if app icon appears fine - to my understanding > it can't work on emulator, but should work fine on the recent real firmware. > > Cheers, > Artem. > > -- > Artem Marchenko > http://agilesoftwaredevelopment.com > http://twitter.com/AgileArtem > -- Artem Marchenko http://agilesoftwaredevelopment.com http://twitter.com/AgileArtem ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] .ico : Unsupported image format
Transform it to an usual image format. I think *.ico is just known in the Microsoft world. ;) So change it to somethink like, jpg or png. :) Gabriel -- Von meinem Nokia N9 gesendet Tigre-Bleu schrieb am 24.11.13 16:59: Hi sailors, I've just realized that .ico is not supported by QtQuick Image {} QML Component QML Image: Error decoding: http://www.jollatides.com/favicon.ico: Unsupported image format I'm surprised as I was assuming that ico files shall be displayed as it is a defacto icon standard. Is there another way to display a .ico in QML? Thanks, Antoine ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
[SailfishDevel] .ico : Unsupported image format
Hi sailors, I've just realized that .ico is not supported by QtQuick Image {} QML Component QML Image: Error decoding: http://www.jollatides.com/favicon.ico: Unsupported image format I'm surprised as I was assuming that ico files shall be displayed as it is a defacto icon standard. Is there another way to display a .ico in QML? Thanks, Antoine ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties
can i use it if i copy both ComboBox and ContextMenu to my project? On 24.11.2013 19:22, christopher.l...@thurweb.ch wrote: Hi Andrey If the _underscore is, as we suspect an indication of "internal only", the next question is what is internal? Internal could mean to the component itself. However it could mean "internal to Silica". Under this definition a call from Combobox to ContextMenu could be regarded as internal. Given that there will be a degree of coupling between components in the same library this is not unreasonable. Either way, your and my code are clearly external. That implies that if we call anything "internal" / undocumented we do so at our own risk. I am sure that all the Jolla guys are ultra busy right now (boxing phones?), but it would be great to have an official take some time .. Chris Zitat von "Andrey Kozhevnikov" : ComboBox can use private properties of ContextMenu, but i can't? really? :D ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties
Hi Andrey If the _underscore is, as we suspect an indication of "internal only", the next question is what is internal? Internal could mean to the component itself. However it could mean "internal to Silica". Under this definition a call from Combobox to ContextMenu could be regarded as internal. Given that there will be a degree of coupling between components in the same library this is not unreasonable. Either way, your and my code are clearly external. That implies that if we call anything "internal" / undocumented we do so at our own risk. I am sure that all the Jolla guys are ultra busy right now (boxing phones?), but it would be great to have an official take some time .. Chris Zitat von "Andrey Kozhevnikov" : ComboBox can use private properties of ContextMenu, but i can't? really? :D ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties
ComboBox can use private properties of ContextMenu, but i can't? really? :D On 24.11.2013 15:26, christopher.l...@thurweb.ch wrote: Andrey I beg to differ. You can hack in any language, just as you can apply clean coding conventions. QML is no different here, it is just a little less rigorous in enforcing some conventions. Just like any code, QML code will need maintaining, updating etc, so I prefer to clean code and follow the conventions where they make sense. http://harmattan-dev.nokia.com/docs/library/html/qt4/qml-coding-conventions.html clearly states that double underscore are private, not for external use. So it's hands off double underscores, but this raises the moot point: what about single underscores like _contentColumn? By a strict reading of the conventions they are not private, so what does a single underscore imply? Chris Zitat von "Andrey Kozhevnikov" : Please check ContextMenu and ComboBox code. _contentColumn property used in a proper way. QML is not C++ where you not allowed to reimplement headers to use private and protected functions outside. QML is hack-for-fun. On 24.11.2013 00:03, christopher.l...@thurweb.ch wrote: We should not have to make that choice. using an underscore property is the pragmatic solution, but I would be interested to hear what the Jolla developers have to say on this issue. Zitat von "Andrey Kozhevnikov" : You should use it if you want "real" dynamically created components. Or reimplement ContextMenu item. What would you prefer? ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties
'protected' ? ;-) I mean when a 'derived' component creted, altering/extending original vehaviour, they canbe used. But just guessing... Zoltán christopher.l...@thurweb.ch írta ekkor: 2013.11.24. 10:26 Andrey I beg to differ. You can hack in any language, just as you can apply clean coding conventions. QML is no different here, it is just a little less rigorous in enforcing some conventions. Just like any code, QML code will need maintaining, updating etc, so I prefer to clean code and follow the conventions where they make sense. http://harmattan-dev.nokia.com/docs/library/html/qt4/qml-coding-conventions.html clearly states that double underscore are private, not for external use. So it's hands off double underscores, but this raises the moot point: what about single underscores like _contentColumn? By a strict reading of the conventions they are not private, so what does a single underscore imply? Chris Zitat von "Andrey Kozhevnikov" : > Please check ContextMenu and ComboBox code. > _contentColumn property used in a proper way. > > QML is not C++ where you not allowed to reimplement headers to use > private and protected functions outside. QML is hack-for-fun. > > On 24.11.2013 00:03, coderusin...@gmail.com wrote: >> We should not have to make that choice. >> >> using an underscore property is the pragmatic solution, but I would >> be interested to hear what the Jolla developers have to say on this >> issue. >> >> Zitat von "Andrey Kozhevnikov" : >> >>> You should use it if you want "real" dynamically created components. >>> Or reimplement ContextMenu item. >>> >>> What would you prefer? >> >> >> > > ___ SailfishOS.org Devel mailing list ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Dynamically populate a ContextMenu: use of _underscore properties
Andrey I beg to differ. You can hack in any language, just as you can apply clean coding conventions. QML is no different here, it is just a little less rigorous in enforcing some conventions. Just like any code, QML code will need maintaining, updating etc, so I prefer to clean code and follow the conventions where they make sense. http://harmattan-dev.nokia.com/docs/library/html/qt4/qml-coding-conventions.html clearly states that double underscore are private, not for external use. So it's hands off double underscores, but this raises the moot point: what about single underscores like _contentColumn? By a strict reading of the conventions they are not private, so what does a single underscore imply? Chris Zitat von "Andrey Kozhevnikov" : Please check ContextMenu and ComboBox code. _contentColumn property used in a proper way. QML is not C++ where you not allowed to reimplement headers to use private and protected functions outside. QML is hack-for-fun. On 24.11.2013 00:03, christopher.l...@thurweb.ch wrote: We should not have to make that choice. using an underscore property is the pragmatic solution, but I would be interested to hear what the Jolla developers have to say on this issue. Zitat von "Andrey Kozhevnikov" : You should use it if you want "real" dynamically created components. Or reimplement ContextMenu item. What would you prefer? ___ SailfishOS.org Devel mailing list
Re: [SailfishDevel] Dynamically populate a ContextMenu
Please check ContextMenu and ComboBox code. _contentColumn property used in a proper way. QML is not C++ where you not allowed to reimplement headers to use private and protected functions outside. QML is hack-for-fun. On 24.11.2013 00:03, christopher.l...@thurweb.ch wrote: We should not have to make that choice. using an underscore property is the pragmatic solution, but I would be interested to hear what the Jolla developers have to say on this issue. Zitat von "Andrey Kozhevnikov" : You should use it if you want "real" dynamically created components. Or reimplement ContextMenu item. What would you prefer? ___ SailfishOS.org Devel mailing list