Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/CI-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
strategy:
matrix:
os: [windows-2022, windows-2025]
qt_ver: [6.9.1]
qt_ver: [6.10.0]
fail-fast: false

runs-on: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/asan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-22.04

env:
QT_VERSION: 6.9.1
QT_VERSION: 6.10.0
ASAN_OPTIONS: detect_stack_use_after_return=1
# TODO: figure out why there are cache misses with PCH enabled
CCACHE_SLOPPINESS: pch_defines,time_macros
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
runs-on: ubuntu-22.04

env:
QT_VERSION: 6.9.1
QT_VERSION: 6.10.0

steps:
- uses: actions/checkout@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/iwyu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
image: ${{ matrix.image }}

env:
QT_VERSION: 6.9.1
QT_VERSION: 6.10.0

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -196,7 +196,7 @@ jobs:
if: ${{ github.repository_owner == 'danmar' }}

env:
QT_VERSION: 6.9.1
QT_VERSION: 6.10.0

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
env:
# see https://www.pcre.org/original/changelog.txt
PCRE_VERSION: 8.45
QT_VERSION: 6.9.1
QT_VERSION: 6.10.0

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/selfcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-22.04

env:
QT_VERSION: 6.9.1
QT_VERSION: 6.10.0

steps:
- uses: actions/checkout@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-22.04

env:
QT_VERSION: 6.9.1
QT_VERSION: 6.10.0
TSAN_OPTIONS: halt_on_error=1
# TODO: figure out why there are cache misses with PCH enabled
CCACHE_SLOPPINESS: pch_defines,time_macros
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-22.04

env:
QT_VERSION: 6.9.1
QT_VERSION: 6.10.0
UBSAN_OPTIONS: print_stacktrace=1:halt_on_error=1:report_error_type=1
# TODO: figure out why there are cache misses with PCH enabled
CCACHE_SLOPPINESS: pch_defines,time_macros
Expand Down
2 changes: 1 addition & 1 deletion gui/checkthread.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ void CheckThread::runAddonsAndTools(const Settings& settings, const FileSettings
}
f1.close();
}
f1.open(QIODevice::WriteOnly | QIODevice::Text);
(void)f1.open(QIODevice::WriteOnly | QIODevice::Text); // TODO: check result
QTextStream out1(&f1);
out1 << chksum;

Expand Down
2 changes: 1 addition & 1 deletion gui/fileviewdialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ void FileViewDialog::loadTextFile(const QString &filename, QTextEdit *edit)
return;
}

file.open(QIODevice::ReadOnly | QIODevice::Text);
(void)file.open(QIODevice::ReadOnly | QIODevice::Text); // TODO: check result
if (!file.isReadable()) {
QString msg(tr("Could not read the file: %1"));
msg = msg.arg(filename);
Expand Down
2 changes: 1 addition & 1 deletion gui/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1717,7 +1717,7 @@ void MainWindow::complianceReport()
}

QTemporaryFile tempResults;
tempResults.open();
(void)tempResults.open(); // TODO: check result
tempResults.close();

mUI->mResults->save(tempResults.fileName(), Report::XMLV2, mCppcheckCfgProductName);
Expand Down
1 change: 1 addition & 0 deletions releasenotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ Other:
- Added make variables `CPPOPTS` to extend existing `CPPFLAGS`.
- `CPPFLAGS` are not longer being passed to the linker command for `cppcheck` and `testrunner`.
- Removed deprecated platforms `unix32-unsigned` and `unix64-unsigned`.
- Updated Qt to 6.10.0 (official Windows release only).
-
2 changes: 1 addition & 1 deletion tools/triage/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ void MainWindow::loadFile()
if (fileName.isEmpty())
return;
QFile file(fileName);
file.open(QIODevice::ReadOnly | QIODevice::Text);
(void)file.open(QIODevice::ReadOnly | QIODevice::Text); // TODO: check result
QTextStream textStream(&file);
load(textStream);
}
Expand Down