ResInsight/Fwk/VizFwk
Magne Sjaastad 2814b92055
Qt6: Adjustments (#11804)
* Qt6: Avoid insertWidget, use addWidget
In Qt6, the insertWidget function checks if the index parameter is valid based on current widgets present in the layout. This is error prone, and use addWidget to avoid manual counting of index.

* Disable use of Qt keyword foreach

* Replace use of QRegExp with QRegularExpression
Replace use of QRegExp with QRegularExpression
Remove dependency on qt5compat module
Simplify an expression based on review

* Remove Qt5 ifdefs

* Guard access out of bounds seen in debug build

* Avoid reuse of string variable

* Disconnect all signals from the QOpenGLContext
The call stack when this assert happens indicates that there are more signals to be disconnected from the object. Crash is fixed by disconnecting all signals.

Assert seen in debug build:

ASSERT failure in caf::Viewer: "Called object is not of the correct type (class destructor may have already run)", file C:\Qt\6.6.3\msvc2019_64\include\QtCore/qobjectdefs_impl.h, line 130

* Fix issue related to delete of a linked view
Guard null pointer use in view linker. Remove complicated cleanup in destructor in Rim3dVew.
2024-10-28 13:09:18 +01:00
..
CMake/Utils VizFwk housekeeping (#11026) 2024-01-09 14:38:57 +01:00
Doxygen VizFwk housekeeping (#11026) 2024-01-09 14:38:57 +01:00
LibCore Fix "nonnull asserts" warnings on gcc 13. 2024-09-27 14:42:53 +02:00
LibFreeType VizFwk housekeeping (#11026) 2024-01-09 14:38:57 +01:00
LibGeometry Add support in VizFwk for using QOpenGLWidget derived view widget (#11091) 2024-01-23 08:48:05 +01:00
LibGuiQt Qt6: Adjustments (#11804) 2024-10-28 13:09:18 +01:00
LibIo Add support in VizFwk for using QOpenGLWidget derived view widget (#11091) 2024-01-23 08:48:05 +01:00
LibRegGrid2D VizFwk housekeeping (#11026) 2024-01-09 14:38:57 +01:00
LibRender Always link shader program if OglId is zero 2024-02-07 10:07:18 +01:00
LibStructGrid VizFwk housekeeping (#11026) 2024-01-09 14:38:57 +01:00
LibUtilities Add support in VizFwk for using QOpenGLWidget derived view widget (#11091) 2024-01-23 08:48:05 +01:00
LibViewing VizFwk housekeeping (#11026) 2024-01-09 14:38:57 +01:00
TestApps Qt6: Adjustments (#11804) 2024-10-28 13:09:18 +01:00
Tests #11072 Refactor: remove homemade atomic counter. 2024-04-17 15:41:15 +02:00
ThirdParty Add support in VizFwk for using QOpenGLWidget derived view widget (#11091) 2024-01-23 08:48:05 +01:00
Tools/Glsl2Include VizFwk housekeeping (#11026) 2024-01-09 14:38:57 +01:00
CMakeLists.txt Add support in VizFwk for using QOpenGLWidget derived view widget (#11091) 2024-01-23 08:48:05 +01:00