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

2014-12-17 Thread Till Oliver Knoll
> Am 17.12.2014 um 22:45 schrieb Wilhelm : > >> ... > > I can confirm that it works with Qt 5.3.2 (linux). I can drag from my > test-application to another instance or to e.g. kate, etc ... That's > good news. > > So, what todo with Qt 5.4.0? > Any Workarounds? I am glad that you could track d

Re: [Interest] [Qt-iOS] How can I linked to libjpeg-turbo?

2014-12-17 Thread Liang Jian
Finally I solved this issue by build libjpeg-turbo with jpeg v8 simulation (add --with-jpeg8 when configure) On Wed, Dec 17, 2014 at 10:10 PM, Liang Jian wrote: > > I will try it, thanks. > > On Wed, Dec 17, 2014 at 10:03 PM, René J.V. wrote: >> >> On Wednesday December 17 2014 21:21:29

[Interest] setTimeout/asynchronous JS woes

2014-12-17 Thread Attila Csipa
Hi, I'm trying to integrate a few JS libs into my QMLs, and am running into a few issues with the JS feature set, namely a missing setTimeout (normally a part of the window object). Now, this can be worked around, but it seems like a massive overkill 1. It can be simulated with Timer {}, but...

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

2014-12-17 Thread Wilhelm
Am 17.12.2014 um 12:41 schrieb Michael Sué: > The problem seems to be a bug for LINUX in Qt 5.4.0, the (exact same) code > works it still works in Qt 5.3.1. I can confirm that it works with Qt 5.3.2 (linux). I can drag from my test-application to another instance or to e.g. kate, etc ... That's g

Re: [Interest] Qt concurrency memory model C++11

2014-12-17 Thread Thiago Macieira
On Wednesday 17 December 2014 11:14:39 Frank Meffert wrote: > Hey Qt folks, > > I’ve got a general question on Qt’s implementation of concurrency (i.e. > QThread et al.). > The new C++ standard introduces a whole new way of concurrency, > incorporating a new memory model making it unnecessary to u

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

2014-12-17 Thread Thiago Macieira
On Wednesday 17 December 2014 11:55:21 René J.V. Bertin wrote: > >QIcon() isn't inline and neither is it marked as noexcept. Therefore, the > >compiler must add surrounding EH code so that any locals you have in the > >context where that QIcon was created can be destructed. > > And QIcon() is part

Re: [Interest] New connection syntax

2014-12-17 Thread Thiago Macieira
On Wednesday 17 December 2014 08:35:33 André Somers wrote: > 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 cod

Re: [Interest] QtQuickControls Slider and multitouch

2014-12-17 Thread Nuno Santos
Hi Shawn, First of all thanks for your reply. As far as I understood, there are a couple of patches ready to integrate and I could probably integrate them myself on my current Qt. If that is correct, I really don’t want to change my default Qt behaviour because, otherwise I would need to ensur

Re: [Interest] QML innershadow

