Re: [Interest] Strange behaviour of QByteArray reserve/reallocation mechansim

2014-11-12 Thread Alejandro Exojo
El Monday 10 November 2014, Bernhard escribió: So after all I am not supposed to use clear() or operator=() after calling reserve()? That should be documented. Without that knowledge it obviously is impossible to use reserve() in a sensible way. There was a similar question on the development

[Interest] Qt5 and global configuration

2014-11-12 Thread René J . V . Bertin
One of the really nice things in Qt4 was that one could take the appearance parameters available for individual applications (style, default font but also the font replacement table) and set them on a system/user-wide basis via qtconfig. From what I understand these individual settings still

[Interest] QML Qt.createComponent() running faster with profiler attached

2014-11-12 Thread Tomasz Siekierda
Hi, I've got a problem: in the project I'm working on, we are loading a pretty big QML component using Qt.createComponent(). It takes about 500ms to load, which is a bit too much. Other panels in the same application load in about 80ms, so this difference is really noticeable. And the target

Re: [Interest] Strange behaviour of QByteArray reserve/reallocation mechansim

2014-11-12 Thread Bernhard
Ok, thanks a lot for the answer! Thanks also to Bo! I summarized the results and added them as an answer to the original SO thread where hopefully a lot of people can find them without going through the pain I had: http://stackoverflow.com/a/26886634/1421332 I also will have a look into the

[Interest] Qt Quick 5.3.2 wheel event cascade

2014-11-12 Thread Jérôme Godbout
Hi, I posted to the forum and been ask to forward this on the mailing list. Maybe someone can shed some light on the new behavior for the scrollwheel and the Qt Quick Controls. Here's the forum link: http://qt-project.org/forums/viewthread/48228/ This behavior changed from 5.3.0 (version we are

[Interest] Proposed Share Dialog for mobile platforms

2014-11-12 Thread lloyd konneker
Does there exist a 'Share Dialog' for Qt? The dialog on the mobile platforms that you see when you push the 'Share' button. Basically it lists all the applications that can act on the mimedata your app provides. It seems like this is a relatively new (and changing, with iOS8) GUI notion for

Re: [Interest] Proposed Share Dialog for mobile platforms

2014-11-12 Thread Brian Dentino
I’ve done some work on this idea for some of my own apps: https://github.com/bdentino/Qtino.SharingKit https://github.com/bdentino/Qtino.SharingKit It’s basically a reusable qml plugin that activates a native sharing dialog, supporting Android and iOS. Support is fairly limited right now in

Re: [Interest] Qt5 and global configuration

2014-11-12 Thread Thiago Macieira
On Wednesday 12 November 2014 12:18:02 René J.V. Bertin wrote: One of the really nice things in Qt4 was that one could take the appearance parameters available for individual applications (style, default font but also the font replacement table) and set them on a system/user-wide basis via

Re: [Interest] Qt5 and global configuration

2014-11-12 Thread Jérôme Godbout
In the same line about the style, I was wondering the same thing to set a global style for a particular widgets a little while ago: http://qt-project.org/forums/viewthread/45862/ Would have been nice to avoid setting style to each controls individualy. The only things I see is making a singleton

Re: [Interest] Qt5 and global configuration

2014-11-12 Thread René J . V . Bertin
On Wednesday November 12 2014 12:46:02 Thiago Macieira wrote: 1) application self-containing: we don't want to open files we shouldn't, especially on more locked-down platforms like OS X ?? Why would Qt (apps) not be able to open Qt configuration files? Thank goodness OS X hasn't yet become

Re: [Interest] Qt5 and global configuration

2014-11-12 Thread Thiago Macieira
On Wednesday 12 November 2014 23:10:49 René J.V. Bertin wrote: On Wednesday November 12 2014 12:46:02 Thiago Macieira wrote: 1) application self-containing: we don't want to open files we shouldn't, especially on more locked-down platforms like OS X ?? Why would Qt (apps) not be able to

Re: [Interest] Qt5 and global configuration

2014-11-12 Thread René J . V . Bertin
On Wednesday November 12 2014 16:12:42 Thiago Macieira wrote: Setting a default style is almost feasible on OS X by making the bundle executable a shell script that calls the binary with a style choice. Same cannot be said about the default font, though. Agreed, the -style option should

Re: [Interest] Qt5 and global configuration

2014-11-12 Thread Thiago Macieira
On Thursday 13 November 2014 01:46:56 René J.V. Bertin wrote: developer to use when writing the application, not meant to be used in production or, worse, be used by the user. Oh, horror, yes, the user using an option! I mean, we all know that only we developers know what's good for Joe

[Interest] QQmlApplicationEngine's rootObject() returns 0 objects count when trying to import of JavaScript file from Remote Server

2014-11-12 Thread ashish dabhade
Hi All, I'm trying to import a JavaScript file from a Remote Server in QML file as import QtQuick 2.3 import QtQuick.Window 2.2 import http://192.168.0.16/sample.js; as Remote Window { visible: true width: 360 height: 360 MouseArea { anchors.fill: parent