[Interest] Qt5 Beta 2 multimedia thumbnail issue
Hi, Am using Qt5 beta 2 Ubutu 12.04 desktop. The thumbnail info is not getting retrieved from Qt Multimedia metadata namespace though other metadata information is getting retrieved. Could you please let me know if this is a known issue in Qt5 Beta 2 multimedia? Thanks and Regards, Ramakanth DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] [OT] Is it possible to detect hard drive type (fixed/removable) on Windows using Qt?
If you want to be cross-platform, you might be interested in KDE's Solid library (they are in the process of modularizing it). It's Qt based and does not need the whole KDE framework . Hope it helps, Samuel On 26 nov. 2012, at 13:53, Francisco Ares wrote: Hello. Sorry for this off-topic. I did not find anything like this on the documentation. In Linux I would not use Qt, it would be the case to, say, monitor a few kernel messages and/or logs or just the mounted file systems to detect this type of information. But what about Windows? Any hints? Thanks Francisco -- If you have an apple and I have an apple and we exchange apples then you and I will still each have one apple. But if you have an idea and I have one idea and we exchange these ideas, then each of us will have two ideas. - George Bernard Shaw ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Re: Replacing QIcon with QImage in a existing model, how can i do that?
On Saturday, 24 November 2012 22:43:54 CEST, Mark wrote: Now i was expecting this to work: setData(modelIndex, _my_qimage_thumbnail_, Thumbnail); Sadly that doesn't work. setData will just return false. So what am i doing wrong here? Is the index build up wrongly? Or do i need to do some different role stuff? It is important to know what model implementation you're using. I'll assume you're subclassing a QAbstractItemModel. If you're using QStandardItemModel, you should call setItem() instead of setData(), according to the docs (because QSIM doesn't override setData() and QAIM's setData() doesn't do anything but return false). Your model's data() function typically checks the role and returns appropriate data for the index the caller is requesting. In this case, all you have to do is to update the data structure which your data() reimplementation references, which will make sure that on a subsequent call, your data() will return the QImage you just computed instead of the default icon. But that's not enough, because the views have no way to know that they should request the data once again, you shall have your model emit dataChanged() for the appropriate index at the time your process is finished with computing the thumbnail image. With kind regards, Jan ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] 60FPS and FBO
Hi, the context of this is mail is: - scenegraph - FBO based effects (plain shader-effects, qtgraphicaleffects, qt3d) - embedded hardware / opengl es 2.0 I've noticed that on a lot of embedded systems the FPS drops rather drastically (e.g. from 60 to 30 with one effect, from 30 to 10-15 with two effects) when using FBO based effects. ... even simple effects, sometimes even if they have 'visible: false' Is this somewhat expected? It does sound like a vsync vs. fbo problem ... doesn't it? Is this a fault/bug in the embedded opengl drivers? Did anyone ever had a setup, using one or multiple FBO based effects did still result in 60fps? (as it should be for simple(!) effects?) This mail is 'vague' on purpose, I don't want to start a concrete technical discussion ... I rather want to ask for opinion and experience. Greets Thomas ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] QGraphicsView regressions on Mac in Qt 5(beta 2)
On 21-Nov-2012, at 8:08 AM, Björn Piltz wrote: 6. Stacking order of OpenGL widgets aren't respected in MDI mode. This isn't new. From the QGLWidget documentation in 4.8 (and maybe earlier): On Mac OS X, when Qt is built with Cocoa support, a QGLWidget can't have any sibling widgets placed ontop of itself. This is due to limitations in the Cocoa API and is not supported by Apple. 7. The resizing corners of the subwindows are almost impossible to hit. QTBUG-26162 This isn't new, either, but it sure is annoying! It doesn't have anything to do with QGLWidget, all QMdiSubwindows are like that on Macintosh. They need a size grip added. I'd obviously appreciate seeing these issues fixed for a better Mac experience;) Indeed! John Weeks WaveMetrics, Inc. Phone (503) 620-3001 Fax (503) 620-6754 email supp...@wavemetrics.com ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] qmlscene not generated by Qt5 Beta2 cross-compile
I notice that qmlscene is not present in the output bin directory generated by the Qt5 Beta2 cross-compile configure/make/make install process. I can see that there is a qt-everywhere-opensource-src-5.0.0-beta2/qtdeclarative/tools/qmlscene directory in my source tree, but the qmlscene program was not generated by the build, for any target. This seems curious to me - is it a bug?___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] 60FPS and FBO
Hi Thomas, I have noticed similar issues on Linux based systems. I use the following environment variables that fixes the issue for me: QML_FORCE_THREADED_RENDERER=1 Florian On 26/11/12 16:50, Thomas Senyk wrote: Hi, the context of this is mail is: - scenegraph - FBO based effects (plain shader-effects, qtgraphicaleffects, qt3d) - embedded hardware / opengl es 2.0 I've noticed that on a lot of embedded systems the FPS drops rather drastically (e.g. from 60 to 30 with one effect, from 30 to 10-15 with two effects) when using FBO based effects. ... even simple effects, sometimes even if they have 'visible: false' Is this somewhat expected? It does sound like a vsync vs. fbo problem ... doesn't it? Is this a fault/bug in the embedded opengl drivers? Did anyone ever had a setup, using one or multiple FBO based effects did still result in 60fps? (as it should be for simple(!) effects?) This mail is 'vague' on purpose, I don't want to start a concrete technical discussion ... I rather want to ask for opinion and experience. Greets Thomas ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Dynamically generating a states and transitions array in javascript?
Hi, I have a states array in QML that looks like this: states: [ State { name: icon PropertyChanges { target: viewContainer; source: views/IconView.qml } }, State { name: list PropertyChanges { target: viewContainer; source: views/LView.qml } }, State { name: tree PropertyChanges { target: viewContainer; source: views/TreeView.qml } } ] That works just fine, but i want to do it more dynamically. I want to read the contents of the folder views and add a state entry for each item that i fine. Reading the folder and getting the filename isn't an issue, but i'm kinda puzzled how to build up a states array in javascript. This is an pseudo code example: buildstates.js var stateArray = ... construct the states based on based on the content of a folder ... main.qml import buildstates.js as BuildStates Item{ width: 800 height: 600 states: BuildStates.stateArray } I want to do the same for transitions. But how do i do the JavaScript part? Or is there another way to build up a dynamic states/transitions array? Or is there a C++ way for this? Cheers, Mark ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Qt -4.8.3 self compiled is corrupted when complete
I am trying to compile Qt 4.8.3 with a fully patched Visual Studio 2010 Service Pack 1 as a 64 bit compile. When the compile finishes and I try to launch assistant or designer they just crash out. No error dialog or anything. They just refuse to launch. I used the following command from a Visual Studio x64 command prompt configure -confirm-license -opensource -debug-and-release -shared -fast -exceptions -stl -no-qt3support -nomake demos -nomake examples I have read around on google that mentions adding -platform win32-msvc2010 which might help but does not in my case. I also tried adding -mp to speed up the compiles which did not help either. Has anyone else run into this type of problem? -- Mike Jackson imikejackson _at_ gee-mail dot com ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
[Interest] Qt5 Beta 2 issue
Hi, Am using Qt5 beta 2 Ubutu 12.04 desktop. The thumbnail info is not getting retrieved from Qt Multimedia metadata namespace though other metadata information is getting retrieved. Could you please let me know if this is a known issue in Qt5 Beta 2 multimedia? Thanks and Regards, Ramakanth DISCLAIMER: This email (including any attachments) is intended for the sole use of the intended recipient/s and may contain material that is CONFIDENTIAL AND PRIVATE COMPANY INFORMATION. Any review or reliance by others or copying or distribution or forwarding of any or all of the contents in this message is STRICTLY PROHIBITED. If you are not the intended recipient, please contact the sender by email and delete all copies; your cooperation in this regard is appreciated. ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest
Re: [Interest] Qt -4.8.3 self compiled is corrupted when complete
-Original Message- From: interest-bounces+kai.koehne=digia@qt-project.org [mailto:interest-bounces+kai.koehne=digia@qt-project.org] On Behalf Of Mike Jackson Sent: Tuesday, November 27, 2012 3:54 AM To: interest@qt-project.org Subject: [Interest] Qt -4.8.3 self compiled is corrupted when complete I am trying to compile Qt 4.8.3 with a fully patched Visual Studio 2010 Service Pack 1 as a 64 bit compile. When the compile finishes and I try to launch assistant or designer they just crash out. No error dialog or anything. They just refuse to launch. Try a debug build by doing 'nmake debug' inside e.g. assistant, and launch them via a Debugger to get a stack trace. Maybe also try to launch the applications via depends.exe (Dependency Walker-Analysis) to see what happens right before the crash in terms of libraries pulled in etc. Check carefully e.g. which libraries are pulled in. Regards Kai I used the following command from a Visual Studio x64 command prompt configure -confirm-license -opensource -debug-and-release -shared -fast - exceptions -stl -no-qt3support -nomake demos -nomake examples I have read around on google that mentions adding -platform win32- msvc2010 which might help but does not in my case. I also tried adding -mp to speed up the compiles which did not help either. Has anyone else run into this type of problem? -- Mike Jackson imikejackson _at_ gee-mail dot com ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest