From 6c9842f9fb9e48f56c6f0db08f2e3965c0683ca2 Mon Sep 17 00:00:00 2001 From: Jakub Melka Date: Sun, 15 Jan 2023 18:56:30 +0100 Subject: [PATCH] Update of readme --- README.md | 20 ++++++++++++++++++++ vcpkg.json | 2 +- 2 files changed, 21 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index ed0325b..db177d2 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,26 @@ Following important variables should be set or checked before any attempt to com | ------------------------------------ | ---------|--------------------------------------------------------- | | `PDF4QT_QT_ROOT` | Any |Qt installation directory | | `QT_CREATOR_SKIP_VCPKG_SETUP` | Any |Enable or disable automatic vcpkg setup | +| `CMAKE_PROJECT_INCLUDE_BEFORE` | Any |Should be set to package manager auto setup | +| `CMAKE_TOOLCHAIN_FILE` | Any |Should be set to toolchain | + +#### Sample setup on Windows + +Following set of variables gives sample setup for MS Windows. It is minimal initial configuration +to be able to built Debug build on MS Windows. + +| Key | Value | +| ------------------------------- | -------------------------------------------------------------| +| `CMAKE_BUILD_TYPE` | Debug | +| `CMAKE_CXX_COMPILER` | %{Compiler:Executable:Cxx} | +| `CMAKE_C_COMPILER` | %{Compiler:Executable:C} | +| `CMAKE_GENERATOR` | Ninja | +| `CMAKE_PREFIX_PATH` | %{Qt:QT_INSTALL_PREFIX} | +| `CMAKE_PROJECT_INCLUDE_BEFORE` | %{IDE:ResourcePath}/package-manager/auto-setup.cmake | +| `CMAKE_TOOLCHAIN_FILE` | %{Qt:QT_INSTALL_PREFIX}/lib/cmake/Qt6/qt.toolchain.cmake | +| `PDF4QT_QT_ROOT` | C:/Programming/Qt/6.4.0/msvc2019_64 | +| `QT_QMAKE_EXECUTABLE` | %{Qt:qmakeExecutable} | + ### Tested Compilers - Windows - Visual Studio 2022 (Microsoft Visual C++ Compiler 17.1) diff --git a/vcpkg.json b/vcpkg.json index 4f78962..f69c5bb 100644 --- a/vcpkg.json +++ b/vcpkg.json @@ -1,5 +1,5 @@ { "name": "pdf4qt", - "version-string": "1.2.2", + "version-string": "1.3.1", "dependencies": [ "openssl", "lcms", "zlib", "openjpeg", "freetype", "ijg-libjpeg", "libpng" ] }