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 Qt3DCore/QTransform replaced by QtGui/QTransform 0030 Qt3DCore/qtransform.h replaced by QtGui/qtransform.h 0031 Qt3DInput/QAction replaced by QtGui/QAction 0032 Qt3DInput/QKeyEvent replaced by QtGui/QKeyEvent 0033 Qt3DInput/QMouseEvent replaced by QtGui/QMouseEvent 0034 Qt3DInput/QWheelEvent replaced by QtGui/QWheelEvent 0035 Qt3DInput/qaction.h replaced by QtGui/qaction.h 0036 Qt3DRender/FunctorType replaced by Qt3DCore/FunctorType 0037 Qt3DRender/QAbstractFunctor replaced by Qt3DCore/QAbstractFunctor 0038 Qt3DRender/QAttribute replaced by Qt3DCore/QAttribute 0039 Qt3DRender/QBuffer replaced by QtCore/QBuffer 0040 Qt3DRender/QBufferPtr replaced by Qt3DCore/QBufferPtr 0041 Qt3DRender/QCamera replaced by QtMultimedia/QCamera 0042 Qt3DRender/QGeometry replaced by Qt3DCore/QGeometry 0043 Qt3DRender/QGeometryFactoryPtr replaced by Qt3DCore/QGeometryFactoryPtr 0044 Qt3DRender/QProximityFilter replaced by QtSensors/QProximityFilter 0045 Qt3DRender/qabstractfunctor.h replaced by Qt3DCore/qabstractfunctor.h 0046 Qt3DRender/qattribute.h replaced by Qt3DCore/qattribute.h 0047 Qt3DRender/qbuffer.h replaced by QtCore/qbuffer.h 0048 Qt3DRender/qcamera.h replaced by QtMultimedia/qcamera.h 0049 Qt3DRender/qgeometry.h replaced by Qt3DCore/qgeometry.h 0050 QtCore/QAbstractState replaced by QtStateMachine/QAbstractState 0051 QtCore/QAbstractTransition replaced by QtStateMachine/QAbstractTransition 0052 QtCore/QEventTransition replaced by QtStateMachine/QEventTransition 0053 QtCore/QFinalState replaced by QtStateMachine/QFinalState 0054 QtCore/QHistoryState replaced by QtStateMachine/QHistoryState 0055 QtCore/QSignalTransition replaced by QtStateMachine/QSignalTransition 0056 QtCore/QState replaced by QtStateMachine/QState 0057 QtCore/QStateMachine replaced by QtStateMachine/QStateMachine 0058 QtCore/qabstractstate.h replaced by QtStateMachine/qabstractstate.h 0059 QtCore/qabstracttransition.h replaced by QtStateMachine/qabstracttransition.h 0060 QtCore/qeventtransition.h replaced by QtStateMachine/qeventtransition.h 0061 QtCore/qfinalstate.h replaced by QtStateMachine/qfinalstate.h 0062 QtCore/qhistorystate.h replaced by QtStateMachine/qhistorystate.h 0063 QtCore/qsignaltransition.h replaced by QtStateMachine/qsignaltransition.h 0064 QtCore/qstate.h replaced by QtStateMachine/qstate.h 0065 QtCore/qstatemachine.h replaced by QtStateMachine/qstatemachine.h 0066 QtDesigner/QDesignerCustomWidgetCollectionInterface replaced by QtUiPlugin/QDesignerCustomWidgetCollectionInterface 0067 QtDesigner/QDesignerCustomWidgetInterface replaced by QtUiPlugin/QDesignerCustomWidgetInterface 0068 QtDesigner/QDesignerExportWidget replaced by QtUiPlugin/QDesignerExportWidget 0069 QtDesigner/customwidget.h replaced by QtUiPlugin/customwidget.h 0070 QtDesigner/qdesignerexportwidget.h replaced by QtUiPlugin/qdesignerexportwidget.h 0071 QtGui/QOpenGLBuffer replaced by QtOpenGL/QOpenGLBuffer 0072 QtGui/QOpenGLDebugLogger replaced by QtOpenGL/QOpenGLDebugLogger 0073 QtGui/QOpenGLDebugMessage replaced by QtOpenGL/QOpenGLDebugMessage 0074 QtGui/QOpenGLFramebufferObject replaced by QtOpenGL/QOpenGLFramebufferObject 0075 QtGui/QOpenGLFramebufferObjectFormat replaced by QtOpenGL/QOpenGLFramebufferObjectFormat 0076 QtGui/QOpenGLFunctions_1_0 replaced by QtOpenGL/QOpenGLFunctions_1_0 0077 QtGui/QOpenGLFunctions_1_1 replaced by QtOpenGL/QOpenGLFunctions_1_1 0078 QtGui/QOpenGLFunctions_1_2 replaced by QtOpenGL/QOpenGLFunctions_1_2 0079 QtGui/QOpenGLFunctions_1_3 replaced by QtOpenGL/QOpenGLFunctions_1_3 0080 QtGui/QOpenGLFunctions_1_4 replaced by QtOpenGL/QOpenGLFunctions_1_4 0081 QtGui/QOpenGLFunctions_1_5 replaced by QtOpenGL/QOpenGLFunctions_1_5 0082 QtGui/QOpenGLFunctions_2_0 replaced by QtOpenGL/QOpenGLFunctions_2_0 0083 QtGui/QOpenGLFunctions_2_1 replaced by QtOpenGL/QOpenGLFunctions_2_1 0084 QtGui/QOpenGLFunctions_3_0 replaced by QtOpenGL/QOpenGLFunctions_3_0 0085 QtGui/QOpenGLFunctions_3_1 replaced by QtOpenGL/QOpenGLFunctions_3_1 0086 QtGui/QOpenGLFunctions_3_2_Compatibility replaced by QtOpenGL/QOpenGLFunctions_3_2_Compatibility 0087 QtGui/QOpenGLFunctions_3_2_Core replaced by QtOpenGL/QOpenGLFunctions_3_2_Core 0088 QtGui/QOpenGLFunctions_3_3_Compatibility replaced by QtOpenGL/QOpenGLFunctions_3_3_Compatibility 0089 QtGui/QOpenGLFunctions_3_3_Core replaced by QtOpenGL/QOpenGLFunctions_3_3_Core 0090 QtGui/QOpenGLFunctions_4_0_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_0_Compatibility 0091 QtGui/QOpenGLFunctions_4_0_Core replaced by QtOpenGL/QOpenGLFunctions_4_0_Core 0092 QtGui/QOpenGLFunctions_4_1_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_1_Compatibility 0093 QtGui/QOpenGLFunctions_4_1_Core replaced by QtOpenGL/QOpenGLFunctions_4_1_Core 0094 QtGui/QOpenGLFunctions_4_2_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_2_Compatibility 0095 QtGui/QOpenGLFunctions_4_2_Core replaced by QtOpenGL/QOpenGLFunctions_4_2_Core 0096 QtGui/QOpenGLFunctions_4_3_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_3_Compatibility 0097 QtGui/QOpenGLFunctions_4_3_Core replaced by QtOpenGL/QOpenGLFunctions_4_3_Core 0098 QtGui/QOpenGLFunctions_4_4_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_4_Compatibility 0099 QtGui/QOpenGLFunctions_4_4_Core replaced by QtOpenGL/QOpenGLFunctions_4_4_Core 0100 QtGui/QOpenGLFunctions_4_5_Compatibility replaced by QtOpenGL/QOpenGLFunctions_4_5_Compatibility 0101 QtGui/QOpenGLFunctions_4_5_Core replaced by QtOpenGL/QOpenGLFunctions_4_5_Core 0102 QtGui/QOpenGLFunctions_ES2 replaced by QtOpenGL/QOpenGLFunctions_ES2 0103 QtGui/QOpenGLPaintDevice replaced by QtOpenGL/QOpenGLPaintDevice 0104 QtGui/QOpenGLPixelTransferOptions replaced by QtOpenGL/QOpenGLPixelTransferOptions 0105 QtGui/QOpenGLShader replaced by QtOpenGL/QOpenGLShader 0106 QtGui/QOpenGLShaderProgram replaced by QtOpenGL/QOpenGLShaderProgram 0107 QtGui/QOpenGLTexture replaced by QtOpenGL/QOpenGLTexture 0108 QtGui/QOpenGLTextureBlitter replaced by QtOpenGL/QOpenGLTextureBlitter 0109 QtGui/QOpenGLTimeMonitor replaced by QtOpenGL/QOpenGLTimeMonitor 0110 QtGui/QOpenGLTimerQuery replaced by QtOpenGL/QOpenGLTimerQuery 0111 QtGui/QOpenGLVersionFunctions replaced by QtOpenGL/QOpenGLVersionFunctions 0112 QtGui/QOpenGLVersionProfile replaced by QtOpenGL/QOpenGLVersionProfile 0113 QtGui/QOpenGLVertexArrayObject replaced by QtOpenGL/QOpenGLVertexArrayObject 0114 QtGui/QOpenGLWindow replaced by QtOpenGL/QOpenGLWindow 0115 QtGui/qopenglbuffer.h replaced by QtOpenGL/qopenglbuffer.h 0116 QtGui/qopengldebug.h replaced by QtOpenGL/qopengldebug.h 0117 QtGui/qopenglframebufferobject.h replaced by QtOpenGL/qopenglframebufferobject.h 0118 QtGui/qopenglfunctions_1_0.h replaced by QtOpenGL/qopenglfunctions_1_0.h 0119 QtGui/qopenglfunctions_1_1.h replaced by QtOpenGL/qopenglfunctions_1_1.h 0120 QtGui/qopenglfunctions_1_2.h replaced by QtOpenGL/qopenglfunctions_1_2.h 0121 QtGui/qopenglfunctions_1_3.h replaced by QtOpenGL/qopenglfunctions_1_3.h 0122 QtGui/qopenglfunctions_1_4.h replaced by QtOpenGL/qopenglfunctions_1_4.h 0123 QtGui/qopenglfunctions_1_5.h replaced by QtOpenGL/qopenglfunctions_1_5.h 0124 QtGui/qopenglfunctions_2_0.h replaced by QtOpenGL/qopenglfunctions_2_0.h 0125 QtGui/qopenglfunctions_2_1.h replaced by QtOpenGL/qopenglfunctions_2_1.h 0126 QtGui/qopenglfunctions_3_0.h replaced by QtOpenGL/qopenglfunctions_3_0.h 0127 QtGui/qopenglfunctions_3_1.h replaced by QtOpenGL/qopenglfunctions_3_1.h 0128 QtGui/qopenglfunctions_3_2_compatibility.h replaced by QtOpenGL/qopenglfunctions_3_2_compatibility.h 0129 QtGui/qopenglfunctions_3_2_core.h replaced by QtOpenGL/qopenglfunctions_3_2_core.h 0130 QtGui/qopenglfunctions_3_3_compatibility.h replaced by QtOpenGL/qopenglfunctions_3_3_compatibility.h 0131 QtGui/qopenglfunctions_3_3_core.h replaced by QtOpenGL/qopenglfunctions_3_3_core.h 0132 QtGui/qopenglfunctions_4_0_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_0_compatibility.h 0133 QtGui/qopenglfunctions_4_0_core.h replaced by QtOpenGL/qopenglfunctions_4_0_core.h 0134 QtGui/qopenglfunctions_4_1_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_1_compatibility.h 0135 QtGui/qopenglfunctions_4_1_core.h replaced by QtOpenGL/qopenglfunctions_4_1_core.h 0136 QtGui/qopenglfunctions_4_2_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_2_compatibility.h 0137 QtGui/qopenglfunctions_4_2_core.h replaced by QtOpenGL/qopenglfunctions_4_2_core.h 0138 QtGui/qopenglfunctions_4_3_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_3_compatibility.h 0139 QtGui/qopenglfunctions_4_3_core.h replaced by QtOpenGL/qopenglfunctions_4_3_core.h 0140 QtGui/qopenglfunctions_4_4_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_4_compatibility.h 0141 QtGui/qopenglfunctions_4_4_core.h replaced by QtOpenGL/qopenglfunctions_4_4_core.h 0142 QtGui/qopenglfunctions_4_5_compatibility.h replaced by QtOpenGL/qopenglfunctions_4_5_compatibility.h 0143 QtGui/qopenglfunctions_4_5_core.h replaced by QtOpenGL/qopenglfunctions_4_5_core.h 0144 QtGui/qopenglfunctions_es2.h replaced by QtOpenGL/qopenglfunctions_es2.h 0145 QtGui/qopenglpaintdevice.h replaced by QtOpenGL/qopenglpaintdevice.h 0146 QtGui/qopenglpixeltransferoptions.h replaced by QtOpenGL/qopenglpixeltransferoptions.h 0147 QtGui/qopenglshaderprogram.h replaced by QtOpenGL/qopenglshaderprogram.h 0148 QtGui/qopengltexture.h replaced by QtOpenGL/qopengltexture.h 0149 QtGui/qopengltextureblitter.h replaced by QtOpenGL/qopengltextureblitter.h 0150 QtGui/qopengltimerquery.h replaced by QtOpenGL/qopengltimerquery.h 0151 QtGui/qopenglversionfunctions.h replaced by QtOpenGL/qopenglversionfunctions.h 0152 QtGui/qopenglvertexarrayobject.h replaced by QtOpenGL/qopenglvertexarrayobject.h 0153 QtGui/qopenglwindow.h replaced by QtOpenGL/qopenglwindow.h 0154 QtSvg/QGraphicsSvgItem replaced by QtSvgWidgets/QGraphicsSvgItem 0155 QtSvg/QSvgWidget replaced by QtSvgWidgets/QSvgWidget 0156 QtSvg/qgraphicssvgitem.h replaced by QtSvgWidgets/qgraphicssvgitem.h 0157 QtSvg/qsvgwidget.h replaced by QtSvgWidgets/qsvgwidget.h 0158 QtWidgets/QAction replaced by QtGui/QAction 0159 QtWidgets/QActionGroup replaced by QtGui/QActionGroup 0160 QtWidgets/QFileSystemModel replaced by QtGui/QFileSystemModel 0161 QtWidgets/QKeyEventTransition replaced by QtStateMachine/QKeyEventTransition 0162 QtWidgets/QMouseEventTransition replaced by QtStateMachine/QMouseEventTransition 0163 QtWidgets/QOpenGLWidget replaced by QtOpenGLWidgets/QOpenGLWidget 0164 QtWidgets/QShortcut replaced by QtGui/QShortcut 0165 QtWidgets/QUndoCommand replaced by QtGui/QUndoCommand 0166 QtWidgets/QUndoGroup replaced by QtGui/QUndoGroup 0167 QtWidgets/QUndoStack replaced by QtGui/QUndoStack 0168 QtWidgets/qaction.h replaced by QtGui/qaction.h 0169 QtWidgets/qactiongroup.h replaced by QtGui/qactiongroup.h 0170 QtWidgets/qfilesystemmodel.h replaced by QtGui/qfilesystemmodel.h 0171 QtWidgets/qkeyeventtransition.h replaced by QtStateMachine/qkeyeventtransition.h 0172 QtWidgets/qmouseeventtransition.h replaced by QtStateMachine/qmouseeventtransition.h 0173 QtWidgets/qopenglwidget.h replaced by QtOpenGLWidgets/qopenglwidget.h 0174 QtWidgets/qshortcut.h replaced by QtGui/qshortcut.h 0175 QtWidgets/qundogroup.h replaced by QtGui/qundogroup.h 0176 QtWidgets/qundostack.h replaced by QtGui/qundostack.h 0177 ``` 0178 0179 This fix-it is intended to aid the user porting from Qt5 to Qt6. 0180 Run this check with Qt5. The produced fixed code will compile on Qt6.