Re: [Interest] Model for QTreeView

2012-11-19 Thread Alex Strickland
To Jan and Andreas I have tested with ModelTest and it passes, but I think I have hacked my original model into insignificance, as the QTreeView certainly doesn't look like I want. I'm going to give it a bit of a rest, and try again later. Thank you both for your kind help. -- Regards Alex _

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

2012-11-19 Thread Sundareson, Prabindh
Stephan, Did you try flipwsegl, as specified in below link ? From your last log, you were using linuxfbwsegl. http://processors.wiki.ti.com/index.php/SGXDbg#Vertical_Tearing Note: - Moving to flip will reduce the framerate - If you still see tearing with flip, ensure you really have 3 flipbuff

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

2012-11-19 Thread Stephan Kanthak
Hi Donald, On 11/19/2012 10:54 PM, Donald Carr wrote: > On top of all of this, I saw weird partial updates on all the OMAP SGX > based devices I tested against Qt 5. I have a beagle board video > uploaded which shows the screen broken up into 4 discrete quadrants > which are alternately updated. I

Re: [Interest] Qt5: Status of, "Add QtService to Qt proper"

2012-11-19 Thread Andrew Stanley-Jones
Hey Guys, Before this ends up in Qt5 we have to deal with the name conflict. QtService way to easily confused with Qt Service Framework. There's already a suggested rename of SFW to Qt Service since everything in Qt is a framework. But in either case, renames are costly for everyone involved. O

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

2012-11-19 Thread Donald Carr
Hey Stephan, Towards the end of my work on the Raspberry Pi, I had to adjust this area of the code to get banging performance. I can't remember the exact combination that was winning, but unified timers was horrid and I had to short circuit several other functions which effectively set a broken st

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

2012-11-19 Thread Stephan Kanthak
Hi all, as promised some feedback on this matter... On 11/16/2012 07:37 AM, Stephan Kanthak wrote: >> Are you doing "export QML_FORCE_THREADED_RENDERER=1"? Because afaik >> without that you won't get the threaded renderer. Most issues I've seen >> with animations have been due to not using the th

[Interest] Re: Model for QTreeView

2012-11-19 Thread Jan Kundrát
On Monday, 19 November 2012 19:25:25 CEST, Alex Strickland wrote: > My attempts don't work, can anyone say why? What "doesn't work" mean here? It isn't obvious from the code what you've actually tried to do with the model. Did you run modeltest [1] on it? Did you just fed it to a QTreeView? What

Re: [Interest] Model for QTreeView

2012-11-19 Thread Alex Strickland
On 2012/11/19 06:27 PM, Alex Strickland wrote: Yes, I have, but as you might judge from the above, it's still a bit hazy! My attempts don't work, can anyone say why? TIA -- Regards Alex /* * Copyright Electric Bridge Software 2011,2012. */ #include "treemodel.h" TreeModel::TreeModel() {

Re: [Interest] Qt5: Status of, "Add QtService to Qt proper"

2012-11-19 Thread Charley Bay
>> Last June there was a thread with the title, "Add QtService to Qt >> proper" that discussed some tender-loving-care required to update >> "QtService<>" to support Qt5. >> >> RECALL that "QtService<>" is a template add-on (not in >> Qt-proper) that >> targeted Qt4, and talk was to make it a non-t

Re: [Interest] Model for QTreeView

2012-11-19 Thread Alex Strickland
On 2012/11/19 06:10 PM, Jan Kundrát wrote: > That's a rather strange tree -- you could only ever have a tree with at most > one level of nesting using this structure. It's a simplification of what I really want, but basically one level is fine. > Have you read the example [1] about how tree mo

[Interest] Re: Model for QTreeView

2012-11-19 Thread Jan Kundrát
On Monday, 19 November 2012 16:05:03 CEST, Alex Strickland wrote: > typedef struct TreeStruct > { > QString name; > QList leaves; > }; That's a rather strange tree -- you could only ever have a tree with at most one level of nesting using this structure. Have you read the example [1] a

Re: [Interest] [Development] QT 4.8 sysroot use

2012-11-19 Thread Thiago Macieira
On segunda-feira, 19 de novembro de 2012 16.54.05, Stephane Cerveau wrote: > Dear all, > > Is there a way to use the sysroot param in QT 4.8 as it is used in QT5. > Indeed when we install a cross compile with -prefix, the sysroot dir is > not used in QT 4.8. > > I would like to use PKG_CONFIG_SYSRO

Re: [Interest] Play video is very slow using Gstreamer

2012-11-19 Thread William Zeng
Hi goli, Yes, I did but not finish. I have trid two ways and it works. The first one is Qt 4.8 and the Qt mobility library. And the another way is use Qt 5.0 directly. I think use Qt 5.0 is better as the Qt mobility library has been integrated into Qt 5.0. For beagleboard, you should decode me

Re: [Interest] Model for QTreeView

2012-11-19 Thread Alex Strickland
On 2012/11/19 04:41 PM, Alex Strickland wrote: Sorry, I should have shown the header: #include #include #include typedef struct TreeStruct { QString name; QList leaves; }; class TreeModel : public QAbstractItemModel { public: TreeModel(); QVariant data(const QModelIndex &

[Interest] Model for QTreeView

2012-11-19 Thread Alex Strickland
Hi I am trying to create a workable example of a very simple model to use with a QTreeView. Here is the underlying hierarchical data: TreeModel::TreeModel() { TreeStruct treeStruct; treeStruct.name = "one"; treeStruct.leaves << "one/one" << "one/two"; m_treeData << treeStruc

Re: [Interest] Play video is very slow using Gstreamer

2012-11-19 Thread goli
Hi william, I have the same problem with my device with Qt 4.8.1 - the CPU usage is ~100% when I use Video of QtMultimediaKit Did you solve this problem, and how? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/l

Re: [Interest] Play video is very slow using Gstreamer

2012-11-19 Thread goli
Hi william, I have the same problem with my device with Qt 4.8.1 - the CPU usage is ~100% when I use Video of QtMultimediaKit Did you solve this problem, and how? ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/