[Interest] Updating tooltips when model data changes

2018-08-10 Thread Álvaro Cebrián Juan
Hi all, I have a QTableView tied to a QAbstractTableModel. I have enabled tooltips in my model by handling Qt::TooltTipRole in the model's data() function. The problem is that the tooltips are not updated when my model data changes. I would like to update the active tooltip as soon as the model da

[Interest] Build Qt project with CMake in Qt Creator

2018-07-10 Thread Álvaro Cebrián Juan
I would like to know if it is possible to configure Qt Creator so that when i hit Run (Ctrl+R), it builds my project using CMake instead of qmake. Thank you. Álvaro ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/li

[Interest] Qt Installer Framework 3.0 vs 2.0

2018-05-25 Thread Álvaro Cebrián Juan
Hello everyone, In the Qt Creator installation wizard I can choose to install two different versions of the Qt Installer Framework, the 3.0 and the 2.0. Can anybody shed some light on the differences between them? Thank you. Regards, Álvaro ___ Intere

Re: [Interest] Qt3D filtering for different renderviews

2017-03-30 Thread Juan José Casafranca
JIRA (https:// bugreports.qt.io/browse/QTBUG-59814). I think an approach based on the QLayerFilter may be more powerful than making QLayer recursive. On jueves, 30 de marzo de 2017 10:47:33 (CEST) Sean Harmer wrote: > Hi, > > On Thursday 30 March 2017 02:28:29 Juan José Casafranca

Re: [Interest] Qt3D filtering for different renderviews

2017-03-30 Thread Juan José Casafranca
On jueves, 30 de marzo de 2017 9:25:56 (CEST) Juan Jose Casafranca wrote: > Im not using QML but QWindow. Maybe I can modify the widget paint event to > first draw a gradient. > > I will prepare a simple example and add a suggestion. > > Thanks > > El 30 mar. 2017 9:20,

Re: [Interest] Qt3D filtering for different renderviews

2017-03-30 Thread Juan Jose Casafranca
Im not using QML but QWindow. Maybe I can modify the widget paint event to first draw a gradient. I will prepare a simple example and add a suggestion. Thanks El 30 mar. 2017 9:20, "Oleg Evseev" escribió: > Hi Juan, > > > How can I make the second renderview to skip

[Interest] Qt3D filtering for different renderviews

2017-03-29 Thread Juan José Casafranca
Hi, Im building a simple default viewer using Qt3D for a design tool. I'm trying to add a typical gradient background and for that I'm using the following approach. I have create a custom framegraph with 2 renderviews. The first renderview clears the buffers, select an ortographic camera and ha

Re: [Interest] Qt3D Reading from a Compute Shader

2017-03-01 Thread Juan José Casafranca
I wrote a patch for this some weeks ago. I think is already merged in Qt 5.9. Have a look at the buffercapture example (qt5/qt3d/tests/manual/buffercapture-qml). Let me know if you have any trouble. On miércoles, 1 de marzo de 2017 22:09:15 (CET) Russell, Matthew wrote: > Hi, > > Is it possi

[Interest] Qt3D Image2D opengl object

2017-01-20 Thread Juan Jose Casafranca
Hi everybody, I would like to know if it's possible to use image opengl objects rather than sampler objects in a glsl shader. If it's possible, how would it be created? As far as I see, only Texture objects can be created in the frontend (and I suppose they are translated to samplers in opengl) T

[Interest] How to contribute

2017-01-04 Thread Juan Jose Casafranca
Hi, I'm trying to do some contributions to a Qt submodule (Qt3D) but I'm finding some troubles with git, the submodules and the configuration step. Some weeks ago I initialized the qt repo to the dev branch using the instructions in https://wiki.qt.io/Building_Qt_5_from_Git. For my patch, they su

[Interest] [Qt3D] QBufferCapture get buffer data from gpu to cpu

2016-12-22 Thread Juan Jose Casafranca
Hi, I'm coding the mechanism to get the data from gpu buffers back to cpu side ( https://bugreports.qt.io/browse/QTBUG-57727) and I have different ideas on how to do this, so I want your opinion. The first idea is follow the QRenderCapture idea: An object in the framegraph which creates a reply o

Re: [Interest] Qt3D - Render to QImage

2016-12-19 Thread Juan Jose Casafranca
othing is saved. I'm currently saving to "~/testShot.png". Any >> > ideas why it's not working? I probably set up the framegraph wrong >> > or something. I would be really helpful if there was an example in >> > the documentation. >> &g

[Interest] Register QML type and setting context property

2016-12-08 Thread Juan Jose Casafranca
Hi, I'm having some issues trying to declare a new type in qml. I have a class which contains a shared pointer to a second class. class Grid : public QObject { Q_OBJECT ... } Class FObject : public QObject { Q_OBJECT public:std::shared_ptr grid() const; protected: std::shared_ptr m_grid; }

Re: [Interest] Qt3D - Setting the Camera's ViewMatrix Directly

2016-12-05 Thread Juan Jose Casafranca
Just for curiosity, why it is not typed as QCameraLens as that it is the "real" camera? El 5 dic. 2016 6:34 PM, "Philip Schuchardt" escribió: > Awesome, thanks! > On Mon, Dec 5, 2016 at 12:32 PM Sean Harmer wrote: > > > > On 05/12/2016 16:37, Philip Schuchardt wrote: > > Awesome! Thanks! I real

Re: [Interest] [Qt3D] Color map material

2016-11-29 Thread Juan Jose Casafranca
divergent, and > categorical. > > Here are some helpful links > http://colorbrewer2.org/ > http://mkweb.bcgsc.ca/brewer/ > > Phi|ip > > > On Tue, Nov 29, 2016 at 6:12 AM Juan Jose Casafranca > wrote: > > Hi, > > I've been working on a material for Qt3

[Interest] [Qt3D] Color map material

2016-11-29 Thread Juan Jose Casafranca
Hi, I've been working on a material for Qt3D for showing temperature like maps usually used in scientific visualization. Would you be interested in adding it to the extras library? Cheers ___ Interest mailing list Interest@qt-project.org http://lists.qt

Re: [Interest] Qt3D - Render to QImage

2016-11-28 Thread Juan Jose Casafranca
I will have a better look to how the aspect translates the framegraph node to opengl commands. Thanks! 2016-11-28 12:42 GMT+01:00 Sean Harmer : > On Monday 28 November 2016 12:34:01 Juan Jose Casafranca wrote: > > How does QRenderCapture works? When a capture is requested it sets

Re: [Interest] Qt3D - Render to QImage

2016-11-28 Thread Juan Jose Casafranca
io/secure/attachment/57353/offscreenrenderer.zip > but > > never got any feedback. If someone will look into this it would be great. > > I'll see if someone can take a look. I may have some time next week if > nobody > else can. > > Cheers, > > Sean > > >

Re: [Interest] Qt3D - Render to QImage

2016-11-28 Thread Juan Jose Casafranca
November 2016 11:22:30 Juan Jose Casafranca wrote: > > Hi Sean, > > > > is there any example on how to do that? I tried to use a QRenderCapture > but > > I failed two weeks ago. > > http://code.qt.io/cgit/qt/qt3d.git/tree/tests/manual/rendercapture-qml > http://

Re: [Interest] Qt3D - Render to QImage

2016-11-28 Thread Juan Jose Casafranca
deformed mesh and then get the new vertex positions for export. Cheers Juan José 2016-11-28 11:13 GMT+01:00 Sean Harmer : > On Monday 28 November 2016 02:23:59 Philip Schuchardt wrote: > > I'm trying to port my OpenGL code (https://github.com/Cavewhere/ > cavewhere/) > > to

[Interest] [Qt3D] Retrieve fbo texture and buffer

2016-11-18 Thread Juan Jose Casafranca
Hi, I'm using Qt3D to launch some computations which are performed in a shader. In particular, I'm trying to read a voronoi diagram describe by an image that is send to the shader as a texture, check the pixels where the voronoi cell changed (using a gradient on the texture image) and paint 1 in t

Re: [Interest] Qt3D not deleting buffers

2016-10-05 Thread Juan Jose Casafranca
if you want to fix > it > then please feel free to do so. If you need help getting started with > contributions just ask. > > Thanks for the feedback! > > Sean > > On Wednesday 05 October 2016 01:29:35 Juan Jose Casafranca wrote: > > Hi Sean, > > > &g

Re: [Interest] Qt3D not deleting buffers

2016-10-04 Thread Juan Jose Casafranca
Q_ASSERT(!isVisible()); m_userRoot = root; m_userRoot->setParent(m_root); } Thanks for your time! 2016-10-03 17:26 GMT+02:00 Juan Jose Casafranca : > Hi Sean, > thanks for your fast reply. > > I dont know what is a JIRA. Anyway, I have prepared a very simple exampl

