[Interest] [qt6-windows] How can I install both debug and release version of qt libs after building?

2021-03-05 Thread Liang Jian
I build qt6 from qt-6.1 branch with the following commands: mkdir qt6-build > cd qt6-build > ..\qt5\configure.bat -prefix ..\qt6-win64 -debug-and-release -opengl > desktop -D QT_NO_BUILD_TESTS=ON -D QT_NO_MAKE_EXAMPLES=ON -skip qt3d -skip > qtactiveqt -skip qtgraphicaleffects -skip qtmultimedi

Re: [Interest] Drawing Frustum on Scene3D

2021-03-05 Thread Alex john
But in quick3D that would be done with a class derived from QQuick3DGeometry with primitives set to lines "setPrimitiveType(QQuick3DGeometry::PrimitiveType::Lines)" to construct a cube. Then register that class to qml and use it in your View3D. Hope it helps. Any alternative to QQuick3DGeometry as

Re: [Interest] Does QML have a way to detect if a click is outside an element?

2021-03-05 Thread Mark Gaiser
On Fri, Mar 5, 2021 at 11:40 AM Mitch Curtis wrote: > > -Original Message- > > From: Interest On Behalf Of Mark > Gaiser > > Sent: Friday, 5 March 2021 10:39 AM > > To: Qt Interest > > Subject: [Interest] Does QML have a way to detect if a click is outside > an > > element? > > > > Hi,

Re: [Interest] Drawing Frustum on Scene3D

2021-03-05 Thread joao morgado via Interest
Hi That frustum is just a group of lines in cube shape, you see it as a frustum because the camera is in perspective mode.I never used Qt3D so cannot help with scene3d. But in quick3D that would be done with a class derived from  QQuick3DGeometry with primitives set to lines "setPrimitiveType(

Re: [Interest] Does QML have a way to detect if a click is outside an element?

2021-03-05 Thread Mitch Curtis
> -Original Message- > From: Interest On Behalf Of Mark Gaiser > Sent: Friday, 5 March 2021 10:39 AM > To: Qt Interest > Subject: [Interest] Does QML have a way to detect if a click is outside an > element? > > Hi, > > Picture a QML window with a red rectangle in the middle of it (say 2

[Interest] Drawing Frustum on Scene3D

2021-03-05 Thread Alex john
Hello Qt I like to render a frustum as here https://imgur.com/a/BzmCQ2D on Scene3d. Can you let me know how it can be done? If I have to get the custom QML ,do I have to get it from the C++ and then push it to the QML context? Any pointers to basic code is appreciated. Thanks. ___

[Interest] Does QML have a way to detect if a click is outside an element?

2021-03-05 Thread Mark Gaiser
Hi, Picture a QML window with a red rectangle in the middle of it (say 200x200 px). The window itself is, say, 500x500 px. Now I'm looking for a way to detect when you click on any area outside the red rectangle but inside the white window area. The reason I need this is to provide a more intuit