Re: [Development] Qt 5.12 new features

2018-08-16 Thread Mark Gaiser
On Thu, Aug 16, 2018 at 4:17 PM Vlad Stelmahovsky < vladstelmahov...@gmail.com> wrote: > A bit unclear about deprecating QQC1 > Since in QQC2 no TreeView and even no plans for this, isn't it a bit too > early to deprecate QQC1? > > thanks > > On Thu, Aug 16, 2018 at 4:02 PM Jason H wrote: > >> 5.

Re: [Development] Coding style for lambdas, particularly their open-brace

2017-08-18 Thread Mark Gaiser
On Fri, Aug 18, 2017 at 2:17 PM, Edward Welbourne wrote: > Hi all, > > We have a draft policy for lambdas at [0], in a section that begins with > > Note: This section is not an accepted convention yet. > This section serves as baseline for further discussions. > > That section is now a quarte

Re: [Development] [Qt-Quick] GridStar layout for QML

2017-05-28 Thread Mark Gaiser
On Sun, May 28, 2017 at 5:00 AM, Casey Sanchez wrote: > I've created a grid layout that I find to be more functional than the > default that is provided. > > For full documentation please see: > https://forum.qt.io/topic/64699/gridstar-layout > > The Git Repo can be found here: > https://github.c

Re: [Development] QHash iteration vs std::unordered_map

2017-04-16 Thread Mark Gaiser
On Sun, Apr 16, 2017 at 9:48 PM, Samuel Gaist wrote: > >> On 16 Apr 2017, at 17:53, Thiago Macieira wrote: >> >> Em domingo, 16 de abril de 2017, às 08:05:21 PDT, Mark Gaiser escreveu: >>> That again makes me wonder, why did Qt diverge from that? >> >>

Re: [Development] QHash iteration vs std::unordered_map

2017-04-16 Thread Mark Gaiser
On Sun, Apr 16, 2017 at 5:53 PM, Thiago Macieira wrote: > Em domingo, 16 de abril de 2017, às 08:05:21 PDT, Mark Gaiser escreveu: >> That again makes me wonder, why did Qt diverge from that? > > We didn't diverge. We never had that. The Qt style predates the Standard > Libr

Re: [Development] QHash iteration vs std::unordered_map

