Re: [Development] Shall we turn on /utf-8 compiler option when build qt for Windows?

2017-01-30 Thread Liang Jian
https://codereview.qt-project.org/#/c/183817/ On Mon, Jan 30, 2017 at 4:42 PM, Marc Mutz wrote: > On Monday 30 January 2017 02:21:57 Thiago Macieira wrote: > > qCDebug(lcTuioSet) << "Processing SET for token " << classId << id > << " > > @ " << x << y << "∡" << angle <<

[Development] Shall we turn on /utf-8 compiler option when build qt for Windows?

2017-01-28 Thread Liang Jian
Start from qt-5.8 I can't build qt anymore under Windows(simplified chinese locale). Since there is a file src/plugins/generic/tuiotouch/qtuiohandler.cpp which contain non-latin-1 character, msvc2015 assume the source code's character set should be CP936 which make the complilation fail. I

Re: [Development] Backporting the "stop unloading plugins" change to 5.6

2016-10-16 Thread Liang Jian
5, 2016 at 11:48 PM, Thiago Macieira <thiago.macie...@intel.com > wrote: > Em sábado, 15 de outubro de 2016, às 15:33:53 PDT, Liang Jian escreveu: > > But I am still curious about that If we don't unload the plugin, will > > the destructor of the gobal object in it be calle

Re: [Development] Backporting the "stop unloading plugins" change to 5.6

2016-10-15 Thread Liang Jian
? If it is not called, what if the gobal object of the plugin hold some memory allocated from heap? On Sat, Oct 15, 2016 at 2:07 AM, Thiago Macieira <thiago.macie...@intel.com> wrote: > Em sexta-feira, 14 de outubro de 2016, às 16:08:27 PDT, Liang Jian > escreveu: > > I don't

Re: [Development] Backporting the "stop unloading plugins" change to 5.6

2016-10-14 Thread Liang Jian
think that are leaks but they will confuse memory leak detector), that is why I hope to introduce a method to disable this feature at runtime. On Fri, Oct 14, 2016 at 1:10 PM, Thiago Macieira <thiago.macie...@intel.com> wrote: > Em sexta-feira, 14 de outubro de 2016, às 09:11:48 CEST, L

Re: [Development] Backporting the "stop unloading plugins" change to 5.6

2016-10-13 Thread Liang Jian
Macieira <thiago.macie...@intel.com > wrote: > Em quinta-feira, 13 de outubro de 2016, às 22:00:35 CEST, Liang Jian > escreveu: > > Not unloading plugin is really a bad idea. > > That will make any memory leak detector report tons of leaks even > run a > > simplest

Re: [Development] Backporting the "stop unloading plugins" change to 5.6

2016-10-13 Thread Liang Jian
Not unloading plugin is really a bad idea. That will make any memory leak detector report tons of leaks even run a simplest qt widgets program. Find and fix 'real' memory leak will be much harder than before. On Thursday, October 13, 2016, Thiago Macieira

Re: [Development] [Qt-5.6] leak of QtSharedPointer::ExternalRefCountData objects

2015-11-18 Thread Liang Jian
I have submited a patch to fix this issue: https://codereview.qt-project.org/#/c/141311/ On Mon, Nov 16, 2015 at 11:01 PM, Liang Jian <jianlian...@gmail.com> wrote: > The allocated QV4::QObjectWrapper object hold a QPointer which track > 'instance', it seems that it should

Re: [Development] [Qt-5.6] leak of QtSharedPointer::ExternalRefCountData objects

2015-11-16 Thread Liang Jian
the QObjectWrapper object created before which will make the QPointer in it not destructed properly. On Sun, Nov 15, 2015 at 11:58 PM, Liang Jian <jianlian...@gmail.com> wrote: > After some further investigation I can now confirm that one of the > leak is caused by the following code in QQmlO

[Development] [Qt-5.6] leak of QtSharedPointer::ExternalRefCountData objects

2015-11-15 Thread Liang Jian
Hello everyone, I checkout qt 5.6 branch yesterday in my windows 10 x64 machine, I build it and run my program and see many leaks. Then I use C++ Memory Validator to find the source of the leaks, I can now confirm the leaked objects are QtSharedPointer::ExternalRefCountData which are created

