Re: [Interest] Qt Creator vs inline headers

2018-12-14 Thread Thiago Macieira
On Friday, 14 December 2018 11:16:43 PST Bernhard Lindner wrote: > I can fix that in the MIME settings but it seems to make no sense. > > Why is Qt Creator configured that way? Because the MIME type says it's source, not header. I had never seen an .inl file and had never heard of that extension

Re: [Interest] Understanding QImage::transformed()

2018-12-14 Thread Jérôme Godbout
Are you trying to make a POSIT algorithm? You can take a look at the C# accord POSIT algo: http://accord-framework.net/samples.html# Maybe someone known a good C++ implementation for this. You need to find the transform then make a reverse look up to the original pixel and make an interpolation

[Interest] Understanding QImage::transformed()

2018-12-14 Thread Jason H
I have an image. I have identified 4 control points in in image (1920x1080). I want to map the points to a square image, of 1080 on a side. QPolygonF fromPoly(QVector { ... }); QPolygonF toPoly(QVector {QPoint(squareDimension/2, 0), QPoint(squareDimension, squareDimension/2), QPoint(squareDimensi

[Interest] Qt Creator vs inline headers

2018-12-14 Thread Bernhard Lindner
Hi! *.inl files are usually used as cascaded headers containing template and inline definitions. Qt Creator handles such files as source files (similar to *.cpp) instead of header files(similar to *.hpp). I can fix that in the MIME settings but it seems to make no sense. Why is Qt Creator con

Re: [Interest] Qt examples and primary screen

2018-12-14 Thread Laszlo Agocs
Hello, Like you found out, category 2 are all QWidget apps. The advanced stuff in eglfs (like multiscreen, cloning, and such) may not be fully supported for the QWidget stack as the primary target on embedded is Qt Quick. You need to poke around in qtbase/src/platformsupport/platformcompositor

[Interest] Qt examples and primary screen

2018-12-14 Thread Mylène Josserand
Hello everyone, I need some hints about some behaviors I have while running Qt examples. Here is my setup: - a custom embedded platform based on IMX6 - Qt 5.11 - 2 displays: HDMI and LVDS - a touchscreen on top of the LVDS - want to be able to use only LVDS, only HDMI or both LVDS a