2017-04-16 Thread Mark Gaiser
in Qt6? > > > > > Le dim. 16 avr. 2017 à 15:57, Mark Gaiser a écrit : >> >> Hi, >> >> Take this simple example: >> >> QHash test = { >> {10, "aaa"}, >> {20, "bbb"}, >> {30, "ccc&quo

[Development] QHash iteration vs std::unordered_map

2017-04-16 Thread Mark Gaiser
Hi, Take this simple example: QHash test = { {10, "aaa"}, {20, "bbb"}, {30, "ccc"} }; for (const auto &entry: qAsConst(test)) { qDebug() << entry; } It returns: "aaa" "ccc" "bbb" and the std::unordered_map version: std::unordered_map test = { {10, "aaa"}, {20,

Re: [Development] QList

2017-04-05 Thread Mark Gaiser
On Wed, Apr 5, 2017 at 5:51 PM, Oswald Buddenhagen wrote: > On Sat, Mar 18, 2017 at 10:06:09AM +0200, Ville Voutilainen wrote: >> There's been a fair amount of talk about QList's future, so I'm curious: >> > so, now that the thread has finally died down, who volunteers to > summarize is conclusion

Re: [Development] QList

2017-03-20 Thread Mark Gaiser
On Sat, Mar 18, 2017 at 10:51 AM, Marc Mutz wrote: > On Saturday 18 March 2017 09:06:09 Ville Voutilainen wrote: >> There's been a fair amount of talk about QList's future, so I'm curious: >> >> 1) What are the problems with QList? > > See Konstantin's reply. For me, the performance issue is prett

Re: [Development] Branch request: wip/itemviews in qtdeclarative

2017-01-14 Thread Mark Gaiser
On Sat, Jan 14, 2017 at 5:06 PM, J-P Nurmi wrote: > Hi, > > Nice, looks great! It would be a very welcome contribution. We could > polish and add the missing bits in the WIP branch if you’re interested? I > haven’t thought about the exact details and requirements for > SortFilterProxyModel yet, b

Re: [Development] Use of Standard Library containers in Qt source code

2016-07-02 Thread Mark Gaiser
On Fri, Jul 1, 2016 at 8:36 PM, Thiago Macieira wrote: > Premises not under discussion: > > Qt source code is product and meant to be read by our users > Qt source code must be clean and readable > > The above is not up for debate. > > For some time now, we've had a flurry of chan

Re: [Development] commas in ctor-init-lists

2016-06-01 Thread Mark Gaiser
On Wed, Jun 1, 2016 at 2:41 PM, Marc Mutz wrote: > Hi, > > There seems to have been a silent underground move to uglify the Qt sources > , by using commas to introduce lines > . I have no idea where this came from > , but it looks butt > -ugly and it is in violation of http > ://wiki > .qt > .io

Re: [Development] Supported platforms for Qt 5.8

2016-05-30 Thread Mark Gaiser
If possible, please don't.. Unless there is a technical reason which would make dropping that version a requirement? I'm still on OSX 10.9 since i like it much more then the versions that came after it. On Thu, May 26, 2016 at 11:39 AM, Tuukka Turunen wrote: > Sounds good to me in principle, es

[Development] QVariant performance

2016-05-16 Thread Mark Gaiser
Hi, Just a fyi since the article might be of interest to some on this list. I just stumbled upon this github project [1]. The article and rationale for that project can be found here [2]. It claims to be a stack based "variant" implementation made for performance and as little overhead as possibl

Re: [Development] Security bulletin: Deprecating QRect

2016-04-01 Thread Mark Gaiser
On Fri, Apr 1, 2016 at 10:58 AM, Friedemann Kleint < friedemann.kle...@theqtcompany.com> wrote: > Hi, > > as discussed in the thread "Re: [Development] Fixing QRect::width() / > height()", QRect can be misused to trigger undefined behaviour. This > pattern has been observed in recent ransomware at

Re: [Development] About qfilesystemwatcher: what events?

2015-11-30 Thread Mark Gaiser
On Mon, Nov 30, 2015 at 11:07 AM, Stef Bon wrote: > Hi, > > I'm looking at qfilesystemwatcher. > It's not possible to configure what events it watches. For example: > > when watching a directory and an event happens on an entry in this > directory: it's changed. > The size for example is changed.

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] Container benchmark was HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

2015-07-17 Thread Mark Gaiser
On Fri, Jul 17, 2015 at 2:13 PM, André Somers wrote: > Mark Gaiser schreef op 17-7-2015 om 13:44: > > > > You can use std::find_if for that on any container. > > Works for C++11 and even before that. C++11 gives the benefit of using > > a lambda in the std::find_if

Re: [Development] Container benchmark was HEADS UP: Don't use QList, use Q_DECLARE_TYPEINFO

2015-07-17 Thread Mark Gaiser
On Fri, Jul 17, 2015 at 12:07 PM, André Somers wrote: > Marc Mutz schreef op 17-7-2015 om 12:21: > > > > What might also be a consideration when making a container like this, is > > that I find the key is often (not always of course) already part of the > > value data structure. For instance, if

Re: [Development] New Qt 4.8.7 snapshot build is available

2015-03-18 Thread Mark Gaiser
Does this qualify as a release blocker? https://bugreports.qt.io/browse/QTBUG-45100 Would be a shame if it missed the 4.8.7 release imho. On Mon, Feb 16, 2015 at 12:01 PM, Salovaara Akseli < akseli.salova...@theqtcompany.com> wrote: > Hi, > > > > New Qt 4.8.7 snapshot build is available > http:

Re: [Development] Proposal: Deprecating platforms in Qt 5.6 that don't support lambda

2015-02-20 Thread Mark Gaiser
On Fri, Feb 20, 2015 at 2:26 AM, Thiago Macieira wrote: > On Friday 20 February 2015 00:17:00 Mathias Hasselmann wrote: > > Use std::cref() if not sure about your container's constness. > > > > for (auto const& item : std::cref(c)) { ... } > > Do NOT do this. This will crash: > > for

Re: [Development] Mime database size

2015-02-17 Thread Mark Gaiser
On Tue, Feb 17, 2015 at 12:17 PM, Arnaud Vrac wrote: > On Tue, Feb 17, 2015 at 12:13 PM, Иван Комиссаров > wrote: > >> Hello, Arnaud Vrac. What tool should should generate binary cache on Mac >> OS/Windows? >> > > I think the update-mime-database binary can also be compiled for Windows > and Mac

Re: [Development] Why can't QString use UTF-8 internally?

2015-02-11 Thread Mark Gaiser
On Wed, Feb 11, 2015 at 12:33 AM, Thiago Macieira wrote: > On Tuesday 10 February 2015 23:17:21 Allan Sandfeld Jensen wrote: > > Maybe with C++11 we don't need QString that much anymore. Use std::string > > with UTF8 and std::u32string for UCS4. > > > > For Qt6 it would be worth considering how m

Re: [Development] New Qt 4.8.7 snapshot build is available

2015-01-30 Thread Mark Gaiser
On Wed, Jan 14, 2015 at 12:34 PM, Salovaara Akseli < akseli.salova...@theqtcompany.com> wrote: > Hi, > > "4.8.7-snapshot-2015-01-12-2-all-changes" file uploaded next to installers > ( > http://download.qt.io/snapshots/qt/4.8/4.8.7/2015-01-12-2/4.8.7-snapshot-2015-01-12-2-all-changes > ) to substit

Re: [Development] QTBUG-39477 - Enable QWidget based classes to be used in QML files

2015-01-19 Thread Mark Gaiser
On Sat, Jan 17, 2015 at 4:49 PM, Fanda Vacek wrote: > Hi, > > please, is there anybody with +2 who can make review for patch on this > bug (https://bugreports.qt.io/browse/QTBUG-39477)? > > It is marked as CRITICAL since 5.2 and patch is prepared for review. We > have 5.4.1 now and the bug is sti

Re: [Development] Adding new third party component three.js to Qt?

2015-01-09 Thread Mark Gaiser
On Fri, Jan 9, 2015 at 3:39 PM, Keränen Pasi wrote: > Hi Louai, > > The changes required to the library were originally quite large. But > thanks to the bug fixes in V4VM, maturing of Canvas3D and writing of some > wrapper classes to make e.g. Image loading look and smell like in HTML > land, the

Re: [Development] qt.io download-open-source page updated

2014-10-07 Thread Mark Gaiser
On Tue, Oct 7, 2014 at 9:13 AM, Anttila Janne wrote: > Hi, > > Thanks for your feedback related to qt.io opensource downloads page: > http://www.qt.io/download-open-source/ > > The page is now updated based on your comments - the major changes are: > 1. Automatic download is now completely removed

Re: [Development] www.qt.io/download-open-source is broken

2014-09-17 Thread Mark Gaiser
On Wed, Sep 17, 2014 at 9:37 PM, Kuba Ober wrote: > I’d like to personally scold whoever came up with the idea of starting the > “default” download at www.qt.io/download-open-source. I, for one, never > download the default installer since it was always subtly broken in one > fashion or another

Re: [Development] Requesting removal of qtjsondb

2014-09-17 Thread Mark Gaiser
On Wed, Sep 17, 2014 at 11:18 AM, Joerg Bornemann wrote: > On 17-Sep-14 11:13, Mark Gaiser wrote: > >> It was one of the modules i was looking forward to while Qt 5.0 was in >> development. It seemed to be quite promising at the time. > > > The alternative to removal

Re: [Development] Requesting removal of qtjsondb

2014-09-17 Thread Mark Gaiser
On Wed, Sep 17, 2014 at 11:05 AM, Joerg Bornemann wrote: > The qtjsondb module is dead. It doesn't build since ages and has zero > users. As civilized people we should bury our dead. > Therefore I'd like to request the removal of qtjsondb from Qt's mother > repository. > > Please raise any objecti

Re: [Development] New company name for Qt part of Digia and unified web site

2014-09-16 Thread Mark Gaiser
On Tue, Sep 16, 2014 at 2:11 PM, Knoll Lars wrote: > Hi everybody, > > I’m happy to tell you that we’re making significant progress towards the > new unified web page that I’ve first been talking about at the contributor > summit. We just launched the first stage of it on http://qt.io. For now > q

Re: [Development] HEADS UP: Qt 5.4 feature freeze - is frozen now

2014-08-10 Thread Mark Gaiser
On Sun, Aug 10, 2014 at 1:39 PM, Иван Комиссаров wrote: > I was thinking a bit and made a conclusion that "volume" is the exact word > for a mount point. > > Mac OS API uses "volume" to represent mounted disks > https://developer.apple.com/library/mac/documentation/CoreFoundation/Reference/CFURL

Re: [Development] HEADS UP: Qt 5.4 feature freeze - is frozen now

2014-08-10 Thread Mark Gaiser
On Sun, Aug 10, 2014 at 12:25 PM, Иван Комиссаров wrote: > Unfortunately, QStorageInfo is already used in Qt: > https://qt.gitorious.org/qt/qtsystems/source/f0ca4494ccca6f247ac2548041503f52c64b306d:src/systeminfo/qstorageinfo.h > > Originally, my class was called QDriveInfo, but that's not corrre

Re: [Development] HEADS UP: Qt 5.4 feature freeze - is frozen now

2014-08-10 Thread Mark Gaiser
On Sat, Aug 9, 2014 at 10:39 PM, Hausmann Simon wrote: > Hi, > > I sincerely hope that the class name will be reconsidered, given how generic > and therefore ambiguous the term volume is. Please consider making it more > specific by adding Storage or something else to the name and avoid that >

Re: [Development] How does QML versioning work?

2014-07-27 Thread Mark Gaiser
> Also, where are the changelogs for each new version of a QML module? > (e.g. what's the difference between QtQuick 2.2 and QtQuick 2.3?) I was going to say: "I would like to know that as well since it only seems to be visible in the actual git logs" But then i started looking at the new changes

Re: [Development] Qt High-dpi QtCS report and patch status (on hold)

2014-07-02 Thread Mark Gaiser
On Wed, Jul 2, 2014 at 2:33 PM, Sorvig Morten wrote: > A quick report from the contributors summit (I apologize for the delay and > sketchy notes): > > * I went though the general approach: > > - Setting the scale factor: > - platform plugin: QWindow::devicePixelRatio, > QScreen::deviceP

Re: [Development] Qt (5.3.0) QML on Mali 400 armsoc driver. Could it be broken?

2014-05-29 Thread Mark Gaiser
Op 30 mei 2014 01:39 schreef "Mark Gaiser" : > > Hi, > > I'm trying to run Qt5 QML examples on the odroid-x. That device has > the mail 400 gpu with the "armsoc" driver. > > I have a working graphical environment and i can run a OpenGL ES 2 > demo

[Development] Qt (5.3.0) QML on Mali 400 armsoc driver. Could it be broken?

2014-05-29 Thread Mark Gaiser
Hi, I'm trying to run Qt5 QML examples on the odroid-x. That device has the mail 400 gpu with the "armsoc" driver. I have a working graphical environment and i can run a OpenGL ES 2 demo benchmark (non Qt) glmark2-es2. That seems to be working just fine. However, if i try to run qmlscene (or qml

Re: [Development] Question about Qt's future

2014-04-27 Thread Mark Gaiser
On Sun, Apr 27, 2014 at 10:37 PM, Thiago Macieira wrote: > Em dom 27 abr 2014, às 12:55:58, Peter Kümmel escreveu: >> Having imperative code on the JS side is also the root of the rejection of >> QML for many C++ developers. If QML would have been just a improved .ui >> nobody would have complaine

Re: [Development] Qt Quick Controls Calendar

2014-02-12 Thread Mark Gaiser
On Wed, Feb 12, 2014 at 2:12 PM, Mitch Curtis wrote: > On 01/17/2014 05:34 PM, Mitch Curtis wrote: >> On 12/06/2013 02:02 PM, Mitch Curtis wrote: >>> Hello. >>> >>> At the beginning of this year I started work on a Calendar for Qt Quick >>> Controls as a sort of side project. After removing the "W

Re: [Development] QtQuick: Drag pixmap

2014-01-29 Thread Mark Gaiser
On Tue, Jan 28, 2014 at 11:32 PM, Alan Alpert <4163654...@gmail.com> wrote: > On Tue, Jan 28, 2014 at 1:25 PM, Mark Gaiser wrote: >> On Tue, Jan 28, 2014 at 8:28 PM, Alan Alpert <4163654...@gmail.com> wrote: >>> On Wed, Jan 22, 2014 at 10:42 AM, Mark Gaiser wrote: &

Re: [Development] QtQuick: Drag pixmap

2014-01-29 Thread Mark Gaiser
On Tue, Jan 28, 2014 at 8:28 PM, Alan Alpert <4163654...@gmail.com> wrote: > On Wed, Jan 22, 2014 at 10:42 AM, Mark Gaiser wrote: >> On Wed, Jan 22, 2014 at 12:11 AM, Fabien Castan wrote: >>> Hi, >>> >>> Qt 5.2 adds the possibility to use drag&drop f

Re: [Development] QtQuick: Drag pixmap

2014-01-22 Thread Mark Gaiser
On Wed, Jan 22, 2014 at 12:11 AM, Fabien Castan wrote: > Hi, > > Qt 5.2 adds the possibility to use drag&drop from/to external applications. > To allows to drag an item from QML to an external application, we can't > simply set a target item, because we want to see this item ouside of the qml > wi

[Development] Does Qt support FreeSync and G-Sync?

2014-01-08 Thread Mark Gaiser
Hi, As you might (or might not) know, nvidia introduced g-sync which is going to be supported by some monitor vendors shipping monitors this year. AMD made a twist on that - smart as they are - by introducing their own "FreeSync" which they claim is just using the vesa specification. So no specia

Re: [Development] Qt Quick Controls Calendar

2014-01-07 Thread Mark Gaiser
On Tue, Jan 7, 2014 at 2:49 PM, Martin Klapetek wrote: > On Fri, Dec 6, 2013 at 3:08 PM, Mark Gaiser wrote: >> >> >> Below is my "feature" list that i'd like to have in that calendar. >> Since i have some experience in that area i will try to help

Re: [Development] Qt Quick Controls Calendar

2014-01-07 Thread Mark Gaiser
On Fri, Dec 27, 2013 at 4:15 PM, Sebastian Kügler wrote: > On Saturday, December 21, 2013 19:50:30 Mark Gaiser wrote: >> I hope some of the plasma folks can provide some feedback on the ideas >> proposed in this thread. > > Which ideas exactly? The thread is quite convolu

Re: [Development] Qt Quick Controls Calendar

2013-12-27 Thread Mark Gaiser
On Fri, Dec 27, 2013 at 4:15 PM, Sebastian Kügler wrote: > On Saturday, December 21, 2013 19:50:30 Mark Gaiser wrote: >> I hope some of the plasma folks can provide some feedback on the ideas >> proposed in this thread. > > Which ideas exactly? The thread is quite convolu

Re: [Development] Qt Quick Controls Calendar

2013-12-22 Thread Mark Gaiser
he intention anyway. Can you be more specific about the bugs? Before we turn this into "bug reporting", i'd really like feedback on the proposed ideas. I simply can't imagine that my suggestion is spot on.. > > Regards, > Konstantin > > > 2013/12/21 Mark G

Re: [Development] Qt Quick Controls Calendar

2013-12-21 Thread Mark Gaiser
On Fri, Dec 6, 2013 at 4:11 PM, Mitch Curtis wrote: > On 12/06/2013 03:08 PM, Mark Gaiser wrote: >> >> On Fri, Dec 6, 2013 at 2:02 PM, Mitch Curtis >> wrote: >>> >>> Hello. >>> >>> At the beginning of this year I started work on a Cal

Re: [Development] Qt Quick Controls Calendar

2013-12-06 Thread Mark Gaiser
On Fri, Dec 6, 2013 at 2:02 PM, Mitch Curtis wrote: > Hello. > > At the beginning of this year I started work on a Calendar for Qt Quick > Controls as a sort of side project. After removing the "WIP" from the > commit message, I got some feedback from developers who either a) had > also wrote a Ca

Re: [Development] OpenGL drivers

2013-12-04 Thread Mark Gaiser
On Wed, Dec 4, 2013 at 12:37 PM, Mitch Curtis wrote: > On 12/04/2013 11:47 AM, Sletta Gunnar wrote: >> QWidget has the exact opposite problem. Layouts, styles and rendering >> happens in pixel units while fonts are sized in point size. This is also a >> problem when moving between platfoms as th

Re: [Development] Can the "hidden" QML properties please be documented?

2013-12-02 Thread Mark Gaiser
On Mon, Dec 2, 2013 at 10:06 AM, Smith Martin wrote: > For a QML type in a .qml file, qdoc reports an error if it sees a QML > property it thinks should be in the public API for that QML type and there is > no \qmlproperty comment immediately preceding that property in the .qml file. > > But for

Re: [Development] Can the "hidden" QML properties please be documented?

2013-12-01 Thread Mark Gaiser
On Sun, Dec 1, 2013 at 11:09 AM, Nurmi J-P wrote: > > > On 01 Dec 2013, at 00:42, Mark Gaiser wrote: > >> Hi, >> >> Recently i was searching for a way to influence the "dragDistance" in >> QML. The documentation (i even looked at dev snapshot docs

[Development] Can the "hidden" QML properties please be documented?

2013-11-30 Thread Mark Gaiser
Hi, Recently i was searching for a way to influence the "dragDistance" in QML. The documentation (i even looked at dev snapshot docs) didn't provide any clue, but the code did. Turns out there is a hidden property: drag.threshold (it is underlined in red in QtCreator, but works just fine!). For

Re: [Development] OpenGL drivers

2013-11-30 Thread Mark Gaiser
On Fri, Nov 29, 2013 at 7:01 PM, Thiago Macieira wrote: > On sexta-feira, 29 de novembro de 2013 12:27:44, Sletta Gunnar wrote: >> So, I'm asking that if you encounter issues with flickering, crashes, bad >> rendering and similar, help us track which things are problematic by filing >> a bugreport

Re: [Development] QInotifyFileSystemWatcherEngine might have incomplete data?

2013-11-18 Thread Mark Gaiser
On Sun, Nov 17, 2013 at 9:23 PM, Mark Gaiser wrote: > On Sun, Nov 17, 2013 at 9:20 PM, Mark Gaiser wrote: >> On Sun, Nov 17, 2013 at 8:03 PM, Olivier Goffart wrote: >>> On Sunday 17 November 2013 19:07:48 Mark Gaiser wrote: >>> >>>> 4. GDB (or whatever y

Re: [Development] QInotifyFileSystemWatcherEngine might have incomplete data?

2013-11-17 Thread Mark Gaiser
On Sun, Nov 17, 2013 at 9:20 PM, Mark Gaiser wrote: > On Sun, Nov 17, 2013 at 8:03 PM, Olivier Goffart wrote: >> On Sunday 17 November 2013 19:07:48 Mark Gaiser wrote: >> >>> 4. GDB (or whatever you used) should hit the bearkpoint. Now inspace >>> the "ev

Re: [Development] QInotifyFileSystemWatcherEngine might have incomplete data?

2013-11-17 Thread Mark Gaiser
On Sun, Nov 17, 2013 at 8:03 PM, Olivier Goffart wrote: > On Sunday 17 November 2013 19:07:48 Mark Gaiser wrote: > >> 4. GDB (or whatever you used) should hit the bearkpoint. Now inspace >> the "event" members (name specifically). It's empty while it shouldn&#x

[Development] QInotifyFileSystemWatcherEngine might have incomplete data?

2013-11-17 Thread Mark Gaiser
Hi, I'm trying to make my first little steps in making a Qt patch to implement a: signal created(const QString& path) because that would allow you to know which files get created in a folder that is being watched. KDirWatch has that feature, QFileSystemWatcher doesn't. However, when trying to i