Re: [Interest] Qt3D - QObjectPicker doesn't work with multiple QLayers and QLayerFilters

2024-08-22 Thread Mike Krus via Interest
these should change the issue but might be something worth trying. If you have a small example I can use to reproduce the issue, please create a bug report and assign it to me. Mike > On 22 Aug 2024, at 14:19, Sakthi G wrote: > > Hello, We have a Qt3D application where we have

Re: [Interest] problem with type registration during QML module compilation

2024-07-12 Thread Mike Trahearn
One option I just thought of (although convoluted) is keeping your original library as-is and then making a QML module containing not much more than headers with structs that declare QML_FOREIGN over just the types that need to be used in QML. Those headers can be in the same folder as the QML modu

Re: [Interest] problem with type registration during QML module compilation

2024-07-12 Thread Mike Trahearn
s your existing include paths from the non QML Module-ised project are going to break as you do so. QML Modules - brilliant if they work. PITA when they don’t. And such wonderful documentation for mere mortals. Mike > On 13 Jul 2024, at 4:36 AM, Stefan Seefeld wrote: > > Hello, >

Re: [Interest] {Qt3D} Problem with the look of QDiffuseSpecularMaterial moving from Qt5 to Qt6

2024-05-07 Thread Mike Krus via Interest
Hi do you know which backend you are using? RHI (default)? If so, could you try the GL backend? In either case, please create a bug report with, if possible, a small example to reproduce the issue. Mike > On 4 May 2024, at 23:25, Andy wrote: > > I've been upgrading an old

Re: [Interest] "Qt Quick 3D Physics" C++ Port/Frontend?

2024-05-03 Thread Mike Krus via Interest
substantial investment which would need to be supported by other contributions. Regards, Mike > On 1 May 2024, at 09:28, d3fault wrote: > > Are there plans to ever bring physics to Qt 3D 2.0, specifically the C++ > frontend? > > Also is it possible to simulate physics behind the

Re: [Interest] qt_add_qml_module() RESOURCES vs qt_add_resources()

2024-02-16 Thread Mike Trahearn via Interest
f much more power, flexibility and productivity. I do hope you get your project into the shape you need. It does sound like but of a pickle at the moment but it is not going to be difficult to get you straight so do not fear or get frustrated. We will get you there! ___

Re: [Interest] qt_add_qml_module() RESOURCES vs qt_add_resources()

2024-02-16 Thread Mike Trahearn via Interest
I have been watching the progression of this... Ulf is right. I've had this out with him many times inw writing and in person due to our out "strange non conforming" repository setup. However in our case, we do not reak any of the proper QML Module boundaries so once we apply the various allowed

Re: [Interest] unnecessary files in qrc system in webassembly

2024-02-06 Thread Mike Trahearn via Interest
_1s!sJaDFZor5935rQPXkPofNIRMZdWXlSXnJx1ffjiblRUJvup2d01cv_MfJXd4EIVJlOlOaAC1DMyhXL8O-A$> https://bugreports.qt.io/browse/QTBUG-120056 But for now, not much can be done about it. Mike From: Interest on behalf of Adam Date: Wednesday, 7 February 2024 at 4:31 am To: interest@qt-project.org Subject: Re: [Interest] unnecessary files in qrc system in webas

Re: [Interest] best base style for dual Qt5/Qt6 QML app

2024-02-04 Thread Mike Trahearn via Interest
The only one which "might" look the same is Qt5 Default and Qt6 Basic (same but renamed). But otherwise, no. You may be better to make a custom style defined for your specific use case so you can be confident in your assumptions. However, doing that itself has a different approach in Qt5 and Qt6

Re: [Interest] unnecessary files in qrc system in webassembly

2024-02-02 Thread Mike Trahearn via Interest
relevant CMake project/module info would be helpful for someone here to better understand your specific case and more importantly, if there might be a bug. Mike From: Interest on behalf of Adam Sent: Saturday, February 3, 2024 1:19:35 AM To: interest@qt-project.org

Re: [Interest] CMake - List Sources: qt_add_executable vs qt_add_qml_module

2024-01-30 Thread Mike Trahearn via Interest
If your sources are intended to be part of the QML module, that is, available to QML having imported Main_Module, then you should put your sources under the module. If the sources are just assistant to your main.cpp and have no need to be used in QML then they can go under the application. Sourc

Re: [Interest] sharing singleton instance between C++ and QML

2023-10-26 Thread Mike Trahearn via Interest
__ From: Ulf Hermann Sent: Thursday, October 26, 2023 7:53:17 PM To: Mike Trahearn ; interest@qt-project.org Subject: Re: [Interest] sharing singleton instance between C++ and QML > For the record it is actually possible (I proved it) to create multiple > instances of the same singleton

Re: [Interest] sharing singleton instance between C++ and QML

2023-10-26 Thread Mike Trahearn via Interest
well crash. In this case the instrument of choice is more like a lasso than a gun to keep the GC in check. Your seasoned wisdom as always is appreciated. Mike From: Interest on behalf of Ulf Hermann via Interest Sent: Thursday, October 26, 2023 4:50:54 PM To

Re: [Interest] replacing StatusIndicator with QML primitives

2023-10-02 Thread Mike Trahearn via Interest
.qml Most of the Canvas drawing can be done with Shapes module which gives you all the circle fills and gradient stops API and the DropShadow with the new MultiEffect component. Hope this gets you closer to what you need. Mike From: Interest on behalf of

Re: [Interest] replacing StatusIndicator with QML primitives

2023-10-02 Thread Mike Trahearn via Interest
the drawing. Then your external API can use the enumeration only. That way, you can start with some rectangles and then upgrade to nicer visuals later without harming your code. There are many ways to do it. The limit is only your imagination. Hope that helps, Mike __

Re: [Interest] Centering camera on bounding volume change in Qt3D

2023-04-14 Thread Mike Krus via Interest
> On 26 Mar 2023, at 17:34, Maxime Roussin-Bélanger > wrote: > > On Sun, Mar 26, 2023 at 3:35 AM Mike Krus wrote: >> >> But doesn’t the system know you are changing the entities? >> You say mouse click changes the entities, what does it do exactly, are yo

Re: [Interest] Centering camera on bounding volume change in Qt3D

2023-03-24 Thread Mike Krus via Interest
Hi Have you tried to call QCamera::viewAll() ? Mike > On 24 Mar 2023, at 21:38, Maxime Roussin-Bélanger > wrote: > > Hi there, > > Despite searching through the documentation, I couldn't find a solution to my > problem. I have a 3D scene, and I am trying to

Re: [Interest] Qt3D Fit in view

2023-03-10 Thread Mike Krus via Interest
ut > the Qt 3D classes yet to know if there's some easy way to compute the > correct transform > required to set this up? > > The .obj files I'm playing around with have VASTLY different scale factors > so a > camera setting for one entity often doesn't wor

Re: [Interest] Qt3D : QSceneLoader - determining scene level geometry bounding box

