Re: [Development] How to speed up QML for KDE5 without QML compiler

2015-09-16 Thread Leslie Zhai
在 2015年09月16日 17:51, Konstantin Tokarev 写道: > 16.09.2015, 07:04, "Leslie Zhai" : >> Hi great Qt and KDE developers, >> >> I like QML, it is high speed development language, easy to create candy >> UI and not difficult to debug. KDE4 began to use it in some projects, >> for example, KScreen`s kcm

Re: [Development] Enhancement to QIODevice?

2015-09-16 Thread Thiago Macieira
On Wednesday 16 September 2015 13:13:01 Andrzej Ostruszka wrote: > On 09/16/2015 08:57 AM, Thiago Macieira wrote: > >>> You could use peek() to search the buffer, then read() exactly as much > >>> as > >>> you really need. > >> > >> I understand that we are talking about > >> QIODevicePrivateLinea

Re: [Development] Adding Microsoft-licensed library in Qt Multimedia

2015-09-16 Thread Thiago Macieira
On Wednesday 16 September 2015 15:59:25 Lopes Yoann wrote: > >> iii. Distribution Restrictions. You may not > >> · modify or distribute the source code of any Distributable Code so > >> that any part of it becomes subject to an Excluded License. An Excluded > >> License is one that requires, as

Re: [Development] Adding Microsoft-licensed library in Qt Multimedia

2015-09-16 Thread Lopes Yoann
> On 16 Sep 2015, at 17:18, Oswald Buddenhagen > wrote: > > On Wed, Sep 16, 2015 at 02:34:49PM +, Lopes Yoann wrote: >> · for any Distributable Code having a filename extension of .lib, >> distribute only the results of running such Distributable Code through a >> linker with your appli

Re: [Development] Requesting New Repository - QtZeroConf

2015-09-16 Thread Tobias Hunger
Hi Thiago, On Thu, Sep 10, 2015 at 5:47 PM, Thiago Macieira wrote: > I don't know any project implementing LLMNR outside of Windows. It's clearly > dead in terms of further adoption and mDNS has won. So I don't think we need > to provide it for cross-platform interoperability. I'd say we provide

Re: [Development] QtWebEngine unbundled of third-party libraries on Linux

2015-09-16 Thread Lisandro Damián Nicanor Pérez Meyer
On Friday 11 September 2015 19:26:22 Allan Sandfeld Jensen wrote: [snip] > > [Exactly one month later...] > > > > I'll try to check this during the weekend. I'm terribly sorry for not > > doing > > it sooner, but life gets in the middle too much lately :-/ As it happened again, I'm trying to catc

Re: [Development] Adding Microsoft-licensed library in Qt Multimedia

2015-09-16 Thread Oswald Buddenhagen
On Wed, Sep 16, 2015 at 02:34:49PM +, Lopes Yoann wrote: > In order to improve and add missing features in the DirectShow Qt Multimedia > backend, I’d like to include a third-party library in Qt, namely, the > DirectShow Base Classes Library [1]. See link [2] for the patch adding it in > Qt

[Development] Adding Microsoft-licensed library in Qt Multimedia

2015-09-16 Thread Lopes Yoann
Hello all, In order to improve and add missing features in the DirectShow Qt Multimedia backend, I’d like to include a third-party library in Qt, namely, the DirectShow Base Classes Library [1]. See link [2] for the patch adding it in Qt Multimedia. I’m just not sure about the legal part. This

Re: [Development] Enhancement to QIODevice?

2015-09-16 Thread Mark Gaiser
On Wed, Sep 16, 2015 at 1:13 PM, Andrzej Ostruszka < andrzej.ostrus...@gmail.com> wrote: > On 09/16/2015 08:57 AM, Thiago Macieira wrote: > >>> You could use peek() to search the buffer, then read() exactly as much > as > >>> you really need. > >> > >> I understand that we are talking about > >> Q

Re: [Development] How to speed up QML for KDE5 without QML compiler

2015-09-16 Thread Ulf Hermann
> Can you explain that a little more. > Loaders trade startup delay for runtime cost. > What are the units of measure for runtime cost? Runtime cost is measured in CPU time spent while interacting with the application. In some places, such as when scrolling, increasing the CPU time spent can be

Re: [Development] How to speed up QML for KDE5 without QML compiler

2015-09-16 Thread m...@rpzdesign.com
Ulf: Can you explain that a little more. Loaders trade startup delay for runtime cost. What are the units of measure for runtime cost? I am having trouble plotting in my mind how to plot the tradeoff. As startup delay goes up, does runtime cost go down? Thanks, md On 9/16/2015 5:15 AM, Ulf

Re: [Development] How to speed up QML for KDE5 without QML compiler

2015-09-16 Thread Ulf Hermann
Hi, Use the QML profiler in Qt Creator to find out what exactly is slow. Use loaders, but don't overuse them. Loaders trade startup delay for runtime cost. You should decide what is worse depending on your application. -- Ulf Hermann ___ Development

Re: [Development] Enhancement to QIODevice?

2015-09-16 Thread Andrzej Ostruszka
On 09/16/2015 08:57 AM, Thiago Macieira wrote: >>> You could use peek() to search the buffer, then read() exactly as much as >>> you really need. >> >> I understand that we are talking about >> QIODevicePrivateLinearBuffer::peek() here. > > No, I meant QIODevice::peek() First of all - I do not cla

Re: [Development] How to speed up QML for KDE5 without QML compiler

2015-09-16 Thread Robin Burchell
On Wed, Sep 16, 2015, at 06:03 AM, Leslie Zhai wrote: > For a new PC, there is no sharp difference between QML and QWidget, but > in a very very old PC, how old? about 7 years ago, QML is very slow! and > it needs to close all effects for KDE5, even that when clicked, for > example, calendar ap

Re: [Development] How to speed up QML for KDE5 without QML compiler

2015-09-16 Thread Guenter Schwann
On Wednesday 16 September 2015 12:03:38 Leslie Zhai wrote: > Hi great Qt and KDE developers, > > I like QML, it is high speed development language, easy to create candy > UI and not difficult to debug. KDE4 began to use it in some projects, > for example, KScreen`s kcm module, it used QML to take

Re: [Development] How to speed up QML for KDE5 without QML compiler

2015-09-16 Thread Konstantin Tokarev
16.09.2015, 07:04, "Leslie Zhai" : > Hi great Qt and KDE developers, > > I like QML, it is high speed development language, easy to create candy > UI and not difficult to debug. KDE4 began to use it in some projects, > for example, KScreen`s kcm module, it used QML to take place of > traditional

Re: [Development] Old platform-specific functions

2015-09-16 Thread Jake Petroules
> On Sep 15, 2015, at 9:07 PM, Sze Howe Koh wrote: > > Hi all, > > There's a list of platform-specific functions from Qt 4: > http://doc.qt.io/qt-5/exportedfunctions.html > > It looks like most of these functions are now gone. The non-existing > functions should be removed from the documentati