2014-12-17 Thread hualet
Hi Buti, maybe the proper way to achieve the same effect is like this: import QtQuick 2.0 import QtGraphicalEffects 1.0 Item { id: root width: 300 height: 300 Item { id: src anchors.fill: parent Rectangle { id: myRectangle anchors.centerIn

Re: [Interest] [Qt-iOS] How can I linked to libjpeg-turbo?

2014-12-17 Thread Liang Jian
I will try it, thanks. On Wed, Dec 17, 2014 at 10:03 PM, René J.V. wrote: > > On Wednesday December 17 2014 21:21:29 Liang Jian wrote: > > >The second way require modification of libjpeg-turbo ( maybe remove > the > >entire old libjpeg style API ) which is beyond me. > > It's really not d

Re: [Interest] Virtual keyboard

2014-12-17 Thread Helmut Mülner
> I have a virtual keyboard installed (Hot Virtual Keyboard) on Windows7. > I use qt-opensource-windows-x86-msvc2013-5.4.0. > In Qt Widget programs (e.g. from examples) the keyboard works as expected: > When I click into an editable text field, the keyboard pops up. > But this does not work

Re: [Interest] [Qt-iOS] How can I linked to libjpeg-turbo?

2014-12-17 Thread Liang Jian
First of all, thank you for the reply! libjpeg-turbo uses NEON instruction to accelerate decoding, it should give significant performance boost. And since QImage will decode jpeg file into ARGB pixel format which will introduce YUV-->RGB color space conversion, it is slow to do it in CPU. T

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

2014-12-17 Thread Wilhelm
Am 17.12.2014 um 12:41 schrieb Michael Sué: > The problem seems to be a bug for LINUX in Qt 5.4.0, the (exact same) code > works it still works in Qt 5.3.1. Ok, thanks for testing this. Is there a workaround for 5.4.0? -- Wilhelm w.me...@unix.net ___

[Interest] QML innershadow

2014-12-17 Thread Federico Buti
Hi all, last day we come up with a strage behaviour, or at least, what it seems a strange behaviour to us. Following the documentation for InnerShadow QML type it is stated that: "Note: It is not supported to let the effect include itself, for instance by setting source to the effect's parent."

Re: [Interest] QtQuickControls Slider and multitouch

2014-12-17 Thread Rutledge Shawn
On 17 Dec 2014, at 12:35, Nuno Santos wrote: > Hi, > > I have just stumble on the lack of multitouch support for the Slider element > in Quick Controls. > > I can’t interact with more than one slider at once using the Slider element. > > I had my own version of Slider using a Multitouch area

Re: [Interest] [Qt-iOS] How can I linked to libjpeg-turbo?

2014-12-17 Thread René J . V . Bertin
On Wednesday December 17 2014 20:00:30 Liang Jian wrote: > Wrong JPEG library version: library is 62, caller expects 80 > > I guess this is because qt library shipped in iOS are static libraries > and Qt itself will also link against libjpeg, and if I specify -lturbojpeg > in my .pro file, th

[Interest] TableView focus proxying

2014-12-17 Thread Jb Hubert
Hello, I am trying go give active focus on a TextInput belonging to a delegate item of a TableView. Here is a minimal code for the delegate: // MyClickableWidget.qml import QtQuick 2.3 FocusScope { id: scope property alias text: label.text //FocusScope needs to bind to visual pro

[Interest] [Qt-iOS] How can I linked to libjpeg-turbo?

2014-12-17 Thread Liang Jian
My project use Qt 5.4.0, Some part of my app will decode jpeg file to YUV buffer, to achieve this with fast speed I choose libjpeg-turbo(I use the prebuilt iOS version 1.3.1). It works well in Windows and OSX, but failed in iOS. The app fail to launch with the following message: Wrong JPEG lib

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

2014-12-17 Thread Michael Sué
The problem seems to be a bug for LINUX in Qt 5.4.0, the (exact same) code works it still works in Qt 5.3.1. -Michael ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] QtQuickControls Slider and multitouch

2014-12-17 Thread Nuno Santos
Hi, I have just stumble on the lack of multitouch support for the Slider element in Quick Controls. I can’t interact with more than one slider at once using the Slider element. I had my own version of Slider using a Multitouch area and it was working great. I have now switch to Slider from Qui

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

2014-12-17 Thread Michael Sué
Hi, > Yes, I did that. But the mimeData is empty ... I just checked on my Linux machines: The (exact same) code that works on WINDOWS (drag and drop between different instances of my program) does not work (or better no longer work) on LINUX. Thank you for pointing this out to me :-) I will c

[Interest] Virtual keyboard

2014-12-17 Thread Helmut Mülner
I have a virtual keyboard installed (Hot Virtual Keyboard) on Windows7. I use qt-opensource-windows-x86-msvc2013-5.4.0. In Qt Widget programs (e.g. from examples) the keyboard works as expected: When I click into an editable text field, the keyboard pops up. But this does not work in QML programs

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

2014-12-17 Thread Wilhelm
Am 17.12.2014 um 11:17 schrieb Michael Sué: > You may need to override the dragEnterEvent, dragMoveEvent etc. functions of > the accepting widget Yes, I did that. But the mimeData is empty ... > - Michael. > > > > ___ > Interest mailing list > Inter

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

2014-12-17 Thread Wilhelm
Am 17.12.2014 um 10:52 schrieb Jason H: > It's been a while but I've dragged content out of browser (Firefox) into a Qt > app. It works, at least back in Qt 4.x. Works here too ... the other way is the problem. > > You have to enable DnD events. Your app won't respond to them otherwise. What d

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

2014-12-17 Thread Wilhelm
Am 17.12.2014 um 10:44 schrieb Till Oliver Knoll: > >> Am 17.12.2014 um 08:57 schrieb Wilhelm : >> >>> ... >>> >>> But just to rule out the usual suspects: does drag and drop "in general" >>> work with your current Window Manager" (in applications where you /know/ >>> that certain MIME types are

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

2014-12-17 Thread Michael Sué
You may need to override the dragEnterEvent, dragMoveEvent etc. functions of the accepting widget - Michael. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Qt concurrency memory model C++11

2014-12-17 Thread Frank Meffert
Hey Qt folks, I’ve got a general question on Qt’s implementation of concurrency (i.e. QThread et al.). The new C++ standard introduces a whole new way of concurrency, incorporating a new memory model making it unnecessary to use 3rd party libs like pthread, for instance. As far as I know, Qt is c

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

2014-12-17 Thread Jason H
It's been a while but I've dragged content out of browser (Firefox) into a Qt app. It works, at least back in Qt 4.x. You have to enable DnD events. Your app won't respond to them otherwise. > Sent: Wednesday, December 17, 2014 at 1:18 AM > From: Wilhelm > To: "interest@qt-project.org" > Subje

[Interest] Regarding my QHttpMultPpart issues

2014-12-17 Thread Jason H
I've filed a bug. https://bugreports.qt-project.org/browse/QTBUG-43378 If anyone has time, please give it shot and see if you can reproduce my problem. If possible, place the server and the client on separate machines. A basic test if for each line read line, the bytes added up should match the

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

2014-12-17 Thread Till Oliver Knoll
> Am 17.12.2014 um 08:57 schrieb Wilhelm : > >> ... >> >> But just to rule out the usual suspects: does drag and drop "in general" >> work with your current Window Manager" (in applications where you /know/ >> that certain MIME types are accepted)? E.g. when you drag and drop a file >> from y