Skip to content

Commit a81a8c8

Browse files
committed
Improve README sections about building on Windows
1 parent c050902 commit a81a8c8

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -449,15 +449,15 @@ To run the resulting binaries, you'll need to make sure the Qt libraries are in
449449
`$Env:PATH = "$Env:QT_ROOT\bin"`.
450450

451451
Note that you don't need to install all Visual Studio has to offer. A customized installation with just
452-
C++ core features, MSVC x86/x64 build tools, Windows SDK and vpkg should be enough. In Qt's online installer
453-
you can also uncheck everything except the MSVC build of Qt itself.
452+
C++ core features, MSVC x86/x64 build tools, Windows SDK and vcpkg should be enough. In Qt's online installer
453+
you can also uncheck everything except the MSVC build of Qt.
454454

455455
If the compilation of the resource file doesn't work you can use `-DWINDOWS_RESOURCES_ENABLED=OFF` to continue
456456
the build regardless.
457457

458458
###### Building under Windows for Android
459459
Building for Android under Windows is still experimental and not regularly tested. It is generally supported
460-
by CMake, Android tooling andQt, though. So as long as all dependencies are installed correctly by *some*
460+
by CMake, Android tooling and Qt, though. So as long as all dependencies are installed correctly by *some*
461461
means it is supposed to work. The following instructions describe how one could approach the installation of
462462
the required dependencies.
463463

@@ -469,6 +469,7 @@ Android SDK and Qt for Android.
469469

470470
<details>
471471
<summary>Install Android SDK and NDK</summary>
472+
472473
The easiest way to install the SDK is to install [Android Studio](https://developer.android.com/studio).
473474
Its setup wizard allows to install the SDK and other useful tools. The Gradle project files created by Qt can
474475
also be opened with it. This setup will also use the version of Java that comes with Android Studio.
@@ -478,12 +479,14 @@ The NDK needs to be [downloaded separately](https://developer.android.com/ndk/do
478479

479480
<details>
480481
<summary>Install Qt</summary>
482+
481483
The easiest way to install Qt is via the official [Qt installer](https://www.qt.io/download-qt-installer-oss).
482484
The open source version is sufficient but a Qt account is required.
483485
</details>
484486

485487
<details>
486488
<summary>Install additional native libraries for Android</summary>
489+
487490
Additional libraries can be installed via MSYS2 using my Arch Linux packaging. Note that this is not generally
488491
required to build Syncthing Tray as use of libiconv, Boost, OpenSSL and CppUnit is optional (so only Qt is
489492
required besides the C/C++ standard libraries). However, the following instructions and the CMake preset make
@@ -529,6 +532,7 @@ To search for available Android packages on my repo per architecture one can use
529532
530533
<details>
531534
<summary>Conduct build</summary>
535+
532536
Set the following environment variables:
533537
534538
* `ANDROID_HOME`: path to the Android SDK

0 commit comments

Comments
 (0)