Skip to content

Commit 2cf4b2d

Browse files
D0ntPanicCouleeApps
authored andcommitted
Update to Qt 6.8.1
1 parent 1748791 commit 2cf4b2d

File tree

5 files changed

+10
-10
lines changed

5 files changed

+10
-10
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cmake --build build -j8
3737
In addition to the default build setup, you may want to:
3838

3939
- **Build examples.** To build the [API examples](#examples), pass `-DBN_API_BUILD_EXAMPLES=ON` to CMake when configuring the build. After the build succeeds, you can install the built plugins by running the `install` target. When using the "Unix Makefiles" build generator, this looks like: `make install`.
40-
- **Build UI plugins.** You will need Qt 6.7.2 installed to build UI plugins. We use a slightly modified [build configuration](https://github.com/Vector35/qt-build) internally that has some ABI-compatible fixes and changes to defaults, but a stock build can also work. Note that it is not recommended to use pre-built configurations from Homebrew. Either using the official installer or building from our repo is recommended.
40+
- **Build UI plugins.** You will need Qt 6.8.1 installed to build UI plugins. We use a slightly modified [build configuration](https://github.com/Vector35/qt-build) internally that has some ABI-compatible fixes and changes to defaults, but a stock build can also work. Note that it is not recommended to use pre-built configurations from Homebrew. Either using the official installer or building from our repo is recommended.
4141
- **Build headlessly.** If you are using a headless Binary Ninja distribution or you do not wish to build UI plugins, pass `-DHEADLESS=ON` to CMake when configuring the build.
4242

4343
### Troubleshooting

docs/about/open-source.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -307,14 +307,14 @@ The previous tools are used in the generation of our documentation, but are not
307307

308308
## Building Qt
309309

310-
Binary Ninja uses [Qt 6.7] under an LGPLv3 license which requires that we host the original sources used to build Qt for
310+
Binary Ninja uses [Qt 6.8] under an LGPLv3 license which requires that we host the original sources used to build Qt for
311311
our application along with instructions on how that source may be re-built and can replace the version of Qt shipped
312312
with Binary Ninja.
313313

314314
Please note that we offer no support for running Binary Ninja with modified Qt libraries.
315315

316316
1. Follow the installation requirements on the [Building Qt 6 from Git] page.
317-
2. Download the Qt 6.7.2 [tarball] from binary.ninja. The Qt code has a [patch] applied but is ABI compatible with the
317+
2. Download the Qt 6.8.1 [tarball] from binary.ninja. The Qt code has a [patch] applied but is ABI compatible with the
318318
official Qt release.
319319
3. Next, build Qt with the [qt-build] repository. Alternatively, build Qt using the aforementioned instructions.
320320
4. On macOS, you will need to disable the code-signing signature since it would otherwise prevent changes to binaries or shared libraries.
@@ -324,7 +324,7 @@ Please note that we offer no support for running Binary Ninja with modified Qt l
324324
- On Linux, replace the `libQt6Core.so.6`, `libQt6DBus.so.6`, `libQt6Gui.so.6`, `libQt6Network.so.6`, `libQt6Widgets.so.6`, `libQt6XcbQpa.so.6` files wherever Binary Ninja was extracted.
325325

326326
[Building Qt 6 from Git]: https://wiki.qt.io/Building_Qt_6_from_Git
327-
[Qt 6.7]: https://www.qt.io/licensing/open-source-lgpl-obligations
327+
[Qt 6.8]: https://www.qt.io/licensing/open-source-lgpl-obligations
328328
[abseil-cpp]: https://github.com/abseil/abseil-cpp
329329
[abseil-cpp license]: https://github.com/abseil/abseil-cpp/blob/master/LICENSE
330330
[capstone]: https://github.com/aquynh/capstone
@@ -367,8 +367,8 @@ Please note that we offer no support for running Binary Ninja with modified Qt l
367367
[sphinx]: http://www.sphinx-doc.org/en/stable/index.html
368368
[sqlite license]: https://www.sqlite.org/copyright.html
369369
[sqlite]: https://www.sqlite.org/index.html
370-
[tarball]: https://binary.ninja/qt6.7.2.tar.xz
371-
[patch]: https://binary.ninja/qt6.7.2.patch
370+
[tarball]: https://binary.ninja/qt6.8.1.tar.xz
371+
[patch]: https://binary.ninja/qt6.8.1.patch
372372
[qt-build]: https://github.com/Vector35/qt-build
373373
[yasm license]: https://github.com/yasm/yasm/blob/master/BSD.txt
374374
[yasm]: http://yasm.tortall.net/

docs/dev/plugins.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ automatically detect the plugin target and will compile and install correctly. H
290290
setup for building and live debugging your plugin:
291291

292292
1. If you installed Binary Ninja somewhere other than the default, add an environment variable in your CMake Profile pointing at the installation, e.g.: `BN_INSTALL_DIR=/Applications/Binary Ninja.app`
293-
2. If you are writing a UI plugin, you will need to include the directory containing `qmake` to the `PATH` Environment Variable in your CMake Profile, e.g.: `PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/user/Qt/6.7.2/clang_64/bin`
293+
2. If you are writing a UI plugin, you will need to include the directory containing `qmake` to the `PATH` Environment Variable in your CMake Profile, e.g.: `PATH=/usr/bin:/bin:/usr/sbin:/sbin:/Users/user/Qt/6.8.1/clang_64/bin`
294294
3. In your Run Configuration's Before Launch steps, add an Install step. This will copy the updated version of your plugin before starting, so you don't have to run Install manually.
295295
4. Set the Executable of your Run Configuration to point to the Binary Ninja executable. This allows you to compile your plugin and start Binary Ninja automatically.
296296
i. On macOS, you will need the full path to /Applications/Binary Ninja.app/Contents/MacOS/binaryninja
@@ -320,7 +320,7 @@ You need to set up a task in `.vscode/tasks.json` to build and install your plug
320320
// You will need this if your Binary Ninja installation is not in the default location
321321
"BN_INSTALL_DIR": "C:\\Users\\User\\AppData\\Local\\Vector35\\BinaryNinja",
322322
// You will need this if you are writing a UI plugin
323-
"PATH": "C:\\Users\\User\\Qt\\6.7.2\\msvc2019_64\\bin"
323+
"PATH": "C:\\Users\\User\\Qt\\6.8.1\\msvc2019_64\\bin"
324324
}
325325
}
326326
}

ui/addressdialog.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ class BINARYNINJAUIAPI AddressDialogWithPreview : public QDialog
5050
private Q_SLOTS:
5151
void updateTimerEvent();
5252
void accepted();
53-
void updateRelativeState(int state);
53+
void updateRelativeState(Qt::CheckState state);
5454
void updatePreview();
5555
void updatePreviewText();
5656
void updatePreviewWithText(QString data);

view/sharedcache/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if (NOT BN_INTERNAL_BUILD)
1616
if(WIN32)
1717
set(MSVC_VERSION msvc2022_64 CACHE STRING "Version of MSVC Qt is built with" )
1818
endif()
19-
set(QT_VERSION 6.7.2 CACHE STRING "Version of Qt to use")
19+
set(QT_VERSION 6.8.1 CACHE STRING "Version of Qt to use")
2020

2121
if(NOT CMAKE_PREFIX_PATH)
2222
if(APPLE)

0 commit comments

Comments
 (0)