Re: [Interest] DragDrop between different processes not working?

2014-12-16 Thread Wilhelm
Am 17.12.2014 um 08:48 schrieb Till Oliver Knoll: > >> Am 17.12.2014 um 08:29 schrieb Till Oliver Knoll >> : >> >> ... >> >> It has nothing to do with "across processes" per se > > Giving that a second thought I am not so sure anymore whether that works "out > of the box" (without further ado)

Re: [Interest] DragDrop between different processes not working?

2014-12-16 Thread Till Oliver Knoll
> Am 17.12.2014 um 08:29 schrieb Till Oliver Knoll > : > > ... > > It has nothing to do with "across processes" per se Giving that a second thought I am not so sure anymore whether that works "out of the box" (without further ado) with Qt. I'd expect it so for sure. Off course in order that

Re: [Interest] DragDrop between different processes not working?

2014-12-16 Thread Wilhelm
Am 17.12.2014 um 08:29 schrieb Till Oliver Knoll: > >> Am 17.12.2014 um 07:18 schrieb Wilhelm : >> >> Hi all, >> >> below is a stripped-down example for drag/drop. It follows the Qt >> examples. It works if I drag from the ListView widget to another widget >> (e.g. QTextEdit) of the same(!) proces

Re: [Interest] New connection syntax

2014-12-16 Thread André Somers
Thiago Macieira schreef op 16-12-2014 17:13: On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote: And my question is: is it ok to use QtPrivate::FunctionPointer in my classes? No. That's only permitted for code that is part of Qt itself (hosted on qt- project.org, part of qt.git) Isn't it

Re: [Interest] DragDrop between different processes not working?

2014-12-16 Thread Till Oliver Knoll
> Am 17.12.2014 um 07:18 schrieb Wilhelm : > > Hi all, > > below is a stripped-down example for drag/drop. It follows the Qt > examples. It works if I drag from the ListView widget to another widget > (e.g. QTextEdit) of the same(!) process. But it doesn't work if I drag > to another(!) process

[Interest] DragDrop between different processes not working?

2014-12-16 Thread Wilhelm
Hi all, below is a stripped-down example for drag/drop. It follows the Qt examples. It works if I drag from the ListView widget to another widget (e.g. QTextEdit) of the same(!) process. But it doesn't work if I drag to another(!) process - with the same programm or another, e.g. kate. So, obviou

[Interest] Tool to increase the Online Installer's download speed

2014-12-16 Thread Sze Howe Koh
Hi all, This post is mainly for those who have yet to get Qt 5.4. If you find that the Online Installer downloads slowly even though your internet connection is fast, then you have likely been assigned to a slow mirror. Use this tool to select a different mirror: https://github.com/JKSH/Qt

Re: [Interest] StackView issue

2014-12-16 Thread Nuno Santos
Hey Steve, Where is the spinner in the view hierarchy? Can you show some code or provide a minimal working example? Regards, Nuno > On 16/12/2014, at 20:27, VStevenP wrote: > > I am wondering if anyone the list has a good understanding of QML StackView > and could offer me some guidance on

[Interest] StackView issue

2014-12-16 Thread VStevenP
I am wondering if anyone the list has a good understanding of QML StackView and could offer me some guidance on a problem. A colleague recently changed my app's page load paradigm from using a QML Loader with asynchronous property set to true to using a QML StackView and its replace() method.

Re: [Interest] New connection syntax

2014-12-16 Thread Igor Mironchik
On Tue, 16 Dec 2014 21:04:03 +0300, Thiago Macieira wrote: > On Tuesday 16 December 2014 20:31:14 Igor Mironchik wrote: >> On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira >> >> wrote: >> > On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote: >> >> And my question is: is it ok to use

Re: [Interest] New connection syntax

2014-12-16 Thread Thiago Macieira
On Tuesday 16 December 2014 20:31:14 Igor Mironchik wrote: > On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira > > wrote: > > On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote: > >> And my question is: is it ok to use QtPrivate::FunctionPointer in my > >> classes? > > > > No. That's on

Re: [Interest] New connection syntax

2014-12-16 Thread Guido Seifert
Of course there is no license restriction on using QtPrivate::FunctionPointer. And of course it is permitted to use it. It is just not a very wise thing to do. Private namespace = no guarantees, can change with every minor update. Of course, if you have full control over your deployment, i.e. you

Re: [Interest] New connection syntax

2014-12-16 Thread Igor Mironchik
On Tue, 16 Dec 2014 19:13:14 +0300, Thiago Macieira wrote: > On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote: >> And my question is: is it ok to use QtPrivate::FunctionPointer in my >> classes? > > No. That's only permitted for code that is part of Qt itself (hosted on > qt- > proje

Re: [Interest] to -fno-exceptions or not ...

2014-12-16 Thread Thiago Macieira
On Tuesday 16 December 2014 17:37:02 René J.V. Bertin wrote: > Out of curiosity, what does building with -fexceptions (= without > -fno-exceptions) do to simple calls like QString() or QIcon()? Does it > introduce overhead there? Yes and no. QString() is inline, so the compiler can tell that it do

Re: [Interest] New connection syntax

2014-12-16 Thread Thiago Macieira
On Tuesday 16 December 2014 12:41:35 Igor Mironchik wrote: > And my question is: is it ok to use QtPrivate::FunctionPointer in my > classes? No. That's only permitted for code that is part of Qt itself (hosted on qt- project.org, part of qt.git) -- Thiago Macieira - thiago.macieira (AT) intel.c

Re: [Interest] [Development] Modifying QQmlFileSelector selector at runtime without Loader or Component

2014-12-16 Thread Jérôme Godbout
You may try to create the object dynamically based on the selector for the source and/or the properties. You could try Qt.createQmlObject() or Qt.createComponent() along createObject(). Your onSelectorChanged could delete previous instance if any and create a new one. https://qt-project.org/doc/qt-

Re: [Interest] New connection syntax

2014-12-16 Thread Igor Mironchik
Hi, On Tue, 16 Dec 2014 10:49:53 +0300, Igor Mironchik wrote: > > I.e. I want to have, for example, next method in my widget: > > Something * addSomething( QObject * receiver, PointerToMemberFunction > method ); > I've answered on the second question by myself. And now I have next code in

Re: [Interest] New connection syntax

2014-12-16 Thread Igor Mironchik
Hi, On Tue, 16 Dec 2014 10:55:03 +0300, Dmitry Volosnykh wrote: Igor, have you read "New Signal Slot Syntax in Qt 5" article (http://qt-project.org/wiki/New_Signal_Slot_Syntax)? It might shed light on some of your >questions. Thanks for your reply. But this article didn't answer on my