Warning, /sdk/clazy/docs/checks/README-qt6-header-fixes.md is written in an unsupported language. File is not indexed.
0001 Warns against include headers that have changed in Qt6. 0002 Replaces the code with the correct one. 0003 0004 Full list: 0005 0006 ``` 0007 ActiveQt/QAxAggregated replaced by QtAxServer/QAxAggregated 0008 ActiveQt/QAxBase replaced by QtAxContainer/QAxBase 0009 ActiveQt/QAxBindable replaced by QtAxServer/QAxBindable 0010 ActiveQt/QAxFactory replaced by QtAxServer/QAxFactory 0011 ActiveQt/QAxObject replaced by QtAxContainer/QAxObject 0012 ActiveQt/QAxScript replaced by QtAxContainer/QAxScript 0013 ActiveQt/QAxScriptEngine replaced by QtAxContainer/QAxScriptEngine 0014 ActiveQt/QAxScriptManager replaced by QtAxContainer/QAxScriptManager 0015 ActiveQt/QAxSelect replaced by QtAxContainer/QAxSelect 0016 ActiveQt/QAxWidget replaced by QtAxContainer/QAxWidget 0017 ActiveQt/qaxaggregated.h replaced by QtAxServer/qaxaggregated.h 0018 ActiveQt/qaxbase.h replaced by QtAxContainer/qaxbase.h 0019 ActiveQt/qaxbindable.h replaced by QtAxServer/qaxbindable.h 0020 ActiveQt/qaxfactory.h replaced by QtAxServer/qaxfactory.h 0021 ActiveQt/qaxobject.h replaced by QtAxContainer/qaxobject.h 0022 ActiveQt/qaxscript.h replaced by QtAxContainer/qaxscript.h 0023 ActiveQt/qaxselect.h replaced by QtAxContainer/qaxselect.h 0024 ActiveQt/qaxwidget.h replaced by QtAxContainer/qaxwidget.h 0025 Qt3DAnimation/QAbstractAnimation replaced by QtCore/QAbstractAnimation 0026 Qt3DAnimation/QAnimationGroup replaced by QtCore/QAnimationGroup 0027 Qt3DAnimation/qabstractanimation.h replaced by QtCore/qabstractanimation.h 0028 Qt3DAnimation/qanimationgroup.h replaced by QtCore/qanimationgroup.h 0029 Qt3DInput/QAction replaced by QtGui/QAction 0030 Qt3DInput/QKeyEvent replaced by QtGui/QKeyEvent 0031 Qt3DInput/QMouseEvent replaced by QtGui/QMouseEvent 0032 Qt3DInput/QWheelEvent replaced by QtGui/QWheelEvent 0033 Qt3DInput/qaction.h replaced by QtGui/qaction.h 0034 Qt3DRender/FunctorType replaced by Qt3DCore/FunctorType 0035 Qt3DRender/QAbstractFunctor replaced by Qt3DCore/QAbstractFunctor 0036 Qt3DRender/QAttribute replaced by Qt3DCore/QAttribute 0037 Qt3DRender/QBuffer replaced by QtCore/QBuffer 0038 Qt3DRender/QBufferPtr replaced by Qt3DCore/QBufferPtr 0039 Qt3DRender/QGeometry replaced by Qt3DCore/QGeometry 0040 Qt3DRender/QGeometryFactoryPtr replaced by Qt3DCore/QGeometryFactoryPtr 0041 Qt3DRender/QProximityFilter replaced by QtSensors/QProximityFilter 0042 Qt3DRender/qabstractfunctor.h replaced by Qt3DCore/qabstractfunctor.h 0043 Qt3DRender/qattribute.h replaced by Qt3DCore/qattribute.h 0044 Qt3DRender/qbuffer.h replaced by QtCore/qbuffer.h 0045 Qt3DRender/qgeometry.h replaced by Qt3DCore/qgeometry.h 0046 QtCore/QAbstractState replaced by QtStateMachine/QAbstractState 0047 QtCore/QAbstractTransition replaced by QtStateMachine/QAbstractTransition 0048 QtCore/QEventTransition replaced by QtStateMachine/QEventTransition 0049 QtCore/QFinalState replaced by QtStateMachine/QFinalState 0050 QtCore/QHistoryState replaced by QtStateMachine/QHistoryState 0051 QtCore/QSignalTransition replaced by QtStateMachine/QSignalTransition 0052 QtCore/QState replaced by QtStateMachine/QState 0053 QtCore/QStateMachine replaced by QtStateMachine/QStateMachine 0054 QtCore/qabstractstate.h replaced by QtStateMachine/qabstractstate.h 0055 QtCore/qabstracttransition.h replaced by QtStateMachine/qabstracttransition.h 0056 QtCore/qeventtransition.h replaced by QtStateMachine/qeventtransition.h 0057 QtCore/qfinalstate.h replaced by QtStateMachine/qfinalstate.h 0058 QtCore/qhistorystate.h replaced by QtStateMachine/qhistorystate.h 0059 QtCore/qsignaltransition.h replaced by QtStateMachine/qsignaltransition.h 0060 QtCore/qstate.h replaced by QtStateMachine/qstate.h 0061 QtCore/qstatemachine.h replaced by QtStateMachine/qstatemachine.h 0062 QtDesigner/QDesignerCustomWidgetCollectionInterface replaced by QtUiPlugin/QDesignerCustomWidgetCollectionInterface 0063 QtDesigner/QDesignerCustomWidgetInterface replaced by QtUiPlugin/QDesignerCustomWidgetInterface 0064 QtDesigner/QDesignerExportWidget replaced by QtUiPlugin/QDesignerExportWidget 0065 QtDesigner/customwidget.h replaced by QtUiPlugin/customwidget.h 0066 QtDesigner/qdesignerexportwidget.h replaced by QtUiPlugin/qdesignerexportwidget.h 0067 QtGui/QOpenGLBuffer replaced by QtOpenGL/QOpenGLBuffer 0068 QtGui/QOpenGLDebugLogger replaced by QtOpenGL/QOpenGLDebugLogger 0069 QtGui/QOpenGLDebugMessage replaced by QtOpenGL/QOpenGLDebugMessage 0070 QtGui/QOpenGLFramebufferObject replaced by QtOpenGL/QOpenGLFramebufferObject 0071 QtGui/QOpenGLFramebufferObjectFormat replaced by QtOpenGL/QOpenGLFramebufferObjectFormat 0072 QtGui/QOpenGLFunctions_1_0 replaced by QtOpenGL/QOpenGLFunctions_1_0 0073 QtGui/QOpenGLFunctions_1_1 replaced by QtOpenGL/QOpenGLFunctions_1_1 0074 QtGui/QOpenGLFunctions_1_2 replaced by QtOpenGL/QOpenGLFunctions_1_2 0075 QtGui/QOpenGLFunctions_1_3 replaced by QtOpenGL/QOpenGLFunctions_1_3 0076 QtGui/QOpenGLFunctions_1_4 replaced by QtOpenGL/QOpenGLFunctions_1_4 0077 QtGui/QOpenGLFunctions_1_5 replaced by QtOpenGL/QOpenGLFunctions_1_5 0078 QtGui/QOpenGLFunctions_2_0 replaced by QtOpenGL/QOpenGLFunctions_2_0 0079 QtGui/QOpenGLFunctions_2_1 replaced by QtOpenGL/QOpenGLFunctions_2_1 0080 QtGui/QOpenGLFunctions_3_0 replaced by QtOpenGL/QOpenGLFunctions_3_0 0081 QtGui/QOpenGLFunctions_3_1 replaced by QtOpenGL/QOpenGLFunctions_3_1 0082 QtGui/QOpenGLFunctions_3_2_Compatibility replaced by QtOpenGL/QOpenGLFunctions_3_2_Compatibility 0083 QtGui/QOpenGLFunctions_3_2_Core replaced by QtOpenGL/QOpenGLFunctions_3_2_Core 0084 QtGui/QOpenGLFunctions_3_3_Compatibility replaced by QtOpenGL/QOpenGLFunctions_3_3_Compatibility 0085 QtGui/QOpenGLFunctions_3_3_Core replaced by QtOpenGL/QOpenGLFunctions_3_3_Core 0086 QtGui/QOpenGLFunctions_4_0_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_0_Compatibility 0087 QtGui/QOpenGLFunctions_4_0_Core replaced by QtOpenGL/QOpenGLFunctions_4_0_Core 0088 QtGui/QOpenGLFunctions_4_1_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_1_Compatibility 0089 QtGui/QOpenGLFunctions_4_1_Core replaced by QtOpenGL/QOpenGLFunctions_4_1_Core 0090 QtGui/QOpenGLFunctions_4_2_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_2_Compatibility 0091 QtGui/QOpenGLFunctions_4_2_Core replaced by QtOpenGL/QOpenGLFunctions_4_2_Core 0092 QtGui/QOpenGLFunctions_4_3_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_3_Compatibility 0093 QtGui/QOpenGLFunctions_4_3_Core replaced by QtOpenGL/QOpenGLFunctions_4_3_Core 0094 QtGui/QOpenGLFunctions_4_4_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_4_Compatibility 0095 QtGui/QOpenGLFunctions_4_4_Core replaced by QtOpenGL/QOpenGLFunctions_4_4_Core 0096 QtGui/QOpenGLFunctions_4_5_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_5_Compatibility 0097 QtGui/QOpenGLFunctions_4_5_Core replaced by QtOpenGL/QOpenGLFunctions_4_5_Core 0098 QtGui/QOpenGLFunctions_ES2 replaced by QtOpenGL/QOpenGLFunctions_ES2 0099 QtGui/QOpenGLPaintDevice replaced by QtOpenGL/QOpenGLPaintDevice 0100 QtGui/QOpenGLPixelTransferOptions replaced by QtOpenGL/QOpenGLPixelTransferOptions 0101 QtGui/QOpenGLShader replaced by QtOpenGL/QOpenGLShader 0102 QtGui/QOpenGLShaderProgram replaced by QtOpenGL/QOpenGLShaderProgram 0103 QtGui/QOpenGLTexture replaced by QtOpenGL/QOpenGLTexture 0104 QtGui/QOpenGLTextureBlitter replaced by QtOpenGL/QOpenGLTextureBlitter 0105 QtGui/QOpenGLTimeMonitor replaced by QtOpenGL/QOpenGLTimeMonitor 0106 QtGui/QOpenGLTimerQuery replaced by QtOpenGL/QOpenGLTimerQuery 0107 QtGui/QOpenGLVersionFunctions replaced by QtOpenGL/QOpenGLVersionFunctions 0108 QtGui/QOpenGLVersionProfile replaced by QtOpenGL/QOpenGLVersionProfile 0109 QtGui/QOpenGLVertexArrayObject replaced by QtOpenGL/QOpenGLVertexArrayObject 0110 QtGui/QOpenGLWindow replaced by QtOpenGL/QOpenGLWindow 0111 QtGui/qopenglbuffer.h replaced by QtOpenGL/qopenglbuffer.h 0112 QtGui/qopengldebug.h replaced by QtOpenGL/qopengldebug.h 0113 QtGui/qopenglframebufferobject.h replaced by QtOpenGL/qopenglframebufferobject.h 0114 QtGui/qopenglfunctions_1_0.h replaced by QtOpenGL/qopenglfunctions_1_0.h 0115 QtGui/qopenglfunctions_1_1.h replaced by QtOpenGL/qopenglfunctions_1_1.h 0116 QtGui/qopenglfunctions_1_2.h replaced by QtOpenGL/qopenglfunctions_1_2.h 0117 QtGui/qopenglfunctions_1_3.h replaced by QtOpenGL/qopenglfunctions_1_3.h 0118 QtGui/qopenglfunctions_1_4.h replaced by QtOpenGL/qopenglfunctions_1_4.h 0119 QtGui/qopenglfunctions_1_5.h replaced by QtOpenGL/qopenglfunctions_1_5.h 0120 QtGui/qopenglfunctions_2_0.h replaced by QtOpenGL/qopenglfunctions_2_0.h 0121 QtGui/qopenglfunctions_2_1.h replaced by QtOpenGL/qopenglfunctions_2_1.h 0122 QtGui/qopenglfunctions_3_0.h replaced by QtOpenGL/qopenglfunctions_3_0.h 0123 QtGui/qopenglfunctions_3_1.h replaced by QtOpenGL/qopenglfunctions_3_1.h 0124 QtGui/qopenglfunctions_3_2_compatibility.h replaced by QtOpenGL/qopenglfunctions_3_2_compatibility.h 0125 QtGui/qopenglfunctions_3_2_core.h replaced by QtOpenGL/qopenglfunctions_3_2_core.h 0126 QtGui/qopenglfunctions_3_3_compatibility.h replaced by QtOpenGL/qopenglfunctions_3_3_compatibility.h 0127 QtGui/qopenglfunctions_3_3_core.h replaced by QtOpenGL/qopenglfunctions_3_3_core.h 0128 QtGui/qopenglfunctions_4_0_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_0_compatibility.h 0129 QtGui/qopenglfunctions_4_0_core.h replaced by QtOpenGL/qopenglfunctions_4_0_core.h 0130 QtGui/qopenglfunctions_4_1_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_1_compatibility.h 0131 QtGui/qopenglfunctions_4_1_core.h replaced by QtOpenGL/qopenglfunctions_4_1_core.h 0132 QtGui/qopenglfunctions_4_2_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_2_compatibility.h 0133 QtGui/qopenglfunctions_4_2_core.h replaced by QtOpenGL/qopenglfunctions_4_2_core.h 0134 QtGui/qopenglfunctions_4_3_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_3_compatibility.h 0135 QtGui/qopenglfunctions_4_3_core.h replaced by QtOpenGL/qopenglfunctions_4_3_core.h 0136 QtGui/qopenglfunctions_4_4_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_4_compatibility.h 0137 QtGui/qopenglfunctions_4_4_core.h replaced by QtOpenGL/qopenglfunctions_4_4_core.h 0138 QtGui/qopenglfunctions_4_5_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_5_compatibility.h 0139 QtGui/qopenglfunctions_4_5_core.h replaced by QtOpenGL/qopenglfunctions_4_5_core.h 0140 QtGui/qopenglfunctions_es2.h replaced by QtOpenGL/qopenglfunctions_es2.h 0141 QtGui/qopenglpaintdevice.h replaced by QtOpenGL/qopenglpaintdevice.h 0142 QtGui/qopenglpixeltransferoptions.h replaced by QtOpenGL/qopenglpixeltransferoptions.h 0143 QtGui/qopenglshaderprogram.h replaced by QtOpenGL/qopenglshaderprogram.h 0144 QtGui/qopengltexture.h replaced by QtOpenGL/qopengltexture.h 0145 QtGui/qopengltextureblitter.h replaced by QtOpenGL/qopengltextureblitter.h 0146 QtGui/qopengltimerquery.h replaced by QtOpenGL/qopengltimerquery.h 0147 QtGui/qopenglversionfunctions.h replaced by QtOpenGL/qopenglversionfunctions.h 0148 QtGui/qopenglvertexarrayobject.h replaced by QtOpenGL/qopenglvertexarrayobject.h 0149 QtGui/qopenglwindow.h replaced by QtOpenGL/qopenglwindow.h 0150 QtSvg/QGraphicsSvgItem replaced by QtSvgWidgets/QGraphicsSvgItem 0151 QtSvg/QSvgWidget replaced by QtSvgWidgets/QSvgWidget 0152 QtSvg/qgraphicssvgitem.h replaced by QtSvgWidgets/qgraphicssvgitem.h 0153 QtSvg/qsvgwidget.h replaced by QtSvgWidgets/qsvgwidget.h 0154 QtWidgets/QAction replaced by QtGui/QAction 0155 QtWidgets/QActionGroup replaced by QtGui/QActionGroup 0156 QtWidgets/QFileSystemModel replaced by QtGui/QFileSystemModel 0157 QtWidgets/QKeyEventTransition replaced by QtStateMachine/QKeyEventTransition 0158 QtWidgets/QMouseEventTransition replaced by QtStateMachine/QMouseEventTransition 0159 QtWidgets/QOpenGLWidget replaced by QtOpenGLWidgets/QOpenGLWidget 0160 QtWidgets/QShortcut replaced by QtGui/QShortcut 0161 QtWidgets/QUndoCommand replaced by QtGui/QUndoCommand 0162 QtWidgets/QUndoGroup replaced by QtGui/QUndoGroup 0163 QtWidgets/QUndoStack replaced by QtGui/QUndoStack 0164 QtWidgets/qaction.h replaced by QtGui/qaction.h 0165 QtWidgets/qactiongroup.h replaced by QtGui/qactiongroup.h 0166 QtWidgets/qfilesystemmodel.h replaced by QtGui/qfilesystemmodel.h 0167 QtWidgets/qkeyeventtransition.h replaced by QtStateMachine/qkeyeventtransition.h 0168 QtWidgets/qmouseeventtransition.h replaced by QtStateMachine/qmouseeventtransition.h 0169 QtWidgets/qopenglwidget.h replaced by QtOpenGLWidgets/qopenglwidget.h 0170 QtWidgets/qshortcut.h replaced by QtGui/qshortcut.h 0171 QtWidgets/qundogroup.h replaced by QtGui/qundogroup.h 0172 QtWidgets/qundostack.h replaced by QtGui/qundostack.h 0173 ``` 0174 0175 This fix-it is intended to aid the user porting from Qt5 to Qt6. 0176 Run this check with Qt5. The produced fixed code will compile on Qt6.