2022-08-08 Thread Mike Krus via Interest
please file a bug report Mike > On 8 Aug 2022, at 17:21, Nicholas Yue wrote: > > Hi Mike, > > I have now tried calling updateImplicitBounds() but it returns false > > Is that indicating some underlying issue elsewhere? > > ``` > Status changed: Qt3DRender::

Re: [Interest] Qt3D : QSceneLoader - determining scene level geometry bounding box

2022-08-03 Thread Mike Krus via Interest
component was assigned to, and components and entities are all QObjects so you can use the normal tree traversal techniques that work with any QObject to find objects by type or name. Mike > On 3 Aug 2022, at 00:14, Nicholas Yue wrote: > > Thank you Mike. > > Follow up questi

Re: [Interest] Qt3D : QSceneLoader - determining scene level geometry bounding box

2022-08-02 Thread Mike Krus via Interest
the same properties will be updated. In Qt5, the QGeometry node associated with each render has similar min/max properties (note that they only valid if the mesh uses all the geometry). Hope this helps, Mike > On 1 Aug 2022, at 16:05, Nicholas Yue wrote: > > Hi, > > I am

Re: [Interest] Qt5.15 from source on centOS 7

2022-07-05 Thread Mike Rochefort
around the OpenSSL 1.1.x issue is by manually passing the header and library search paths to configure. https://github.com/AcademySoftwareFoundation/aswf-docker/blob/master/scripts/base/build_qt.sh They are also using the openssl11-devel package provided by EPEL. Cheers, Mike

Re: [Interest] Qt5.15 from source on centOS 7

2022-06-22 Thread Mike Rochefort
*11.pc files to their counterparts and see if that helps pick things up. yum remove openssl-devel cd /usr/lib64/pkgconfig ln -s libcrypto11.pc libcrypto.pc ln -s libssl11.pc libssl.pc ln -s openssl11.pc openssl.pc Cheers, Mike ___ Interest ma

Re: [Interest] Impact of QtWayland licensing on applications bundling OSS Qt?

2022-06-21 Thread Mike Rochefort
says. Thanks for submitting that fix, looking at the update from Volker it appears this was indeed an error. I appreciate all your help on this, Thiago (+ Qt folks for reviewing and approving the patch)! Cheers, Mike ___ Interest mailing list Interest@q

Re: [Interest] Impact of QtWayland licensing on applications bundling OSS Qt?

2022-06-20 Thread Mike Rochefort
52). As I mentioned previously IANAL, but would these sources files have the impact of GPLing the QtWayland client library? How Qt likes to handle the "not-really-meant-for-public-use" APIs is a bit beyond me. Cheers, Mike ___ Interest mail

Re: [Interest] Qt3D/C++: How to disable rendering while makeing changes to the the Scenegraph

2022-06-20 Thread Mike Krus via Interest
st be due to the GL state needing to be updated. You should take care to minimise such changes. Another thing to note, if you have 2 Qt3DWindows, then you have 2 underlying Qt3DEngine instances. These do not share resources so everything might be done twice. Of course it’s impossible to provide ac

Re: [Interest] Qt5.15 from source on centOS 7

2022-06-18 Thread Mike Rochefort
shell inside the DTS environment $ scl enable devtoolset-11 $SHELL $ g++ --version DTS 7 through DTS 11 (e.g. GCC 7 through 11) are currently available on the mirrors; I would recommend going as current as you can. Cheers, Mike ___ Interest mailing list Int

Re: [Interest] Impact of QtWayland licensing on applications bundling OSS Qt?

2022-06-16 Thread Mike Rochefort
ptional for Qt5?) - libQt{5,6}WaylandClient.so.{5,6} (linked by the above objects) Cheers, Mike ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

[Interest] Impact of QtWayland licensing on applications bundling OSS Qt?

2022-06-16 Thread Mike Rochefort
yland module doesn't follow the same licensing as QtBase where the other QPA plugins are provided? Cheers, Mike ___ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest

Re: [Interest] alphabetize the symbol menu?

2022-04-27 Thread Mike Chinander
It's supposed to be fixed in QtCreator 8 https://bugreports.qt.io/browse/QTCREATORBUG-27392 https://bugreports.qt.io/browse/QTCREATORBUG-27411 On Wed, Apr 27, 2022 at 11:55 AM John Weeks wrote: > With the clangd code model in the latest versions of Qt Creator, we seem > to have lost the ability

Re: [Interest] License for Qt6 QtMultimedia module (LGPL?)

2022-02-16 Thread Mike Krus via Interest
Hi I thought qtshadertools had been relicensed as LGPL for 6.3? Mike > On 15 Feb 2022, at 18:27, Adam Light wrote: > > > > On Tue, Feb 15, 2022 at 10:20 AM Alexey Edelev wrote: > Shadertools module provides an executable that is used by multimedia at build > time

Re: [Interest] QtCreator 5.0.1 bug

2021-10-06 Thread Mike Chinander
QtCreator 5.0.2 is supposed to fix this. https://code.qt.io/cgit/qt-creator/qt-creator.git/tree/dist/changes-5.0.2.md?h=5.0 On Wed, Oct 6, 2021 at 9:51 AM Nuno Santos wrote: > Hi, > > Is just me or we can’t cancel builds on the latest QtCreator? > > When I choose to cancel a build, the build sto

Re: [Interest] QFile and file shortcuts on Windows.

2021-09-24 Thread Mike Chinander
You'll probably only have to write a little extra code and use QFileInfo::isSymLink() and QFileInfo::symLinkTarget() On Fri, Sep 24, 2021 at 10:01 AM Crocker, William < william.croc...@analog.co

Re: [Interest] Qt6 porting guidance: (MSDEV) QMAKE_CXXFLAGS += /source-charset

2021-07-08 Thread Mike Chinander
Does it let you remove the utf-8 option? QMAKE_CXXFLAGS -= /utf-8 On Thu, Jul 8, 2021 at 8:20 PM David M. Cotter wrote: > all my source code was originally written on mac in the late 90's early > aughts. (of course more written since, but using same source file text > encoding) > > it's a monu

Re: [Interest] Drawing Frustum on Scene3D

2021-03-06 Thread Mike Krus via Interest
Hi in Qt 3D you can use a QGeometryRenderer with primitiveType set to Lines (or LineLoop, LineStrip depending on how you structure your data). Checkout https://code.qt.io/cgit/qt/qt3d.git/tree/tests/manual/raycasting-qml/LineEntity.qml Mike > On 5 Mar 2021, at 14:16, Alex john wr

Re: [Interest] Rendering 3d object on webcam video

2021-03-03 Thread Mike Krus via Interest
Hi try putting the camera first, then setting the clear colour of your frame graph to “transparent” ? Mike > On 3 Mar 2021, at 14:28, Alex john wrote: > > > Hello, > > I am trying to overlay a 3d object(.obj file) on top of the video, I could > successfully l

Re: [Interest] Trouble compiling qt3d for qt6 on windows 10

2021-02-16 Thread Mike Krus via Interest
Hi Assuming qt-configure-module.bat invokes qmake, the right way of passing the configure options is “-- -qt3d-simd=avx2” If it’s invokes cmake, then try -DFEATURE_qt3d_simd_avx2=ON Mike — Mike Krus | mike.k...@kdab.com | Senior Software Engineer & Teamlead KDAB (UK) Ltd., a KDAB Group com

Re: [Interest] Qt3D widget

2020-09-01 Thread Mike Krus via Interest
have Qt 3D draw There’s of course lots of other stuff to setup. Might need a dummy offscreen surface to handle sizing, handling of the context, and a fair amount more. Mike > On 1 Sep 2020, at 16:51, Florian Blume wrote: > > Hi, > > I'm trying to implement

Re: [Interest] Qt3D performance, and development resources

2020-04-14 Thread Mike Krus via Interest
gt; I’m trying to get some traction with this product, and any guidance is really > appreciated. Feel free to get in touch if you need more help. Mike > Thanks, > Charlie > > > > ___ >

Re: [Interest] [Qt3D] Transform feedback

2020-02-22 Thread Mike Krus via Interest
better off using compute shaders which are fully supported. Mike > On 20 Feb 2020, at 12:55, Léo Adam wrote: > > Hi, > > I am currently working in a medical imaging team on 3D rendering with Qt3D. > > That's why I would need to perform transform feedback, but af

Re: [Interest] [Qt3D] Assertion in QAbstractAspect when inserting entity from plugin DLL

2020-02-07 Thread Mike Krus via Interest
Hi I can’t say I’ve across such an error before. Can you get a call stack? If you set a conditional break point at the assert (based on metaObj being null) then it might provide some insight? Feel free to report it as a bug, Mike > On 7 Feb 2020, at 13:52, Volker Enderlein >

Re: [Interest] OpenCV + Qt iOS: Wrong JPEG library version: library is 62, caller expects 80

2020-01-22 Thread Mike Krus via Interest
mine, for similar issues using GDAL, was to build everything from source, zlib, png, jpeg, tiff, gdal, qt (making sure you select external jpeg/png for the later). It’s a pain (and super time consuming) but all due to static linking. Mike > On 22 Jan 2020, at 13:19, Pierre-Yves Siret wr

Re: [Interest] Operator QMap[] is casting to int?

2019-05-03 Thread Mike Chinander
On that last line you're indexing a QList which takes an int for its argument. https://doc.qt.io/qt-5/qlist.html#operator-5b-5d On Fri, May 3, 2019 at 9:44 AM Jason H wrote: > Given the code below: > QMap reverseHistogram; > ... > QList reverseKeys = reverseHistogram.keys(); > int foregroundInd

Re: [Interest] Solidworks and QML

2019-03-29 Thread Mike Krus via Interest
Hi that should be fine. With Kuesa, you should be able to access parts by name, get their transform component, and apply all the changes you want from qml. Mike > On 29 Mar 2019, at 17:15, Colin Worth wrote: > > Hi Mike, > > Thanks for the help. Will look into those two

Re: [Interest] Solidworks and QML

2019-03-29 Thread Mike Krus via Interest
hard coding them in QML. Kuesa makes is it really easy to import rich scenes authored in Blender, 3DS Max or other tools that support glTF 2. Hope this helps, Mike > On 29 Mar 2019, at 15:45, Colin Worth wrote: > > Looking for help from someone who’s worked with 3D meshes in Qt

Re: [Interest] [Qt3D] What are active render targets for a ScreenRayCaster?

2019-03-28 Thread Mike Krus via Interest
example. Regards, Mike > On 28 Mar 2019, at 11:13, Volker Enderlein > wrote: > > Hi, > > The KDAB article > https://www.kdab.com/new-in-qt-3d-5-11-generalized-ray-casting/ states that > the ScreeenRayCast test is performed for every active render target. I just > stum

Re: [Interest] Qt3D setting LineWidth per GeometryRenderer/Entity

2019-02-06 Thread Mike Krus via Interest
control to that… Mike > On 6 Feb 2019, at 08:20, Volker Enderlein > wrote: > > Hi all, > > > is it possible to set the LineWidth of a GeometryRenderer of primitive tpye > Lines or do I need a Custom Material/Effect/FrameGraph node to achieve this? > > Thanks fo

Re: [Interest] Qt3D setting LineWidth per GeometryRenderer/Entity

2019-02-06 Thread Mike Krus via Interest
control to that… Mike > On 6 Feb 2019, at 08:20, Volker Enderlein > wrote: > > Hi all, > > > is it possible to set the LineWidth of a GeometryRenderer of primitive tpye > Lines or do I need a Custom Material/Effect/FrameGraph node to achieve this? > > Thanks fo

Re: [Interest] Qt3D viewAll/viewEntity

2019-02-06 Thread Mike Krus via Interest
, contributions are more than welcome :) Mike > On 6 Feb 2019, at 08:17, Volker Enderlein > wrote: > > Hi all, > > why does the viewAll and viewEntity commands of QCamera only work in > PerspectiveProjection type? > > Thanks for enligh

Re: [Interest] CAN Bus Api QML

2019-01-10 Thread Mike
Have a good look at source on comma.ai and how all their technology works for Autonomous Driving and Can Bus. Github repo also. Sincerely, Mike Tallent https://www.objectwheel.com On Wed, Jan 9, 2019 at 10:18 AM Aboubacar DIAW wrote: > Hello, > Anyone know is there is a CAN api writte

Re: [Interest] Qt3D: Rendering issues with custom effects

2019-01-09 Thread Mike Krus via Interest
Hi any chance you could try a more recent version? Lots of fixes since then… Mike > On 9 Jan 2019, at 10:59, Volker Enderlein > wrote: > > Hi, > > > > I am facing some rendering issues with custom effects in Qt3d. To mark some > of the entities selected I re

Re: [Interest] Qt-12 with Dark Theme on MacOS Mojave

2018-12-20 Thread Mike Krus via Interest
urn QMainWindow::event(event); } Event gets sent when switching between themes… Of course, I’m just using the base colour as is, not trying to figure out if it’s light or dark… Hope this helps, Mike > On 20 Dec 2018, at 18:48, coroberti . wrote: > > Hi, > Qt-12 well manage

Re: [Interest] Sample Code for Apple TV and Apple Watch Qt Garage demos at Qt World Summit 2016

2018-10-18 Thread Mike Krus via Interest
sable though). Main issue (including for QtQuick) is due to how input works with the controller. Never got around to implementing some generic solution. Mike > On 18 Oct 2018, at 14:13, Jeffrey Brendecke > wrote: > > > >> On Oct 17, 2018, at 19:24, Christophe T

Re: [Interest] Sample Code for Apple TV and Apple Watch Qt Garage demos at Qt World Summit 2016

2018-10-17 Thread Mike Krus via Interest
Apps & Multiplayer Games on iOS, Apple TB and Android by V-play > > iOS and watchOS with Qt > – Displaying watch app controlling Qt 3D Planets over the local network I believe this one is part of actual qt3d, although I can’t remember for sure if the patch was merged or not Mike

Re: [Interest] Does XCode 10 work for Qt iOS?

2018-09-24 Thread Mike Krus via Interest
t; http://lists.qt-project.org/mailman/listinfo/interest >>> ___ >>> Interest mailing list >>> Interest@qt-project.org >>> http://lists.qt-project.org/mailman/listinfo/interest >> >> _

Re: [Interest] How to load 3D scene with QSceneLoader

2018-09-13 Thread Mike Krus via Interest
Hi that doesn’t look like a valid url you are loading there… try QUrl(“file:///home/botond/Desktop/castle_on_hill.dae”) ? Mike > On 13 Sep 2018, at 18:24, Botond D wrote: > > Hi, > > I've been struggling to load a 3D scene from a Collada (DAE) file. I've been

Re: [Interest] QML vs Electron

2018-08-07 Thread Mike Krus via Interest
but not on Apple's part (because they don't allow the re-linked > application to run due to their DRM.) given all the appropriate project setup and compiled object code (.o, .a, even shared lib files), a user signed up to the free Apple Developer should in theory be able to link anot

Re: [Interest] [Qt3d] Textures flickering

2018-07-29 Thread Mike Krus via Interest
Hi hard to say from the short video, but it looks like you may have z fighting going on, two coinciding meshes and the lack on precision causing this flickering… Mike > On 29 Jul 2018, at 14:58, Oleg Evseev wrote: > > Hi all, > > When I load big models with help QSceneLoade

Re: [Interest] [Qt3d] Scene camera manipulation

2018-05-24 Thread Mike Krus
t3d > implementation, and could not figure out how to do it with Qt3d. > > thanks in advance. > > best regards for Qt/Qt3d teams. > ___ > Interest mailing list > Interest@qt-project.org > http://lists.qt-project.org/mailman/

Re: [Interest] Interest Digest, Vol 79, Issue 20

2018-04-26 Thread Mike Chinander
Has the Superconducting Super Collider been revived? On Thu, Apr 26, 2018 at 7:38 AM, Roland Hughes wrote: Read up on seismic testing or stuff happening with the Super Colliding > Super Conductor. In the case of SCSC many thousands of disposable chip > "sensors" running an application to pick up

Re: [Interest] Qt Charts: Making the legend top and right aligned

2018-04-11 Thread Mike Chinander
Not sure of a solution to this, but noticed that unlike other uses of Qt::Alignment flags, the QLegend docs say, "If you set more than one flag, the result is undefined." https://doc.qt.io/qt-5.10/qlegend.html#alignment-prop On Wed, Apr 11, 2018 at 8:51 AM, Christopher Probst < christop.pro...@gm

Re: [Interest] Qt-3D scene file formats

2018-03-16 Thread Mike Krus
of formats that supports. Mike [1] https://github.com/assimp/assimp#supported-file-formats > -- > Best regards/Schöne Grüße > > Martin > A: Because it breaks the logical sequence of discussion > Q: Why is top posting bad? > > () ascii ribbon campaign - against html e-mail

Re: [Interest] QML Rotation sensor readings [images]

2018-02-02 Thread Mike Chinander
Are you sure you can't specify any orientation with these angular ranges? Are you looking at all the three rotation angles in the example you gave in your bug report (i.e., the 'roll' angle might be 180 for your cases when you are expecting the pitch angles to be greater than 90)? Android orientati

Re: [Interest] Qt Charts questions

2018-01-08 Thread Mike Chinander
You are right; it's available for Commercial licensees too. I misinterpreted you saying QCustomPlot wasn't an option for you since it was GPL. On Mon, Jan 8, 2018 at 2:03 PM, Murphy, Sean wrote: > > The Qt Charts module is licensed under GPL, not LGPL. See: > > http://doc.qt.io/qt-5/qtmodules.ht

Re: [Interest] Qt Charts questions

2018-01-08 Thread Mike Chinander
The Qt Charts module is licensed under GPL, not LGPL. See: http://doc.qt.io/qt-5/qtmodules.html#gpl-licensed-addons On Mon, Jan 8, 2018 at 1:13 PM, Murphy, Sean wrote: > > > I find that they work well if you're just trying to have one plot, but > I'm struggling to get > > > them to work the way

[Interest] Evaluating the results of QSqlQuery across different threads resulting in memory leaks

2017-12-11 Thread mike neuhaus
e: I can cache the results and give back those cached results to the other threads, instead of using the QSqlQuery class. However, because the current program is using the QSqlQuery class extensively I'd like to remain using that over the cached results to minimize changes in the curren

Re: [Interest] Issue with concurrent QNetworkRequests

2017-09-26 Thread Mike Chinander
Why can't you use only one QNetworkAccessManager instance for your application? On Tue, Sep 26, 2017 at 1:55 PM, Jani Tykka wrote: > Hi, > > I'd ask if the following issues would ring anyones bells, before I start > doing more deeper investigation and create test application to reproduce > the i

Re: [Interest] Transparent titlebar in macOS (QTBUG-61332)

2017-07-17 Thread Mike Krus
Hi have you checked https://www.youtube.com/watch?v=qfyxXxeC73Y ? Mike > On 17 Jul 2017, at 10:36, Benjamin B wrote: > > Hello, > > I reported a bug recently about not being able to create a window with a > transparent titlebar in Qt Quick under macOS 10.10+ > (htt

Re: [Interest] Qt3D on Android

2017-06-08 Thread Mike Krus
Hi Hi it won’t work on tvOS (unless widgets was enabled in the build) but I don’t see why it would work on iOS either (other than the layout not really fitting the screen and the checkboxes being too small) Mike > On 7 Jun 2017, at 11:30, Paul Lemire wrote: > > Hi Max, > >

Re: [Interest] Qt iOS and App Extensions

2017-05-22 Thread Mike Krus
ic examination of the project and associate files (plist and all) and see how to manually setup your own project. Lots of the editing the Xcode project file in a text editor to make it do what you want. Mike > for now I’m just trying to handle project configuration issues. There will be &

Re: [Interest] Qt iOS and App Extensions

2017-05-22 Thread Mike Krus
As far as I know, qmake is not capable of generating Xcode projects with the right structure (need 2 to start with, different project types, etc). Mike > On 21 May 2017, at 11:13, Nuno Santos wrote: > > Robert, > > There is clearly a communication problem here. Maybe I’

Re: [Interest] Qt and MSVC 2017

2017-04-29 Thread Mike Chinander
On Sat, Apr 29, 2017 at 10:33 AM, Thiago Macieira wrote: > Qt 5.8 works with MSVC 2017 flawlessly. > > Note: 5.8, not 5.8.0. > What's the distinction between 5.8 and 5.8.0? MaintenanceTool is telling me that 5.8.0-1 is the latest version of 'Qt 5.8'. _

Re: [Interest] Qt and MSVC 2017

2017-04-29 Thread Mike Jackson
In theory the 2015 will work as MS did not change the C/C++ runtime with VS2017. This is a theory of course. -- Mike Jackson Igor Mironchik <mailto:igor.mironc...@gmail.com> April 29, 2017 at 9:06 AM Hello, In what version of Qt will be added official binaries for MSVC 2017? Tha

Re: [Interest] Plane rotations

2017-04-05 Thread Mike Chinander
The following is equivalent to your equation: float cosAngle = QVector3D::dotProduct(v1.normalized(), v2.normalized()); Your numerator is the dot product and the denominator does the normalization (makes them unit vectors). On Wed, Apr 5, 2017 at 7:50 AM, Igor Mironchik wrote: > Hi, > > > 05.0

Re: [Interest] Qt3D - Bounds of visible entities

2017-03-26 Thread Mike Krus
e message, but I don’t think a frontend node can listen to it’s own change messages. > Is there an easier approach that I'm missing? I think currently you would have to maintain all the necessary information in your application, making sure it’s updated when the scene graph changes, etc. H

Re: [Interest] Qt3D - QObjectPicker clicked vs. pressed

2017-03-18 Thread Mike Krus
yes, please file a JIRA. Don’t think it’ll make it to 5.9 as it’s a change in behaviour but lets see… Mike > On 18 Mar 2017, at 13:54, Andy wrote: > > Thanks Mike. > > So is that working as intended or should I file a JIRA for it? Seems > broken/not-as-use

Re: [Interest] Qt3D - QObjectPicker clicked vs. pressed

2017-03-18 Thread Mike Krus
Hi Andy yes, I can confirm the behaviour you describe. A work around may be to track move events (by enabling dragging) and set a flag to ignore the click event? If picking is costly, you could combine the picker with a MouseDevice and track moves there without enabling dragging. Mike >

Re: [Interest] Calling "Open in..." dialog in iOS

2017-03-11 Thread Mike Krus
the screen rect where the share button is (so the native floating dialog can be positioned correctly). Once in ObjC space, you’ll need to get hold of the navigation controller and main view to present to the sharing dialog. Good luck, Mike > On 11 Mar 2017, at 03:11, Patrick Stinson wr

Re: [Interest] How to paint smooth rendering of connected QLineF's?

2017-02-28 Thread Mike Chinander
If you are doing this within a QGraphicsView, make sure you turn on antialiasing . Also, you might want to try a rounded join style on the QPen you are using. Posting an example of what you are g

Re: [Interest] QTemporaryFile::open()

2017-02-17 Thread Mike Chinander
See: http://doc.qt.io/qt-5/qtemporaryfile.html#open "A QTemporaryFile will always be opened in QIODevice::ReadWrite mode, this allows easy access to the data in the file. This function will return true upon success and will set the fileName() to the unique filename used." On Fri, Feb 17, 2017 at

Re: [Interest] Qt Android - Google Drive API

2017-02-16 Thread Mike Chinander
It's only a TechPreview in Qt5.8, but check out this blog post on using QNetworkAuth. http://blog.qt.io/blog/2017/01/25/connecting-qt-application-google-services-using-oauth-2-0/ On Thu, Feb 16, 2017 at 10:13 AM, Viktor Engelmann wrote: > https://itsfoss.com/use-google-drive-linux/ looks promis

Re: [Interest] QDataStream null terminated string / Bug or expected behavior?

2017-02-10 Thread Mike Chinander
I think it's str.c_str() that's adding the null character at the end of your string, not anything with QDatastream or QBytearray. On Fri, Feb 10, 2017 at 9:27 AM, Etienne Sandré-Chardonnal < etienne.san...@m4x.org> wrote: > Thanks for the link. Yes, I'm doing something bad, but there is no strong

Re: [Interest] QDataStream null terminated string / Bug or expected behavior?

2017-02-09 Thread Mike Chinander
How are you comparing it to "test" after reading to the QByteArray? You could use str.data() instead str.c_str(). Or use QStrings to read to/from the QDatastreams. On Thu, Feb 9, 2017 at 11:18 AM, Etienne Sandré-Chardonnal < etienne.san...@m4x.org> wrote: > Dear all, > > I just found out a bug in

Re: [Interest] QDateTime Issue in Qt5.8.0 msvc2013,msvc2015

2017-02-01 Thread Mike Chinander
On Wed, Feb 1, 2017 at 8:44 AM, Günter Michel wrote: > This simple code returns an invalid date compiled with Qt5.8.0 msvc2013: > > QDateTime dt = QDateTime::currentDateTime(); > > Compiling with mingw results in correct date but wrong time. Code works in > Qt5.7.1 > What's going on here? > Thi

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-22 Thread Mike Chinander
QtDeclarative wasn't built for me. On Sun, Jan 22, 2017 at 4:03 AM, Prav wrote: > Hello, Mike and Everyone. > > > > I compiled Qt 5.8.0 RC on Windows 7 with MSVC2013 and the Windows 8 SDK. Can > you (or anyone) share confgure string which successfully build Qt 5.8.0 RC >

Re: [Interest] Qt 5.8.0 RC build under windows

2017-01-18 Thread Mike Chinander
On Wed, Jan 18, 2017 at 1:04 AM, Prav wrote: > > Does anyone know about requirements of using Win10SDK for Qt 5.8.0? Is > Win10SDK is really necessary to build Qt even for Win7 or it is bug in Qt > build system? I compiled Qt 5.8.0 RC on Windows 7 with MSVC2013 and the Windows 8 SDK. __

Re: [Interest] Which "Widget" technology to use when starting a new desktop app

2017-01-05 Thread Mike Jackson
ith the traditional QWidgets for our desktop app but get away from the QGraphics* classes and replace that older code with code based on QOpenGlWidget so we can get accelerated 2D rendering. Thanks all for your responses and suggestions. Mike Jackson _

Re: [Interest] Which "Widget" technology to use when starting a new desktop app

2017-01-05 Thread Mike Jackson
5.8 solve any of these issues? Do you find the "Built in" styles acceptable for applications or do you end up bringing in a UX engineer to style the components? Thanks Mike Jackson ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

[Interest] Which "Widget" technology to use when starting a new desktop app

2017-01-05 Thread Mike Jackson
edium=email&utm_content=38349957&_hsenc=p2ANqtz-_OQYaCO6wb88VHD74o0lNXfMmleVTmkD0xK0R42_e8YaWPrimIoWHLQlM0VzYmf-U_A4EAMiWaVH9__M0EMX190Ih57w&_hsmi=38349957 -- Mike Jackson [mike.jack...@bluequartz.net] ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Update breaks version

2016-12-19 Thread Mike Chinander
Are you sure you are not mixing MinGW and VS builds/libraries? On Mon, Dec 19, 2016 at 11:03 AM, Duane wrote: > On 19/12/2016 11:49 AM, Duane wrote: > >> On 19/12/2016 11:03 AM, Kai Koehne wrote: >> >>> -Original Message- From: Interest [mailto:interest-bounces+kai.koehne=qt...@qt-p

[Interest] VS 2017 Precompiled Binaries

2016-12-07 Thread Mike Jackson
. -- Mike Jackson [mike.jack...@bluequartz.net] ___ Interest mailing list Interest@qt-project.org http://lists.qt-project.org/mailman/listinfo/interest

Re: [Interest] Faster Qt app build

2016-10-21 Thread Mike Jackson
e 840 EVO drive. -- Mike Jackson [mike.jack...@bluequartz.net] Nuno Santos wrote: For Mac/iOS applications Qt uses clang (sorry for the misunderstanding) For Android build Qt uses GCC My main dev machine is a Macbook 13 Retina i5 2.5 dual core with a stock SSD drive The Windows machine I

Re: [Interest] Faster Qt app build

2016-10-21 Thread Mike Jackson
le has not shipped GCC (at least a recent version) in a long time. -- Mike Jackson [mike.jack...@bluequartz.net] Nuno Santos wrote: Hi, On Windows, building a Qt app is blazing fast. It seems that jom takes the cpu cores to it’s maximum power. On Mac the GCC builds are really slow and passi

Re: [Interest] [OS X] 10.12 SDK breaks qt5-qtconnectivity build (on 10.11)

2016-10-03 Thread Mike Krus
HI went for a more all encompassing (or brutal) approach here: https://codereview.qt-project.org/#/c/172612/ <https://codereview.qt-project.org/#/c/172612/> Mike > On 2 Oct 2016, at 21:51, René J.V. Bertin wrote: > > On Sunday October 02 2016 21:26:13 Samuel Gaist wrote: >

Re: [Interest] Problem compiling boost::python code in Qt

2016-09-28 Thread Mike Chinander
On Sep 28, 2016 10:54 PM, "Kapil Gupta" wrote: > > Hi, > > I am using Boost::python for access to python code from c++. > When I included the `PythonLibs` and Boost::Python into my code, I started having this error: > > ``` > /usr/include/python3.5m/object.h:445:23: error: expected unqualified-id

