Re: [Interest] Lots of binding loop errors with QML in QtQuick

2014-03-13 Thread Preet
I think the issue had to do with: https://bugreports.qt-project.org/browse/QTBUG-36849 And after building from git the errors have gone away. Still think it would be nice if binding loops had a bit of a stack trace if its feasible... which has already been suggested :)

Re: [Interest] Lots of binding loop errors with QML in QtQuick

2014-03-13 Thread Koehne Kai
-Original Message- From: interest-bounces+kai.koehne=digia@qt-project.org [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf Of Preet Sent: Thursday, March 13, 2014 7:04 AM To: interest@qt-project.org Subject: Re: [Interest] Lots of binding loop errors

Re: [Interest] Qt and OpenCL crash course

2014-03-13 Thread Gunnar Sletta
On 12 Mar 2014, at 21:28, Thiago Macieira thiago.macie...@intel.com wrote: Em qua 12 mar 2014, às 13:14:08, Jason H escreveu: I was hoping someone would say: QPainter is OpenCL enabled by default (or enabled with a switch), all the operations happen automatically because the kernel programs

Re: [Interest] Qt and OpenCL crash course

2014-03-13 Thread Sean Harmer
On Wednesday 12 March 2014 12:08:53 Jason H wrote: I need to do some elementary graphics operations on QPixmap or QImage. I can do these in Qt to some extent already. But for this latest project I will be processing 4k resolution images. My operations are: Translate off origin Rotate by an

[Interest] 5.3 compass android ios

2014-03-13 Thread nicola
Hi, does anyone know if the 5.3 will have the compass function properly? Nicola ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] 5.3 compass android ios

2014-03-13 Thread Gustavsen Richard
It has always worked in Qt for iOS... -Richard Fra: interest-bounces+richard.gustavsen=digia@qt-project.org [interest-bounces+richard.gustavsen=digia@qt-project.org] p#229; vegne av nic...@nicoladefilippo.it [nic...@nicoladefilippo.it] Sendt:

[Interest] Skip over disabled items in listview and gridview when navigating with up/down/left/right arrows

2014-03-13 Thread Rogers Nate
I am using listview and gridview in my qml application that has navigation using the up/down/left/right arrows. When I disable a tile/button in my listview or gridview I want the user to not be able to select the tile and that works, however if the user is navigating with the arrows the cell

Re: [Interest] Skip over disabled items in listview and gridview when navigating with up/down/left/right arrows

2014-03-13 Thread Scott Aron Bloom
Overload and customize the flags method in the model. You can set enabled/ editable/selectable/dragable etc Scott From: interest-bounces+scott.bloom=onshorecs@qt-project.org [mailto:interest-bounces+scott.bloom=onshorecs@qt-project.org] On Behalf Of Rogers Nate Sent: Thursday, March

Re: [Interest] Does http://qt-project.org/search?search=QWidget work?

2014-03-13 Thread Jason H
Ah, yes, I'm using Ghostery. Thanks! From: Eric Feigenson e...@feigenson.net To: Jason H scorp...@yahoo.com Cc: Interests Qt interest@qt-project.org Sent: Thursday, March 13, 2014 1:25 AM Subject: Re: [Interest] Does

Re: [Interest] Qt and OpenCL crash course

2014-03-13 Thread Jason H
Thanks everyone.  Sean, can you elaborate on Qt has good support for OpenGL so using this approach should be pretty simple for you.  Is this just referring to GL Widgets? Thanks again. From: Sean Harmer sean.har...@kdab.com To: interest@qt-project.org; Jason H

Re: [Interest] Qt and OpenCL crash course

2014-03-13 Thread Paul Miller
On 3/13/2014 9:32 AM, Jason H wrote: Thanks everyone. Sean, can you elaborate on Qt has good support for OpenGL so using this approach should be pretty simple for you. Is this just referring to GL Widgets? Take a look at QGLFramebufferObject. There are some good OGL FB examples in the

Re: [Interest] Qt and OpenCL crash course

