Re: [Interest] compiling qt with eglfs

2012-11-15 Thread Ganesh S
Hi. There are a couple of things I believe are related and would therefore help this discussion. Please let me know if you think this is a different topic, in which case I will open a separate mailing thread. Both of these are related to WebGL not working with Qt5 Beta, due to a lot of EGL

[Interest] Qt5/OMAP4/EGLFS: Strange animation behaviour

2012-11-15 Thread Stephan Kanthak
Hi, some background first: for some little project I'm planning to prototype a custom UI. I got interested in Qt5, because of QML + Javascript. The OMAP4 platform I use (a modified Kindle Fire, but very similar to the Pandaboard) offers EGL/OGLES2 and I got some drivers running from TI

Re: [Interest] HierarchicalHeaderView for a QTableView

2012-11-15 Thread Christoph Feck
On Thursday 15 November 2012 08:00:49 Alex Strickland wrote: On the plus side, the little example finally lifted the veil from my eyes about how MVC should work - I deleted tons of code and had a better solution. Just curious, because this can be misinterpreted. Did you delete all the MVC

[Interest] calling QMessageBox::warning() may break the DLL detaching on VS2010

2012-11-15 Thread Xulei
Hi All, I’m developing a project with Qt4.8.3 on Win7/VS2010. I found a critical issue when calling QMessagebox::warning (actually, information(), critical() have the same issue too, but question() not). To duplicate the issue according the following steps: 1. Create a “Qt Application”

Re: [Interest] Global QML slot?

