Re: [Development] QSettings, OS X

2013-12-18 Thread Liang Qi
On 18 December 2013 13:41, Samuel Gaist  wrote:

> Hi,
>
> I recently came across several posts talking about QSettings not working
> as expected on OS X (things not yet reported on the bug tracker).
>
> On OS X 10.9, it seems that Apple has decided to cache the application
> preferences more aggressively so if one users erases the plist file and
> restarts its application, the preferences are restored because of the
> cached version. The only current solution is to kill cfprefsd. So I
> wondered if some sort of cleanup/"don't load" should be added when reading
> the first time if the plist file doesn't exist ?
>
> While looking at QSettings code, I have found that it uses several
> platform specific helper classes. Wouldn't they better fit in qpa ? if so,
> I'll be happy to move them and in this case should I open a report for that
> ? Also which branch should I target: dev or stable ?
>
> I also saw that the current implementation doesn't use the mac specialized
> version for parsing configuration files when NativeFormat is used. Would
> adding support for that in QMacSettingsPrivate be a good idea ?
>
> And lastly would a NSUsersDefaults powered helper class be interesting ?
> (Just thinking about it, I didn't implement anything yet)


There is bug report for that,
https://bugreports.qt-project.org/browse/QTBUG-34899

QPA is most for GUI and things depend on GUI. The QPA of Qt Core has not
started yet. If anyone wants to contribute about this topic, go to dev,
obviously.

Regards,
Liang

-- 
http://www.qiliang.net
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt5 release integration build

2013-12-10 Thread Liang Qi
Those changes happened in stable branch, it means they will be part of
5.2.1, then doesn't block 5.2.0 final release.

Anyway, patches are welcome!

Regards,
Liang


On 10 December 2013 20:06, Kurt Pattyn  wrote:

> I suppose that the warnings in the list beneath are still unsolved. Is
> that correct?
> How critical is it to solve those warnings? If they are critical for the
> release, I want to give a helping hand to remove them (after all there are
> more than 900, the list below is a synopsis).
> Cheers,
>
> Kurt
>
> On 10 Dec 2013, at 17:30, Mitch Curtis  wrote:
>
> > https://codereview.qt-project.org/#change,65936
> > https://codereview.qt-project.org/#change,66052
> > https://codereview.qt-project.org/#change,66018
> > https://codereview.qt-project.org/#change,66061
> > https://codereview.qt-project.org/#change,66041
> >
> > You can see more by searching through gerrit. E.g.:
> >
> >
> https://codereview.qt-project.org/#q,owner:Friedemann.Kleint%2540digia.com+message:warnings,n,z
> >
> > or Git:
> >
> > git submodule foreach "git log | grep warning ||:"
> >
> > Patches are welcome. :)
> >
> > On 12/10/2013 11:40 AM, Kurt Pattyn wrote:
> >> Hi,
> >>
> >> is anybody aware of the many warnings of Qt5 release build for Windows?
> >> For instance the build
> >> win32-msvc2010_developer-build_qtnamespace_Windows_7 (build log:
> >>
> http://testresults.qt-project.org/ci/Qt5_release_Integration/build_00286/win32-msvc2010_developer-build_qtnamespace_Windows_7/log.txt.gz
> ),
> >> contains the following warnings: ...
> >>
> >> Cheers,
> >>
> >> Kurt
> >>
> >>
>



-- 
http://www.qiliang.net
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Wiki: 3rd party in Qt

2013-11-20 Thread Liang Qi
Hi, all,

I just spent some time to gather the information of 3rd party in Qt(5).

http://qt-project.org/wiki/Third_Party_In_Qt

Please help to update or maintain it.

Maybe there is a legal issue about wintab, more details in their webpage:
http://www.pointing.com/Wintab.html

Regards,
Liang
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Asking for review: webp support in qtimageformats

2013-11-08 Thread Liang Qi
Hi, all,

Just see many people are interest in JP2 and ICNS things. I want to ask for
review about webp support in qtimageformats again. There are changes
available since May and June,

https://codereview.qt-project.org/54689
https://codereview.qt-project.org/54690
https://codereview.qt-project.org/54691
https://codereview.qt-project.org/56026

Best Regards,
Liang

-- 
http://www.qiliang.net
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Qt-5.1, qglobal.h and PIC detection