2014-03-13 Thread Sean Harmer
On Thursday 13 March 2014 07:32:36 Jason H wrote: Thanks everyone. Sean, can you elaborate on Qt has good support for OpenGL so using this approach should be pretty simple for you. Is this just referring to GL Widgets? For basic OpenGL usage you have the choice of QGLWidget or QWindow (or

Re: [Interest] Adding Scripting Capabilities to my Application (Suggestions on how to get started)

2014-03-13 Thread Jason H
Check out SIP. It's nto automatic, but it is easy. - Original Message - From: Michael Jackson imikejack...@gmail.com To: interest@qt-project.org Cc: Sent: Thursday, March 13, 2014 1:14 PM Subject: Re: [Interest] Adding Scripting Capabilities to my Application (Suggestions on how to get

Re: [Interest] QMap crashing in a thread

2014-03-13 Thread Thiago Macieira
Em qui 13 mar 2014, às 18:52:32, BOUCARD Olivier escreveu: I have this Server class with a QMapQString, MyClass* object member. This server is a HTTP server class using libhttpserver. I have also a member function which is called by libhttpserver when it receives a HTTP request. This function

Re: [Interest] QMap crashing in a thread

2014-03-13 Thread BOUCARD Olivier
Thanks Thiago. I'm not sure to understand. QMap::contains is const. So as QMap is re-entrant, in theory QMap::contains should be thread-safe. And I have no other thread accessing the map at this time. I sent request manually with curl. Le Jeudi 13 mars 2014 22h07, Thiago Macieira

Re: [Interest] QMap crashing in a thread

2014-03-13 Thread BOUCARD Olivier
Hum they do a static_cast before calling the callback: void render_POST(const http_request req, http_response** res) {   static_castCHILD*(this)-render_POST(req, res); } Maybe is the source of the problem. Le Jeudi 13 mars 2014 22h16, BOUCARD Olivier boucard_oliv...@yahoo.fr a écrit :

Re: [Interest] QMap crashing in a thread

2014-03-13 Thread Jason H
I wouldn't think so. as they should have a very good idea of what this is, and that this exists. I would think perhaps you are accessing a deleted object? I've used QMap successfully in similar situations. From: BOUCARD Olivier boucard_oliv...@yahoo.fr To:

Re: [Interest] QMap crashing in a thread

2014-03-13 Thread BOUCARD Olivier
The weird thing is that I have debug outputs in my Server destructor and they only appear at the end of the of the application as they should. When I quit my application without sending a HTTP request. And if I access my QMap in the destructor I have no problem. Le Jeudi 13 mars 2014 22h40,

Re: [Interest] QMap crashing in a thread

2014-03-13 Thread BOUCARD Olivier
And if I don't access the QMap and thus the application doesn't crash. I can send multiple HTTP request to the Server without problems. And I can still access the QMap in the destructor. Le Jeudi 13 mars 2014 23h48, BOUCARD Olivier boucard_oliv...@yahoo.fr a écrit : The weird thing is that

Re: [Interest] QMap crashing in a thread

2014-03-13 Thread Jason H
I meant when the MyClass* part of the map is gone. Remember to remove the key as well as the MyClass instance. From: BOUCARD Olivier boucard_oliv...@yahoo.fr To: Jason H scorp...@yahoo.com; interest@qt-project.org interest@qt-project.org Sent: Thursday, March

Re: [Interest] QMap crashing in a thread

2014-03-13 Thread BOUCARD Olivier
Ok I discover that the this this pointer is not the same inside the render_POST function. Somehow they are able to instanciate my class without using the default constructor nor the copy constructor. So all the class members are not initialized. Now, I have use different strategy. Le

Re: [Interest] QTest unit tests can't find .moc files

2014-03-13 Thread Thiago Macieira
Em qui 13 mar 2014, às 22:25:16, Thomas Sevaldrud escreveu: Hi, I've a very strange problem with my QTest unit tests. I use the QTest project wizard from Qt Creator and end up with a class that includes a moc file at the bottom of the source just like in the QTest documentation examples,