Re: [Development] [Qt-5.6] leak of QtSharedPointer::ExternalRefCountData objects

2015-11-15 Thread Liang Jian
bjects; But the reason is still unknown On Sun, Nov 15, 2015 at 10:19 PM, Liang Jian <jianlian...@gmail.com> wrote: > Hello everyone, I checkout qt 5.6 branch yesterday in my windows 10 > x64 machine, I build it and run my program and see many leaks. Then I use C++ > Mem

Re: [Development] -Winconsistent-missing-override warning with latest Xcode and Qt 5.5

2015-07-02 Thread Liang Jian
Thanks for the reply. I think I have to modify the Qt header file to solve this issue. On Thu, Jul 2, 2015 at 3:09 PM, Bo Thorsen b...@vikingsoft.eu wrote: Den 01-07-2015 kl. 18:36 skrev Edward Sutton: Is there a work-around I could use in my Qt project file? Upgrade to 5.5.1.

Re: [Development] New Qt 5.4.1 snapshot available

2015-02-18 Thread Liang Jian
Can you merge https://codereview.qt-project.org/#/c/105855/ into 5.4.1 before 5.4.1 releaded. It fix a showstopper issue to run apps in Android 5.0+ On Wed, Feb 18, 2015 at 1:52 PM, Heikkinen Jani jani.heikki...@theqtcompany.com wrote: Hi all, We have new Qt 5.4.1 snapshot available:

[Development] Please take a look at QTBUG-41197 before releasing Qt5.3.2

2014-09-08 Thread Liang Jian
https://bugreports.qt-project.org/browse/QTBUG-41197 This is a severe issue we recently found under androind. Thanks! ___ Development mailing list Development@qt-project.org http://lists.qt-project.org/mailman/listinfo/development

[Development] How can I perfrom some image processing before record camera image to a video file?

2013-12-20 Thread Liang Jian
First I know I should have post this question in qt-interest, but each time I sent a mail to qt-inter...@qt-projct.org qt-inter...@qt-project.orgI will got a mail delivery failed message, so I have to post my question in this mailing list to seek for help: Recenty I am learning

[Development] How can I use a proxy to push change to codereview.qt-project.org?

2013-12-13 Thread Liang Jian
I used to be pushing changes to be code reviewed using the following command: git push ssh://jianlian...@codereview.qt-project.org:29418/qt/qtbaseHEAD:ref/for/stable That works fine before, but today after I type the command there is not any response for half an hour, I think this is

[Development] I can't build Qt5 of stable branch under linux

2013-03-23 Thread liang jian
I recently found that I can't build Qt5 of stable branch under linux, but dev branch is ok. I have a ubuntu 12.10 machine, I got the latest Qt5 code from git, the build command is as follows: ./configure -developer-build -opensource -confirm-license -no-gtkstyle -nomake examples

[Development] What is fastest way to checkout stable branch for every submodule for qt5 repository?

2012-12-21 Thread liang jian
I have an old clone of qt5 which have only master branch, to update this clone I use the following command: git pull git branch stable origin/stable git submodule foreach --recursive 'git checkout stable' The third command will fail since there is no stable branch in qtqa, I

[Development] [QT5] System fonts are not loaded in ubuntu 12.04

2012-05-05 Thread liang jian
I have built Qt 5 in ubuntu 12.04, The simplified chinese character can't be displayed. I found that in QBaseFontDatabase::popluateFontDatabase() the font path returned by fontDir() is /mnt/sda8/liang/qt5/qtbase/lib/fonts/ which is the path I built my Qt5, there are several fonts file in

[Development] Why there is no Change-Id when I commit in qt4.8?

2012-02-22 Thread liang jian
Hi, everyone, Recently I pushed two changes to Qt project for Qt5, I want them also be pushed to Qt4.8, so I change the code in my qt4 repository (cloned from gitorious.org), and try to commit it, To my surprise, the commit message doesn't contain the Change-Id (I have copy the commit-msg