2013-11-05 Thread Liang Qi
On Wednesday 06 November 2013 12:17:56 Christian Gagneraud wrote:
> Hi,
>
> I'm using CLang build-analize tool, and when I switched from Qt 4.8 to
> Qt 5.1 (insalled from Qt project's download area), I got a Qt #error,
> basically the code is built with -fPIC, but CLang doesn't define a PIC
> macro, so the build fails due to a check in qglobal.h (see details below).
> ...

That's a bug in scan-build script, already fixed in clang upstream.  More
details in
https://bugreports.qt-project.org/browse/QTBUG-33698

Regards,
Liang

-- 
http://www.qiliang.net
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Running qtbase auto tests on reference device.

2013-10-24 Thread Liang Qi
Haven't worked on CI things for years. Looks like I missed sth here.

You could find(git grep) "TESTRUNNER" in qtqa repo,
https://github.com/qtproject/qtqa . You could get an xml result file for
each auto test, then use some script to gather them and generate full
report.

But I really don't know the details about how those parts worked in current
CI system. The QA or CI guys could give more details.

Regards,
Liang



On 24 October 2013 15:27, Liang Qi  wrote:

> Not sure how those auto tests work on android and ios these days.
>
> But in Qt 4 with Symbian ages, we have a tool, runonphone, which could
> deploy application and relative resources to devices and run it on device,
> if I don't remember wrong.
>
> https://github.com/qtproject/qt/tree/4.8/tools/runonphone
>
> BTW, there is another tool for wince, cetest.
>
> https://github.com/qtproject/qt/tree/4.8/tools/qtestlib/wince/cetest
>
> And in mkspecs/features/testcase.prf file, you have a TESTRUNNER to
> control how to run the tools like above runonphone. Then "make check" in
> tests/auto is enough for you.
>
> https://github.com/qtproject/qt/blob/4.8/mkspecs/features/testcase.prf
>
> Regards,
> Liang
>
>
>
> On 23 October 2013 22:50, Tomasz Olszak  wrote:
>
>> Hi,
>> I wanted to run qtbase auto tests on Tizen device. I googled a little but
>> didn't find any relevant howto so I assumed that I cross compile tests and
>> copy to device. I created rpm with Qt tests and ran them one by one with
>> shell script. Is it accepted approach or perhaps there is other standard
>> way of running tests on platform that they are not built on?
>>
>> I am asking because I noticed e.g. that some tests depends that they are
>> executed directly from test executable directory.
>>
>> --
>> regards ,
>> Tomasz Olszak
>>
>>
>> ___
>> Development mailing list
>> Development@qt-project.org
>> http://lists.qt-project.org/mailman/listinfo/development
>>
>>
>
>
> --
> http://www.qiliang.net
>



-- 
http://www.qiliang.net
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Running qtbase auto tests on reference device.

2013-10-24 Thread Liang Qi
Not sure how those auto tests work on android and ios these days.

But in Qt 4 with Symbian ages, we have a tool, runonphone, which could
deploy application and relative resources to devices and run it on device,
if I don't remember wrong.

https://github.com/qtproject/qt/tree/4.8/tools/runonphone

BTW, there is another tool for wince, cetest.

https://github.com/qtproject/qt/tree/4.8/tools/qtestlib/wince/cetest

And in mkspecs/features/testcase.prf file, you have a TESTRUNNER to control
how to run the tools like above runonphone. Then "make check" in tests/auto
is enough for you.

https://github.com/qtproject/qt/blob/4.8/mkspecs/features/testcase.prf

Regards,
Liang



On 23 October 2013 22:50, Tomasz Olszak  wrote:

> Hi,
> I wanted to run qtbase auto tests on Tizen device. I googled a little but
> didn't find any relevant howto so I assumed that I cross compile tests and
> copy to device. I created rpm with Qt tests and ran them one by one with
> shell script. Is it accepted approach or perhaps there is other standard
> way of running tests on platform that they are not built on?
>
> I am asking because I noticed e.g. that some tests depends that they are
> executed directly from test executable directory.
>
> --
> regards ,
> Tomasz Olszak
>
>
> ___
> Development mailing list
> Development@qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>


-- 
http://www.qiliang.net
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] Some information about qt-labs projects from gitorious and gerrit