2012-11-15 Thread Jürgen Bocklage-Ryannel
Looks good, but I would use id's to make sure the signal arrives on the right element. Your UI structure changes and Id's give you more control. Row { id: row signal someOtherEvent(int number) Repeater { model: 10 delegate: MyRectangle {

[Interest] qt-everywhere need license?

2012-11-15 Thread Qt maillist
Today I use qt-everywhere to build a MIPS embedded version, but it told me can not use -embedded option as it's a license needed option. How to get a license to build qt-embedded ? Thanks all! ___ Interest mailing list Interest@qt-project.org

Re: [Interest] [QTBUG-27554] New Qt 4.8.3 bug: invalid QtCore.vcxproj, MSVC10 error MSB3073

2012-11-15 Thread Kalinowski Maurice
You can work-around this issue by using nmake or jom to build Qt instead of using the vcxproj files. Thanks for the suggestion. We currently use the vcxproj files generated by configure.exe because it allows us to easily build Qt through IncrediBuild (distributed compiling). For the time

[Interest] need outrow animation for individual list element, without using timer

2012-11-15 Thread SUNIL KUMAR M
Hi, In the below code I am performing animation on list during entry and exit. Entry is working fine but I'm not getting desired animation on list exit. Here I'm using timer for exit animation on list. Is there any other way of performing exit animation on list, without using

[Interest] Unable to use QAbstractListModel with Pathview

2012-11-15 Thread HARISH BABU N
Hi, I want to send a dynamic list form Qt to QML. I'm using QAbstractListModel and creating a model and sending the content to QML view Using QQuickView. This works fine if I use ListView. But, I wana replace ListView with PathView. Does anyone know how to do this. Thanks for the

[Interest] Possible memory leak in QXmlStreamReader

2012-11-15 Thread Marc Schmitzer
Hello everybody, we discovered a potential memory leak with an (admittedly somewhat unusual) use of QXmlStreamReader. Before reporting this as a bug, I wanted to get some opinions on whether this really is a bug or if we're just mis-using the interface. I've appended a code snippet that

Re: [Interest] calling QMessageBox::warning() may break the DLL detaching on VS2010

2012-11-15 Thread Koehne Kai
Hi Xulei, I'm not at all into this, but could it be that QMessageBox::warning and your ::MessageBox call in MyDll do interfere? Also, is it safe to assume that a call to ::MessageBox actually does something the moment you get DLL_PROCESS_DETACH (which is during application shutdown, after

Re: [Interest] calling QMessageBox::warning() may break the DLL detaching on VS2010

2012-11-15 Thread Tony Rietwyk
Hi Xulei, I've always considered DllMain to be only used for thread based initialisations and finalisations. IIRC, it's design is flawed - process unload can occur without the individual thread unloads. This made it useless to disconnect thread specific database objects, for example.

Re: [Interest] calling QMessageBox::warning() may break the DLL detaching on VS2010

2012-11-15 Thread Sascha Cunz
I'm amazed that window related calls like ::MessageBox are even allowed in DllMain, I certainly wouldn't expect them to work! Actually, they aren't - and that for a good reason. If it works, it's plainly by accident. Rationale: Creating a HWND in Windows might trigger the loading of DLLs.

Re: [Interest] Qt5/OMAP4/EGLFS: Strange animation behaviour

2012-11-15 Thread Samuel Rødal
On 11/15/2012 11:07 AM, Stephan Kanthak wrote: Hi, some background first: for some little project I'm planning to prototype a custom UI. I got interested in Qt5, because of QML + Javascript. The OMAP4 platform I use (a modified Kindle Fire, but very similar to the Pandaboard) offers

Re: [Interest] Can I update contents in QScrollArea dynamically?

2012-11-15 Thread Tony Rietwyk
Hi Li, This seems to be a common mistake - adding widgets directly to the QScrollArea as child widgets, rather than using its setWidget. Read the docs - they are very clear. Tony. From: interest-bounces+tony=rightsoft.com...@qt-project.org

Re: [Interest] qt-everywhere need license?

2012-11-15 Thread Thiago Macieira
On quarta-feira, 17 de outubro de 2012 15.06.30, Qt maillist wrote: Today I use qt-everywhere to build a MIPS embedded version, but it told me can not use -embedded option as it's a license needed option. How to get a license to build qt-embedded ? Do you mean Qt 4.8.4 or Qt 5.0? If you meant

[Interest] delayRemove for custom models?

2012-11-15 Thread Mark
Hi, In a ListView you can do a delayRemove: true followed by the animations or other actions that once wants to do then delayRemove: false. That works just fine of the QML ListModel is used as a model, but how do you get that same mechanism working for custom models that come from C++? Cheers,

[Interest] Curious behaviour of slider/spin when controlled by keyboard

2012-11-15 Thread Shriramana Sharma
Hello. I ran into a curious behaviour when writing a PyQt program but later found out that it is not particular to PyQt but exists in C++/Qt as well. I've attached minimal test cases. I note that in both the C++/PyQt minimal examples the bug is reproducible only when there is only a slider + a

Re: [Interest] Passing constructor arguments to an object that is to be run on a separate thread

2012-11-15 Thread d3fault
tl;dr: we should stop teaching QObject::moveToThread as the recommended qt threading method reason: you can't safely use the same object in same-thread use and multi-thread use. it requires a special thread-aware object or glue code the [non auto-generated] QThread::run method also sucks because

Re: [Interest] calling QMessageBox::warning() may break the DLL detaching on VS2010

2012-11-15 Thread Andrew Xu
Sorry, the previous mail is not complete. continue... 5. As you see , there is a static local object in the foo(), the destructor of MyObj should be called when the program exiting. 1) If the QMessageBox::warning() were no't called, the desctructor of MyObj will be called normally. 2) *If

Re: [Interest] calling QMessageBox::warning() may break the DLL detaching on VS2010

2012-11-15 Thread Sascha Cunz
Am Freitag, 16. November 2012, 09:57:26 schrieb Andrew Xu: Sorry, the previous mail is not complete. continue... 5. As you memtioned, there is a static local object in the foo(), the destructor of MyObj should be called when the program exiting. 1) If the QMessageBox::warning() were no't

Re: [Interest] calling QMessageBox::warning() may break the DLL detaching on VS2010

2012-11-15 Thread Andrew Xu
Hi Sascha, I know the orders of those desctructors is undeterministic, but, at least, they should be called. Anyway, there is the result of depends: Starting profile on 2012/11/16 at 10:36:43 Operating System:

Re: [Interest] Qt5/OMAP4/EGLFS: Strange animation behaviour

2012-11-15 Thread Sundareson, Prabindh
I couldn't use their latest drivers SDK (only OMAP3), but please ask TI that question why they stopped delivering a driver SDK for their OMAP4 suddenly about a year ago. I cannot really comment on why, but am glad you got it working even with that older release. From the TI demos I conclude

Re: [Interest] Curious behaviour of slider/spin when controlled by keyboard

2012-11-15 Thread Joseph Crowell
I would suggest filing a bug report on this. On 16/11/2012 3:58 AM, Shriramana Sharma wrote: Hello. I ran into a curious behaviour when writing a PyQt program but later found out that it is not particular to PyQt but exists in C++/Qt as well. I've attached minimal test cases. I note that in

Re: [Interest] Qt5/OMAP4/EGLFS: Strange animation behaviour

2012-11-15 Thread Stephan Kanthak
Hi Samuel, Am 15.11.2012 um 13:24 schrieb Samuel Rødal samuel.ro...@digia.com: On 11/15/2012 11:07 AM, Stephan Kanthak wrote: Hi, some background first: for some little project I'm planning to prototype a custom UI. I got interested in Qt5, because of QML + Javascript. The OMAP4 platform

Re: [Interest] Qt5/OMAP4/EGLFS: Strange animation behaviour

2012-11-15 Thread Stephan Kanthak
Hi Prabindh, first hand info, that's very well appreciated :-) Am 16.11.2012 um 05:29 schrieb Sundareson, Prabindh pr...@ti.com: I couldn't use their latest drivers SDK (only OMAP3), but please ask TI that question why they stopped delivering a driver SDK for their OMAP4 suddenly about a

Re: [Interest] Curious behaviour of slider/spin when controlled by keyboard

2012-11-15 Thread Joseph W Joshua
I am unable to reproduce this, I am using Qt 4.8.1, both on windows and linux. Hello. I ran into a curious behaviour when writing a PyQt program but later found out that it is not particular to PyQt but exists in C++/Qt as well. I've attached minimal test cases. I note that in both the