Re: [Interest] Qt3D not deleting buffers

2016-10-03 Thread Juan Jose Casafranca
along with a small test case that > reproduces the issue. > > Many thanks! > > Sean > > On Monday 03 October 2016 13:40:36 Juan José Casafranca wrote: > > Hello! > > > > I'm posting to act some questions about Qt3D. > > > > I'm try

[Interest] Qt3D not deleting buffers

2016-10-03 Thread Juan José Casafranca
Hello! I'm posting to act some questions about Qt3D. I'm trying to show some information for my program. This information consist on a regular grid (I'm painting the lines that define the voxels), a distance map (in each voxel vertex I store a distance value) and the sources for the distance (

Re: [Interest] Help parsing output of "mksquashfs" command

2016-06-03 Thread Juan Navarro
itial tests, and saw how everything ended up being written to the file, progress bar included. On Fri, Jun 3, 2016 at 8:44 AM, Michael Sué wrote: > Hi, > > > > maybe the progress comes via stderr; you just catch stdout. > > > > - Michael. > > > > *From:* Inte

[Interest] Help parsing output of "mksquashfs" command

2016-06-02 Thread Juan Navarro
t output, by explicitly showing '\n' characters; also the flag "QIODevice::Text" doesn't make a difference here). I'm quite lost here, because at this point I assume that QProcess is doing the right thing, but I don't und

[Interest] Qt Installer Framework - Maintenance Tool - Updates only

2015-04-21 Thread Juan Navarro
Hi, is it possible to limit the default workflow of QtIFW Maintenance Tool in order to only allow updates? Given a setup in which some software will always be installed, I am looking to add an online/offline updating system, but nothing more than that. This means that the "Maintenance Tool" which

Re: [Interest] Compilation error with QtConcurrent::run

2014-12-10 Thread Juan Navarro
obvious at all On Wed, Dec 10, 2014 at 5:19 PM, Juan Navarro wrote: > I'm following this: http://qt-project.org/doc/qt-4.8/qtconcurrentrun.html > > But the given example for calling member functions doesn't work for at > least one Qt class / method: > bool QImage::sa

[Interest] Compilation error with QtConcurrent::run

2014-12-10 Thread Juan Navarro
I'm following this: http://qt-project.org/doc/qt-4.8/qtconcurrentrun.html But the given example for calling member functions doesn't work for at least one Qt class / method: bool QImage::save(const QString &fileName, const char* format=0, int quality=-1) const; The compiler cannot decide which of

Re: [Interest] QML ApplicationWindow fails to open a window

2014-05-26 Thread Juan Navarro
14 at 4:06 PM, Juan Navarro wrote: > Sorry I forgot to indicate that I'm using latest Qt release, installed > from the official Qt 5.3 online installer, using Ubuntu 14.04. > > On Mon, May 26, 2014 at 4:04 PM, Juan Navarro wrote: >> Hi there; >> i'm struggling

Re: [Interest] QML ApplicationWindow fails to open a window

2014-05-26 Thread Juan Navarro
Sorry I forgot to indicate that I'm using latest Qt release, installed from the official Qt 5.3 online installer, using Ubuntu 14.04. On Mon, May 26, 2014 at 4:04 PM, Juan Navarro wrote: > Hi there; > i'm struggling with the behavior of ApplicationWindow and I found that > it

[Interest] QML ApplicationWindow fails to open a window

2014-05-26 Thread Juan Navarro
Hi there; i'm struggling with the behavior of ApplicationWindow and I found that it only opens a window when used directly from main() but not from a custom class. Let's explain with an example: main.qml: import QtQuick 2.2 import QtQuick.Controls 1.1 ApplicationWindow {

Re: [Interest] Crash when calling deleteLater for a QGLSceneNode

2014-04-26 Thread Juan
s also being deleted, and the problem is > related to deleting that thing pointed to by the QSharedPointer... > > Is it posisble that the pointed-to-object there is owned by a different > thread? > > > > > On Fri, Apr 25, 2014 at 12:28 PM, Juan wrote: > >> Because

Re: [Interest] Crash when calling deleteLater for a QGLSceneNode

2014-04-25 Thread Juan
Because I am in a different thread. I get the same exception when I call deleteLater directly, from the same thread where the node was created. Thanks anyway! On Thu, Apr 24, 2014 at 6:29 PM, Thiago Macieira wrote: > Em qui 24 abr 2014, às 17:55:23, Juan escreveu: > > QMetaObject::inv

[Interest] Rendering to a QOpenGLFramebufferObject and Qt3D

2013-04-15 Thread Juan
I don't think the problem is along these lines - I just mention this because I already know that this doesn't work in the multisample setting. Thanks! Juan ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest