[Interest] Qt State Machine Framework C++

2013-05-02 Thread antonio . cano . gomez
Hi, I would like to begin a project related the Qt State Machine Framework C++. This project is for the university. I do not want to use this for user interfaces, but for other kind of systems. I like very much Qt State Machine Framework C++, but because qt5 is qml oriented, I am afraid that a

Re: [Interest] Anti-aliasing for QML Canvas on Windows?

2013-05-02 Thread Sletta Gunnar
Antialiasing on an FBO requires FBO multisampling and framebuffer blit support. Do you have these extensions available? Cheers, Gunnar On 3. mai 2013, at 00:04, "Mark" wrote: > On Thu, May 2, 2013 at 11:47 PM, Mark wrote: >> On Tue, Mar 12, 2013 at 12:22 AM, Bache-Wiig Jens >> wrote: Hi

Re: [Interest] Anti-aliasing for QML Canvas on Windows?

2013-05-02 Thread Mark
On Thu, May 2, 2013 at 11:47 PM, Mark wrote: > On Tue, Mar 12, 2013 at 12:22 AM, Bache-Wiig Jens > wrote: >>> Hi, >>> Sorry for delay, I had not seen your question >>> To enable antialiasing in Qt Quick Canvas, you must set the property >>> "antialiasing" to "true" and set the property "renderTa

Re: [Interest] Anti-aliasing for QML Canvas on Windows?

2013-05-02 Thread Mark
On Tue, Mar 12, 2013 at 12:22 AM, Bache-Wiig Jens wrote: >> Hi, >> Sorry for delay, I had not seen your question >> To enable antialiasing in Qt Quick Canvas, you must set the property >> "antialiasing" to "true" and set the property "renderTarget" to >> "Canvas.Image" >> Guillaume > > True. It

[Interest] qt4 opengl and qpainter drawText Crash or not visible

2013-05-02 Thread qtnext
Hi, I need to add text support in my qt opengl/qt3D application. I try to draw text in a fbo like this: QPainter painter(m_render_fbo); painter.setRenderHints(QPainter::Antialiasing |QPainter::TextAntialiasing |QPainter::SmoothPixmapTransform,true); document.drawContents(&painter); pai

[Interest] Fastest way to send a signal to one of children processes

2013-05-02 Thread Николай Шатохин
Hello. I have one main process and many children processes that controls TCP-connections with clients (For example, one million). Each child process can send signal to main process with id of another process. So, server must to send data to this process. How to do this quickly? Now, I send signals

Re: [Interest] Qt5 QML OpenGL and "black" texture problem

2013-05-02 Thread BOUCARD Olivier
Thanks Sletta for this great input. Adding the texture parameter resolve the problem. I though this was not mandatory. But I will definitively look at your example as I have a weird problem when I try to update a rotation angle at each frame instead of having a static one. Cheers, Olivier >

Re: [Interest] Qt5 QML OpenGL and "black" texture problem

2013-05-02 Thread Sletta Gunnar
You are at least not setting the required texture parameters which will make the texture incomplete. You typically need to set the textures wrap and min/mag filters at least once: glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP_S, GL_CLAMP_TO_EDGE); glTexParameteri(GL_TEXTURE_2D, GL_TEXTURE_WRAP

[Interest] Qt5 QML OpenGL and "black" texture problem

2013-05-02 Thread BOUCARD Olivier
Hi guys, I'm trying to display some "native" OpenGL inside a custom QML item using Qt 5.0.2 on a Linux x86_64 with a Nvidia 9600M GT (driver v295.40). I have a custom QQuickPaintedItem with a overloaded paint where I use painter->beginNativePainting() and a shader program: Vertex shader: unifo

[Interest] paint with QPainter on a QTreeWidgetItem

2013-05-02 Thread Thomas PABST
Hi, Currently I have reimplemented the paintEvent virtual method of QtreeWidget. I use QPaintEvent to draw a rectangle on QTreeWidgetItem. However I can only draw on the first Column in despite of the event retrun by QPaintEvent provide the entire item area. I should be able to draw on all the wid