[Interest] Contributing to Qt

2017-12-29 Thread Igor Mironchik

Hello,

I want to contribute a little to Qt.

I cloned qtbase from git://code.qt.io/qt/qtbase.git

Created branch with

git branch test

git checkout test

made changes

git commit -a

Great but now I have a question: how should I correctly push my changes?

Provide a working example please.

Thank you.

___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest


Re: [Interest] Is there a QML way for doing web requests? Just for data, not for rendering.

2017-12-29 Thread Pierre-Yves Siret
I guess you could easily make a higher level component (only for JSON
though) by combining CuteHack's DuperAgent and
https://github.com/benlau/qsyncable (the QML JsonListModel should be
enough).
If you update your json data, QSyncable will update it and won't issue a
whole modelReset signal, it will analyse it and just emits the necessary
dataChanged, rowInserted/Removed signals.

If you want more features, such as being able to work with XML (and you
don't want the vanilla Qt XmlListModel), using the c++ part of QSyncable
seems like a good idea.
It's really usefull when you get full model updates from outside.

2017-12-28 16:23 GMT+01:00 Mark Gaiser :

> On Thu, Dec 28, 2017 at 2:33 PM, Konstantin Tokarev 
> wrote:
>
>>
>>
>> 28.12.2017, 15:23, "Mark Gaiser" :
>>
>> On Fri, Dec 22, 2017 at 11:19 PM, Mark Gaiser  wrote:
>>
>> Hi,
>>
>> You know those fancy REST api's out there.
>> How does one use them in QML?
>>
>> For websockets the answer is simple: QML WebSocket.
>> But i didn't find a way to just do a web request to some url and get it's
>> data, at least not a way that seems "QMLified".
>>
>> Sure, javascript can be used with it's XMLHttpRequest which will work
>> just fine, but using it seems so.. not QML like. So is there a QML way to
>> do such things?
>>
>>
>> Best regards,
>> Mark
>>
>>
>> Bump..
>>
>>
>> Did you see http://www.cutehacks.com/blog/2016/9/23/friendlier-network-r
>> equests-in-qml
>> This is among first things that search engines show
>>
>> I apparently didn't do a good job at searching (which i did) :)
> That looks like a really powerful "cURL for QML" api heavily inspired on
> Javascript Promises.
>
> I wouldn't use that directly in QML (it looks too low level for QML...)
> but it can serve as base to implement some fancy models.
> Thank you for that link!
>
> ___
> Interest mailing list
> Interest@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
>
___
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest