Re: [Development] List of available Qt mirrors

2017-05-16 Thread Ch';Gans
On 17 May 2017 at 01:36, Li Xu wrote: > hi, > > I got 4 mirrors from the link from China mainland, > > http://mirrors.ustc.edu.cn/qtproject/online/qtsdkrepository/windows_x86/root/qt/Updates.xml > (cn, prio 100) > http://mirrors.tuna.tsinghua.edu.cn/qt/online/qtsdkrepository/windows_x86/root/qt/Up

Re: [Development] Lack of base classes/interfaces? Q*, Q*F

2017-04-16 Thread Ch';Gans
On 17 April 2017 at 13:25, Jason H wrote: > I am wondering why all the Q* and Q*F classes (where $1 in [Rect, Point, > etc]) don't use an interface? > I recently moved some code from ints to floats, and I had to change far more > code than I should have > had to. > > My proposal is to change QR

Re: [Development] Does anyone know anything about QPolygon or QPainterPath? (QTBUG-60024)

2017-04-09 Thread Ch';Gans
On 10 April 2017 at 05:19, Thiago Macieira wrote: > https://bugreports.qt.io/browse/QTBUG-60024 > > All the commits in qpolygon.cpp or qpainterpath.cpp in the last 6 years are > either doc updates, licence updates, or simple fixes (remove "register", make > constructors explicit, etc.). > > This b

Re: [Development] Passing QSize, QPoint, QTime and other small structs by value

2017-04-07 Thread Ch';Gans
On 8 April 2017 at 03:21, Thiago Macieira wrote: > Em sexta-feira, 7 de abril de 2017, às 06:02:55 PDT, Lars Knoll escreveu: >> Those rules sound about right. We can do this nowadays, as x86 will become >> rather irrelevant for Qt 6 (where passing structs by reference would >> probably be better i

Re: [Development] Moving Qt's undo framework out of Qt Widgets

2017-04-05 Thread Ch';Gans
On 6 April 2017 at 00:02, Morten Sørvig wrote: > > >> On 5 Apr 2017, at 12:37, Oswald Buddenhagen wrote: >> >> On Wed, Apr 05, 2017 at 09:24:15AM +, Mitch Curtis wrote: >>> So, should this get its own module, and if so, can widgets depend on >>> it? >>> >> an own module just for that seems ov

Re: [Development] RFC: Containers member functions for algorithm

2017-03-24 Thread Ch';Gans
On 25 March 2017 at 07:00, Kevin Kofler wrote: > Michael Winkelmann wrote: >> The reason why STL is using free function is because it separates data >> structures (aka containers) and algorithms. >> A bad example what happens if you dont separate can be seen here: >> https://www.imagemagick.org/ap

Re: [Development] Problem loading plugins with gcc 4.9.2

2017-03-08 Thread Ch';Gans
On 9 March 2017 at 00:33, Alex Blasche wrote: > This is an ancient thread but just to keep this in mind (it certainly cost me > a day re-figuring this out). > > If you do Qt development for Android you are going to be hit by this. The > four most recent Android NDKs (11c, 12b, 13b & 14) are affe

Re: [Development] Documentation typo fixes

2017-02-23 Thread Ch';Gans
Hi guys, Who do I need to invite as reviewers for these typo fixes? https://codereview.qt-project.org/186292 Thanks, Chris On 8 February 2017 at 11:03, Ch'Gans wrote: > On 7 February 2017 at 23:18, Edward Welbourne wrote: > [...] >> >> Sze Howe Koh (7 February 2017

Re: [Development] Bug (and fix) in QGItem::itemChange() (?)

2017-02-16 Thread Ch';Gans
FYI, I've just created https://bugreports.qt.io/browse/QTBUG-58988. Regards, Chris On 16 February 2017 at 17:52, Ch'Gans wrote: > Hi there, > > Here is my use-case: > An item has "handles" child items, when the user moves around an handles, > the parent ite

Re: [Development] Bug (and fix) in QGItem::itemChange() (?)

2017-02-15 Thread Ch';Gans
Please find attached a simple demo: If you try to move the big green rect by dragging the small red rect, the big rect will goes "wild", using my proposed fixed, the big rect follows the mouse as you drag the small rect. Chris On 16 February 2017 at 17:52, Ch'Gans wrote: >

[Development] Bug (and fix) in QGItem::itemChange() (?)

2017-02-15 Thread Ch';Gans
Hi there, Here is my use-case: An item has "handles" child items, when the user moves around an handles, the parent item update it's geometry and position accordingly. Simple concept to let the user change an item geometry by dragging handles. Imagine, you're using a drawing application, you selec

Re: [Development] Documentation typo fixes

2017-02-07 Thread Ch';Gans
On 7 February 2017 at 23:18, Edward Welbourne wrote: [...] > > Sze Howe Koh (7 February 2017 04:35) replied: >> See http://wiki.qt.io/Branch_Guidelines (Note: Qt module repositories >> don't have a "master" branch) >> >> Right now, the branches that accept documentation fixes are: >> >> * 5.8 (sta

[Development] Documentation typo fixes

2017-02-06 Thread Ch';Gans
Hi there, It's been a while that I notice some typos here and there in Qt5 documentation (mainly qtbase), and i decided that i would start correcting them in the source code. Most of them are really straight forward, eg. in QGraphicsView::setTransform: "To simplify interation with items using a tr

Re: [Development] Calendar Systems proposal

2016-12-15 Thread Ch';Gans
On 16 December 2016 at 10:10, Sune Vuorela wrote: > On 2016-12-15, Soroush Rabiei wrote: >> 2.History >> > > Hi > > I would welcome more calendar systems. Personally I hope for french > revolutionary calendar. Because it is funny. > > I think you need to touch quite some of the 'inner bits' of d

Re: [Development] Please test Qt 5.6.2 final packages

2016-10-07 Thread Ch';Gans
On 8 October 2016 at 00:26, Jani Heikkinen wrote: > > Hi all, > > We have final Qt 5.6.2 packages here: > > Windows: http://download.qt.io/snapshots/qt/5.6/5.6.2/571/ > Linux: http://download.qt.io/snapshots/qt/5.6/5.6.2/505/ > Mac: http://download.qt.io/snapshots/qt/5.6/5.6.2/442/ > src: http://d

Re: [Development] How can I only select border not inside rectangle to select QGraphicsRectItem

2016-10-03 Thread Ch';Gans
On 4 October 2016 at 10:51, itviewer wrote: > Hi, > I draw a rectangle with QGraphicsRectItem. it only has a border and not > be filled. like this: > > when I click inside the rectangle,it will be selected,but I would like > only click on the border to select, not inside. > how can i get it? >

Re: [Development] Qt API review with clazy

2016-09-12 Thread Ch';Gans
On 12 September 2016 at 21:13, Mathias Hasselmann wrote: > Hello Chris, [...] > Besides clazy being blasting fast you are comparing apples with oranges. The > issues clazy blames are plain Qt usage bugs. Just the same kind of issues > the compiler reports for regular C++ already. Ideally the compi

Re: [Development] Qt API review with clazy

2016-09-12 Thread Ch';Gans
On 12 September 2016 at 21:13, Mathias Hasselmann wrote: > Hello Chris, > >> On 12 September 2016 at 19:06, Mathias Hasselmann >> wrote: >>> >>> Just that the approach of clang-tidy is fundamentally wrong: >> >> >> Hi Mathias, >> >> No offense, but you arguments are fundamentally wrong too. Your

Re: [Development] Qt API review with clazy

2016-09-12 Thread Ch';Gans
ou go this way, then why don't you always run your applications in profiling mode to make sure you don't introduce bottle-necks or memory leaks "as-you-go"? Well we all know the answer: Because it is way too slow. Chris. > Thanks, > Mathias > > Disclaimer: I a

Re: [Development] Qt API review with clazy

2016-09-11 Thread Ch';Gans
On 12 September 2016 at 10:34, Sergio Martins wrote: > On Sunday, 11 September 2016 21:43:46 WEST Jérémie Delaitre wrote: >> Can the same checks be implemented in clang-tidy instead of having yet >> another tool? clang-tidy now has boost specific checks so maybe they would >> also accept a Qt spec

Re: [Development] Notes on "Qt Build Systems" @ QtCon 2016

2016-09-07 Thread Ch';Gans
On 7 September 2016 at 01:47, Viktor Engelmann wrote: > > Am 06.09.2016 um 06:52 schrieb Ch'Gans: > > On 6 September 2016 at 16:20, Thiago Macieira > wrote: > > Which is, in itself, an argument: why learn yet another buildsystem? > > ... > > Why

Re: [Development] Notes on "Qt Build Systems" @ QtCon 2016

2016-09-07 Thread Ch';Gans
[Keeping discussion posted on ML] On 7 September 2016 at 20:08, Viktor Engelmann wrote: > Really? I haven't checked out Qbs yet, but that sounds like the build > system I was looking for. > > So maybe I don't have to write my own build tool after all :-D > Give it a try, but beware: Qbs is addic

Re: [Development] Notes on "Qt Build Systems" @ QtCon 2016

2016-09-05 Thread Ch';Gans
On 6 September 2016 at 16:20, Thiago Macieira wrote: > Em terça-feira, 6 de setembro de 2016, às 13:40:40 PDT, Ch'Gans escreveu: >> On 6 September 2016 at 01:52, Konstantin Tokarev wrote: >> > 05.09.2016, 16:38, "Kevin Kofler" : >> >> Andrew Knig

Re: [Development] Notes on "Qt Build Systems" @ QtCon 2016

2016-09-05 Thread Ch';Gans
On 6 September 2016 at 01:52, Konstantin Tokarev wrote: > 05.09.2016, 16:38, "Kevin Kofler" : >> Andrew Knight wrote: >>> * Quick survey: which build system do you use (raise of hands by ~40 >>> people) >>> - CMake ~70% >>> - qmake ~20% >>> - Qbs ~10% >> >> That basically says it all. :-) Ye

Re: [Development] Notes on "Qt Build Systems" @ QtCon 2016

2016-09-05 Thread Ch';Gans
On 5 September 2016 at 23:08, NIkolai Marchenko wrote: > Been using QBS for the last 6 months, transformed all projects to it(from > qmake). Never looked back. > It just clicks for me. Most everything seems logical (if poorly explained) > when you understand how to do it. I have switched quite a

Re: [Development] RHEL 7.2 added to Coin

2016-06-28 Thread Ch';Gans
BTW, is it just me or http://testresults.qt.io/ci/status/ has some problems: error fetching data from http://testresults.qt.io/cgi-bin/ci-api: error; Can't connect to 127.0.0.1:7181 (Connection refused); Can't connect to 127.0.0.1:7181 (Connection refused) LWP::Protocol::http::Socket: connect: Con

Re: [Development] API Change in QtRemoteObjects

2016-01-02 Thread Ch';Gans
Was going through the changes out of curiosity and found that: Is a '\n' is missing at line 51? See https://codereview.qt-project.org/#/c/144624/10/examples/RemoteObjects/ModelViewClient/main.cpp My 2 cents, Chris On 3 January 2016 at 06:51, Stottlemyer, Brett (B.S.) wrote: > Hello, > > For thos

Re: [Development] Setup QT creator for developing QT apps on wandboard-Error

2014-07-29 Thread Ch';Gans
On 29/07/14 18:44, Nilesh Kokane wrote: > Hi Christian, > > First of all thanks for your valuable reply. > > Based on your suggestion I pinged the board with the boards ip address > which i found it from the serial console > > $ ping 127.0.0.1 Hi Nilesh, 127.0.0.1 is your local network node, so

Re: [Development] Cross compile Qt5 for QtCreator -Problem

2014-07-26 Thread Ch';Gans
On 25/07/14 22:49, Nilesh Kokane wrote: > HelloChristian & Thiago > > First of all thanks for your suggestions. > > > I know the documentation you cited states to manually cross-build Qt5 to > setup QtCreator, but why don't you just "bitbake meta-toolchain-qt5"? > > can you please provide the URL f

Re: [Development] Support for your evaluation of Qt

2014-07-11 Thread Ch';Gans
On 11/07/14 18:50, Ziller Eike wrote: > > On Jul 11, 2014, at 6:21 AM, Christian Gagneraud wrote: > >> On 11/07/2014 11:22 a.m., Thiago Macieira wrote: >>> On Friday 11 July 2014 10:05:03 Christian Gagneraud wrote: Boot To Qt for Embedded Linux (Not talking about android here), is based

Re: [Development] Support for your evaluation of Qt

2014-07-11 Thread Ch';Gans
On 11/07/14 18:50, Ziller Eike wrote: > > On Jul 11, 2014, at 6:21 AM, Christian Gagneraud wrote: > >> On 11/07/2014 11:22 a.m., Thiago Macieira wrote: >>> On Friday 11 July 2014 10:05:03 Christian Gagneraud wrote: Boot To Qt for Embedded Linux (Not talking about android here), is based >>>

Re: [Development] Support for your evaluation of Qt

2014-07-10 Thread Ch';Gans
On 09/07/14 19:53, Andrea Barna wrote: > Hi, > > I am Andrea from Digia Qt, I have recently taken over the Qt > businessin your region. Hi Andrea, All the best for your new position! > I noticed that you downloaded the trial version of Qt last year and > Iwas wondering whether the evaluation wen

Re: [Development] Embedded (Linux) specific features

2014-02-15 Thread Ch';Gans
On 16/02/2014 9:46 AM, "Pau Garcia i Quiles" wrote: > > > > > On Sat, Feb 15, 2014 at 9:05 PM, Laszlo Papp wrote: > >> I wrote some C++ classes 1.5-2 years ago for some of the following features: >> >> * GPIO >> * Eeprom >> * Power management >> * LED >> * Hardware Monitoring >> * DMA >> * Real T