Warning, /sdk/clazy/tests/qt6-deprecated-api-fixes/main.cpp.expected is written in an unsupported language. File is not indexed.
0001 qt6-deprecated-api-fixes/main.cpp:58:22: warning: ISO C++11 does not allow conversion from string literal to 'char *' [-Wwritable-strings] 0002 qt6-deprecated-api-fixes/main.cpp:37:9: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0003 qt6-deprecated-api-fixes/main.cpp:41:7: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0004 qt6-deprecated-api-fixes/main.cpp:44:22: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0005 qt6-deprecated-api-fixes/main.cpp:47:27: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0006 qt6-deprecated-api-fixes/main.cpp:49:27: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0007 qt6-deprecated-api-fixes/main.cpp:52:10: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0008 qt6-deprecated-api-fixes/main.cpp:55:9: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0009 qt6-deprecated-api-fixes/main.cpp:59:10: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0010 qt6-deprecated-api-fixes/main.cpp:63:10: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0011 qt6-deprecated-api-fixes/main.cpp:66:10: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0012 qt6-deprecated-api-fixes/main.cpp:69:11: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0013 qt6-deprecated-api-fixes/main.cpp:70:15: warning: function setPath() has to be used in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0014 qt6-deprecated-api-fixes/main.cpp:72:5: warning: call function QDir::addResourceSearchPath(). Use function QDir::addSearchPath() with prefix instead [-Wclazy-qt6-deprecated-api-fixes] 0015 qt6-deprecated-api-fixes/main.cpp:73:10: warning: call function QDir::addResourceSearchPath(). Use function QDir::addSearchPath() with prefix instead [-Wclazy-qt6-deprecated-api-fixes] 0016 qt6-deprecated-api-fixes/main.cpp:76:7: warning: Use QMultiMap for maps storing multiple values with the same key. [-Wclazy-qt6-deprecated-api-fixes] 0017 qt6-deprecated-api-fixes/main.cpp:77:30: warning: Use QMultiMap for maps storing multiple values with the same key. [-Wclazy-qt6-deprecated-api-fixes] 0018 qt6-deprecated-api-fixes/main.cpp:78:30: warning: Use QMultiMap for maps storing multiple values with the same key. [-Wclazy-qt6-deprecated-api-fixes] 0019 qt6-deprecated-api-fixes/main.cpp:80:7: warning: Use QMultiMap for maps storing multiple values with the same key. [-Wclazy-qt6-deprecated-api-fixes] 0020 qt6-deprecated-api-fixes/main.cpp:83:8: warning: call function QProcess::start(). Use function QProcess::startCommand() instead [-Wclazy-qt6-deprecated-api-fixes] 0021 qt6-deprecated-api-fixes/main.cpp:88:22: warning: call function QRessource::isCompressed(). Use function QProcess::compressionAlgorithm() instead. [-Wclazy-qt6-deprecated-api-fixes] 0022 qt6-deprecated-api-fixes/main.cpp:91:23: warning: call Qt::MatchRegExp. Use Qt::MatchRegularExpression instead. [-Wclazy-qt6-deprecated-api-fixes] 0023 qt6-deprecated-api-fixes/main.cpp:95:24: warning: call function QTextStream::endl. Use function Qt::endl instead [-Wclazy-qt6-deprecated-api-fixes] 0024 qt6-deprecated-api-fixes/main.cpp:96:12: warning: call function QTextStream::hex. Use function Qt::hex instead [-Wclazy-qt6-deprecated-api-fixes] 0025 qt6-deprecated-api-fixes/main.cpp:96:19: warning: call function QTextStream::endl. Use function Qt::endl instead [-Wclazy-qt6-deprecated-api-fixes] 0026 qt6-deprecated-api-fixes/main.cpp:100:48: warning: Use Qt::SplitBehavior variant instead [-Wclazy-qt6-deprecated-api-fixes] 0027 qt6-deprecated-api-fixes/main.cpp:101:49: warning: Use Qt::SplitBehavior variant instead [-Wclazy-qt6-deprecated-api-fixes] 0028 qt6-deprecated-api-fixes/main.cpp:102:5: warning: Using QString::SplitBehavior. Use Qt::SplitBehavior variant instead [-Wclazy-qt6-deprecated-api-fixes] 0029 qt6-deprecated-api-fixes/main.cpp:102:39: warning: Use Qt::SplitBehavior variant instead [-Wclazy-qt6-deprecated-api-fixes] 0030 qt6-deprecated-api-fixes/main.cpp:107:5: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0031 qt6-deprecated-api-fixes/main.cpp:108:12: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0032 qt6-deprecated-api-fixes/main.cpp:109:12: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0033 qt6-deprecated-api-fixes/main.cpp:110:12: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0034 qt6-deprecated-api-fixes/main.cpp:111:12: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0035 qt6-deprecated-api-fixes/main.cpp:113:13: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0036 qt6-deprecated-api-fixes/main.cpp:114:13: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0037 qt6-deprecated-api-fixes/main.cpp:115:13: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0038 qt6-deprecated-api-fixes/main.cpp:116:13: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0039 qt6-deprecated-api-fixes/main.cpp:119:7: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0040 qt6-deprecated-api-fixes/main.cpp:120:7: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0041 qt6-deprecated-api-fixes/main.cpp:121:7: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0042 qt6-deprecated-api-fixes/main.cpp:122:7: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0043 qt6-deprecated-api-fixes/main.cpp:126:7: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0044 qt6-deprecated-api-fixes/main.cpp:127:7: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0045 qt6-deprecated-api-fixes/main.cpp:128:7: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0046 qt6-deprecated-api-fixes/main.cpp:129:7: warning: QSet iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0047 qt6-deprecated-api-fixes/main.cpp:135:12: warning: call function QSignalMapper::mapped(int). Use function QSignalMapper::mappedInt(int) instead. [-Wclazy-qt6-deprecated-api-fixes] 0048 qt6-deprecated-api-fixes/main.cpp:136:12: warning: call function QSignalMapper::mapped(int). Use function QSignalMapper::mappedInt(int) instead. [-Wclazy-qt6-deprecated-api-fixes] 0049 qt6-deprecated-api-fixes/main.cpp:137:12: warning: call function QSignalMapper::mapped(const QString &). Use function QSignalMapper::mappedString(const QString &) instead. [-Wclazy-qt6-deprecated-api-fixes] 0050 qt6-deprecated-api-fixes/main.cpp:138:12: warning: call function QSignalMapper::mapped(const QString &). Use function QSignalMapper::mappedString(const QString &) instead. [-Wclazy-qt6-deprecated-api-fixes] 0051 qt6-deprecated-api-fixes/main.cpp:139:12: warning: call function QSignalMapper::mapped(QWidget *). Use function QSignalMapper::mappedObject(QWidget *) instead. [-Wclazy-qt6-deprecated-api-fixes] 0052 qt6-deprecated-api-fixes/main.cpp:140:12: warning: call function QSignalMapper::mapped(QObject *). Use function QSignalMapper::mappedObject(QObject *) instead. [-Wclazy-qt6-deprecated-api-fixes] 0053 qt6-deprecated-api-fixes/main.cpp:145:5: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0054 qt6-deprecated-api-fixes/main.cpp:146:13: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0055 qt6-deprecated-api-fixes/main.cpp:147:13: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0056 qt6-deprecated-api-fixes/main.cpp:148:13: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0057 qt6-deprecated-api-fixes/main.cpp:149:13: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0058 qt6-deprecated-api-fixes/main.cpp:151:14: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0059 qt6-deprecated-api-fixes/main.cpp:152:14: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0060 qt6-deprecated-api-fixes/main.cpp:153:14: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0061 qt6-deprecated-api-fixes/main.cpp:154:14: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0062 qt6-deprecated-api-fixes/main.cpp:157:8: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0063 qt6-deprecated-api-fixes/main.cpp:158:8: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0064 qt6-deprecated-api-fixes/main.cpp:159:8: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0065 qt6-deprecated-api-fixes/main.cpp:160:8: warning: QHash iterator categories changed from bidirectional to forward. Please port your code manually [-Wclazy-qt6-deprecated-api-fixes] 0066 qt6-deprecated-api-fixes/main.cpp:162:5: warning: Using QLinkedList. Use std::list instead [-Wclazy-qt6-deprecated-api-fixes] 0067 qt6-deprecated-api-fixes/main.cpp:164:5: warning: use QRandomGenerator instead [-Wclazy-qt6-deprecated-api-fixes] 0068 qt6-deprecated-api-fixes/main.cpp:165:5: warning: use QRandomGenerator instead [-Wclazy-qt6-deprecated-api-fixes] 0069 qt6-deprecated-api-fixes/main.cpp:168:14: warning: call QTimeLine::setCurveShape. Use QTimeLine::setEasingCurve instead [-Wclazy-qt6-deprecated-api-fixes] 0070 qt6-deprecated-api-fixes/main.cpp:169:14: warning: call QTimeLine::curveShape. Use QTimeLine::easingCurve instead [-Wclazy-qt6-deprecated-api-fixes] 0071 qt6-deprecated-api-fixes/main.cpp:174:47: warning: replacing with function omitting the calendar. Change manually and use QLocale if you want to keep the calendar. [-Wclazy-qt6-deprecated-api-fixes] 0072 qt6-deprecated-api-fixes/main.cpp:176:28: warning: deprecated constructor. Use QDate::startOfDay() instead. [-Wclazy-qt6-deprecated-api-fixes] 0073 qt6-deprecated-api-fixes/main.cpp:177:18: warning: deprecated constructor. Use QDate::startOfDay() instead. [-Wclazy-qt6-deprecated-api-fixes] 0074 qt6-deprecated-api-fixes/main.cpp:182:23: warning: operator does not exist in Qt6. Using QVariant::compare() instead. [-Wclazy-qt6-deprecated-api-fixes] 0075 qt6-deprecated-api-fixes/main.cpp:183:24: warning: operator does not exist in Qt6. Using QVariant::compare() instead. [-Wclazy-qt6-deprecated-api-fixes] 0076 qt6-deprecated-api-fixes/main.cpp:184:27: warning: operator does not exist in Qt6. Using QVariant::compare() instead. [-Wclazy-qt6-deprecated-api-fixes] 0077 qt6-deprecated-api-fixes/main.cpp:185:25: warning: operator does not exist in Qt6. Using QVariant::compare() instead. [-Wclazy-qt6-deprecated-api-fixes] 0078 qt6-deprecated-api-fixes/main.cpp:186:25: warning: operator does not exist in Qt6. Using QVariant::compare() instead. [-Wclazy-qt6-deprecated-api-fixes] 0079 qt6-deprecated-api-fixes/main.cpp:187:45: warning: operator does not exist in Qt6. Using QVariant::compare() instead. [-Wclazy-qt6-deprecated-api-fixes] 0080 qt6-deprecated-api-fixes/main.cpp:192:16: warning: Using QLinkedList. Use std::list instead [-Wclazy-qt6-deprecated-api-fixes] 0081 qt6-deprecated-api-fixes/main.cpp:193:1: warning: Using QLinkedList. Use std::list instead [-Wclazy-qt6-deprecated-api-fixes] 0082 qt6-deprecated-api-fixes/main.cpp:198:6: warning: Using QLinkedList. Use std::list instead [-Wclazy-qt6-deprecated-api-fixes] 0083 qt6-deprecated-api-fixes/main.cpp:199:23: warning: Using QLinkedList. Use std::list instead [-Wclazy-qt6-deprecated-api-fixes] 0084 qt6-deprecated-api-fixes/main.cpp:205:27: warning: call Qt::MatchRegExp. Use Qt::MatchRegularExpression instead. [-Wclazy-qt6-deprecated-api-fixes] 0085 qt6-deprecated-api-fixes/main.cpp:208:28: warning: call function QTextStream::endl. Use function Qt::endl instead [-Wclazy-qt6-deprecated-api-fixes] 0086 qt6-deprecated-api-fixes/main.cpp:209:16: warning: call function QTextStream::hex. Use function Qt::hex instead [-Wclazy-qt6-deprecated-api-fixes] 0087 qt6-deprecated-api-fixes/main.cpp:209:45: warning: call function QTextStream::endl. Use function Qt::endl instead [-Wclazy-qt6-deprecated-api-fixes] 0088 qt6-deprecated-api-fixes/main.cpp:213:52: warning: Use Qt::SplitBehavior variant instead [-Wclazy-qt6-deprecated-api-fixes] 0089 qt6-deprecated-api-fixes/main.cpp:214:9: warning: Using QString::SplitBehavior. Use Qt::SplitBehavior variant instead [-Wclazy-qt6-deprecated-api-fixes] 0090 qt6-deprecated-api-fixes/main.cpp:214:43: warning: Use Qt::SplitBehavior variant instead [-Wclazy-qt6-deprecated-api-fixes] 0091 qt6-deprecated-api-fixes/main.cpp:222:12: warning: call function QProcess::visitedPages(). Use function QProcess::visitedIds() instead [-Wclazy-qt6-deprecated-api-fixes] 0092 qt6-deprecated-api-fixes/main.cpp:225:17: warning: call function QButtonGroup::buttonClicked(int). Use function QButtonGroupidClicked instead. [-Wclazy-qt6-deprecated-api-fixes] 0093 qt6-deprecated-api-fixes/main.cpp:226:17: warning: call function QButtonGroup::buttonPressed(int). Use function QButtonGroupidPressed instead. [-Wclazy-qt6-deprecated-api-fixes] 0094 qt6-deprecated-api-fixes/main.cpp:227:17: warning: call function QButtonGroup::buttonReleased(int). Use function QButtonGroupidReleased instead. [-Wclazy-qt6-deprecated-api-fixes] 0095 qt6-deprecated-api-fixes/main.cpp:228:17: warning: call function QButtonGroup::buttonToggled(int, bool). Use function QButtonGroupidToggled instead. [-Wclazy-qt6-deprecated-api-fixes] 0096 qt6-deprecated-api-fixes/main.cpp:231:34: warning: Use QComboBox::SizeAdjustPolicy::AdjustToContents or AdjustToContentsOnFirstShow instead [-Wclazy-qt6-deprecated-api-fixes] 0097 qt6-deprecated-api-fixes/main.cpp:233:14: warning: Use currentIndexChanged(int) instead, and get the text using itemText(index). [-Wclazy-qt6-deprecated-api-fixes] 0098 qt6-deprecated-api-fixes/main.cpp:234:14: warning: Using QComboBox::activated(const QString &). Use textActiated() instead [-Wclazy-qt6-deprecated-api-fixes] 0099 qt6-deprecated-api-fixes/main.cpp:235:14: warning: Using QComboBox::hilighted(const QString &). Use textHighlighted() instead [-Wclazy-qt6-deprecated-api-fixes] 0100 qt6-deprecated-api-fixes/main.cpp:237:5: warning: Using QMacCocoaViewContainer. Use QWindow::fromWinId and QWidget::createWindowContainer instead [-Wclazy-qt6-deprecated-api-fixes] 0101 qt6-deprecated-api-fixes/main.cpp:238:5: warning: Using QMacNativeWidget. Use QWidget::winId instead [-Wclazy-qt6-deprecated-api-fixes] 0102 qt6-deprecated-api-fixes/main.cpp:241:34: warning: Use the constructor taking a QScreen * instead. [-Wclazy-qt6-deprecated-api-fixes] 0103 qt6-deprecated-api-fixes/main.cpp:247:13: warning: Using QTextBrowser::highlighted(const QString &). Use QTextBrowser::highlighted(const QUrl &) instead. [-Wclazy-qt6-deprecated-api-fixes] 0104 qt6-deprecated-api-fixes/main.cpp:252:22: warning: Use QComboBox::DockWidgetClosable|DockWidgetMovable|DockWidgetFloatable explicitly instead. [-Wclazy-qt6-deprecated-api-fixes] 0105 qt6-deprecated-api-fixes/main.cpp:254:5: warning: Using QDirModel. Use QFileSystemModel instead [-Wclazy-qt6-deprecated-api-fixes] 0106 qt6-deprecated-api-fixes/main.cpp:257:32: warning: Using QGraphicsView::matrix. Use transform() instead [-Wclazy-qt6-deprecated-api-fixes] 0107 qt6-deprecated-api-fixes/main.cpp:258:15: warning: Using QGraphicsView::setMatrix(const QMatrix &). Use setTransform(const QTransform &) instead [-Wclazy-qt6-deprecated-api-fixes] 0108 qt6-deprecated-api-fixes/main.cpp:259:15: warning: Using QGraphicsView::resetMatrix(). Use resetTransform() instead [-Wclazy-qt6-deprecated-api-fixes] 0109 qt6-deprecated-api-fixes/main.cpp:262:24: warning: this enum has been removed in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0110 qt6-deprecated-api-fixes/main.cpp:263:24: warning: this enum has been removed in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0111 qt6-deprecated-api-fixes/main.cpp:264:24: warning: this enum has been removed in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0112 qt6-deprecated-api-fixes/main.cpp:265:27: warning: this enum has been removed in Qt6 [-Wclazy-qt6-deprecated-api-fixes] 0113 qt6-deprecated-api-fixes/main.cpp:269:17: warning: Using QMacCocoaViewContainer. Use QWindow::fromWinId and QWidget::createWindowContainer instead [-Wclazy-qt6-deprecated-api-fixes] 0114 qt6-deprecated-api-fixes/main.cpp:270:19: warning: Using QMacNativeWidget. Use QWidget::winId instead [-Wclazy-qt6-deprecated-api-fixes]