2013-06-30 Thread Liang Qi
http://qt-project.org/wiki/Category:Qt-Labs-Projects

Welcome to update.

| Gitorious | Gerrit | Project Name | Notes |
| * |  | wolfenqt |  |
| * |  | graphics-dojo |  |
| * | * | jom | Active? last update 5 months ago |
|  | * | jira2gv |  |
| * |  | itemviews-ng |  |
| * | * | qtscriptgenerator | last update Jan. 23, 2012 |
| * |  | qtscript-remote-debugging |  |
| * |  | scxml |  |
| * |  | qtestlib-tools |  |
| * |  | segmentedbutton |  |
| * |  | webclient |  |
| * | * | messagingframework | Active |
| * |  | widgets-ng |  |
| * |  | mobile-demos |  |
| * |  | qtspotify |  |
| * |  | bm |  |
| * |  | qt3d |  |
| * |  | webscraps |  |
| * |  | nacl |  |
| * |  | modelviewer |  |
| * |  | devdays-windowsystem-server |  |
| * |  | devdays-graphicssystem-plugin |  |
| * |  | maemo5-homescreen |  |
| * |  | opencl |  |
| * |  | coroutine |  |
| * |  | doxygen2qthelp |  |
| * |  | doctools |  |
| * |  | simulator |  |
| * |  | remotecontrolwidget |  |
| * |  | qtuitest |  |
| * |  | systemtests |  |
| * |  | qmlogre |  |
| * |  | qtjambi-awtbridge |  |
| * |  | simplegl |  |
| * |  | symbian-overlay |  |
| * |  | qml-object-model |  |
| * |  | qmlcanvas | graduated to qt5 |
| * | * | vstools | Active |
| * | * | gimp-qmlexporter | last update Jul. 05, 2010 |
| * |  | qml-gesturearea |  |
| * |  | qml-gestures-examples |  |
| * |  | scene-graph | graduated to qt5 |
| * | * | photoshop-qmlexporter | last update Dec. 16, 2010 |
| * |  | qt-autotester |  |
| * |  | kineticscroller |  |
| * | * | qtest-qml | Active |
| * |  | qml-toucharea |  |
| * |  | qtmodularization | graduated to qt5 |
| * |  | qt-compositor |  |
| * |  | qtscript-browser-env |  |
| * |  | qml1-shadersplugin |  |
| * |  | devscripts |  |
| * | * | qml-presentation-system | Active, last update May 15, 2013 |
| * |  | scene-graph-demo |  |
| * |  | qtcollator |  |
| * |  | qwebchannel |  |
| * |  | devnet-examples |  |
| * | * | qtaddonmimetype | last update Sep. 19, 2011 |
| * |  | meespot | last update May 21, 2012 |
| * |  | qtgraphicaleffects | graduated to qt5 |
| * |  | bm2 |  |
| * | * | qbs | Active |
| * |  | qt5-launch-demo |  |
| * | * | qtwebengine | Active |

-- 
http://www.qiliang.net
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


Re: [Development] Question about the missing projects in qt-solutions

2013-06-13 Thread Liang Qi
OK, I found a mirror of ftp.trolltech.com via google tonight, it is
http://ftp3.ie.freebsd.org/pub/ftp.trolltech.com/

And I create this change for the missing solutions based on the mirror:
https://codereview.qt-project.org/58895

Regards,
Liang

On 24 April 2013 12:05, Qi Liang wrote:

>  Hi, all,
>
>  Some friends in Chinese local qt forum started to talk about this issue.
>
>  Current qt-solutions repo:
>
> https://codereview.qt-project.org/#admin,project,qt-solutions/qt-solutions,info
> http://qt.gitorious.org/qt-solutions/qt-solutions/
>
>  But there are only 9 in total.
>
>  Based on the documentation, (someone mirrored the qt solutions for qt
> 4), it should be about 38.
> http://docs.huihoo.com/qt/solutions/4/
>
>  And digia still has the docs, but missing the main page for the
> directory, like
> http://doc.qt.digia.com/solutions/4/qtmmlwidget/index.html
>
>  I guess nokia transfered all qt solutions to digia. Lars, could you
> confirm that?
>
>  If so, could we put them back to qt-solutions repo?
>
>  Regards,
> Liang
>


-- 
http://www.qiliang.net
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


<    1   2