Re: [Interest] Current QDataStream format documentation?

2016-09-23 Thread Mike Chinander
On Fri, Sep 23, 2016 at 11:47 AM, Reinhardt Behm wrote: > Or the have two devices are both based on Qt, but different versions. Isn't this precisely the situation that QDataStream::setVersion() is for? ___ Interest mailing list Interest@qt-project.org

Re: [Interest] Memory Leak when instantiating QWidget based windows

2016-09-10 Thread Mike Jackson
Thanks for the tips! -Ed Qt Creator 4.01 with Qt 5.6.1 On Sep 8, 2016, at 7:56 AM, Andy mailto:asmalo...@gmail.com>> wrote: Mike: If you haven't already tried it, using Qt Creator in combination with valgrind works really well to track these

[Interest] Memory Leak when instantiating QWidget based windows

2016-09-08 Thread Mike Jackson
We are attempting to track down a memory leak that we _think_ we have. We have reduced our code to the point where all we do is invoke a new QWidget instance, show() it, hide() it and then delete it. We do this in a loop 100 times. We monitor the memory use before and after the loop using OS X'

Re: [Interest] Build Qt for command line only

2016-08-04 Thread Mike Jackson
Thiago Macieira wrote: On quinta-feira, 4 de agosto de 2016 00:41:59 PDT Scott Aron Bloom wrote: Im playing with the new Bash/WSL for windows 10, and want to create a Qt package. There is no X available, its only CLI based, what configuration options are the best for this setup? The XCB plugi

Re: [Interest] Help with Qt 5.6.1-1 32-bit build errors

2016-07-07 Thread Mike Chinander
Looks like it could be related to this bug report: https://bugreports.qt.io/browse/QTBUG-53393 Did you try re-running nmake/jom after you got this error? On Thu, Jul 7, 2016 at 10:57 AM, Bob Hood wrote: > I'm trying to build Qt 5.6.1-1 32-bit licensed static using Visual Studio > 2013. I am co

  1   2   >