Skip to content

Commit d0d6cb4

Browse files
committed
Update version number
WE2-1141 Signed-off-by: Raul Metsma <[email protected]>
1 parent 9c5f9ff commit d0d6cb4

File tree

17 files changed

+145
-30
lines changed

17 files changed

+145
-30
lines changed

.github/workflows/cmake-linux-codeql.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,25 +20,25 @@ jobs:
2020
with:
2121
submodules: recursive
2222

23-
- uses: github/codeql-action/init@v3
23+
- uses: github/codeql-action/init@v4
2424
with:
2525
languages: cpp
2626
queries: +security-and-quality
2727

28-
- uses: github/codeql-action/autobuild@v3
28+
- uses: github/codeql-action/autobuild@v4
2929

30-
- uses: github/codeql-action/analyze@v3
30+
- uses: github/codeql-action/analyze@v4
3131
with:
3232
upload: False
3333
output: sarif-results
3434

35-
- uses: advanced-security/filter-sarif@develop
35+
- uses: advanced-security/filter-sarif@v1
3636
with:
3737
patterns: |
3838
-**/*autogen*/**
3939
input: sarif-results/cpp.sarif
4040
output: sarif-results/cpp.sarif
4141

42-
- uses: github/codeql-action/upload-sarif@v3
42+
- uses: github/codeql-action/upload-sarif@v4
4343
with:
4444
sarif_file: sarif-results/cpp.sarif

.github/workflows/cmake-linux-fedora.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
container: fedora:${{ matrix.container }}
1515
strategy:
1616
matrix:
17-
container: [41, 42, 43]
17+
container: [42, 43]
1818

1919
steps:
2020
- name: Install Deps

.github/workflows/cmake-macos.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ jobs:
6464
- name: Install Qt
6565
uses: jurplel/install-qt-action@v4
6666
with:
67-
version: 6.9.3
67+
version: 6.10.0
6868
arch: clang_64
6969

7070
- name: Configure

CMakeLists.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,10 @@ elseif($ENV{CI_PIPELINE_IID})
1111
else()
1212
set(BUILD_NUMBER 0)
1313
endif()
14-
project(web-eid VERSION 2.8.0.${BUILD_NUMBER})
14+
project(web-eid VERSION 2.9.0.${BUILD_NUMBER}
15+
DESCRIPTION "Web eID browser extension helper application"
16+
HOMEPAGE_URL https://github.com/web-eid/web-eid-app
17+
)
1518

1619
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
1720
set(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION_TWEAK})

README.md

Lines changed: 14 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -266,13 +266,13 @@ https://github.com/mrts/docker-qt-cmake-gtest-valgrind-ubuntu/blob/master/Docker
266266

267267
### Windows
268268

269-
- Download Visual Studio 2019 community installer from https://visualstudio.microsoft.com/ and install _Desktop C++ Development_
269+
- Download Visual Studio 2022 community installer from https://visualstudio.microsoft.com/ and install _Desktop C++ Development_
270270
- Install WIX toolset
271271

272-
dotnet tool install --global wix --version 5.0.0
273-
wix extension -g add WixToolset.UI.wixext/5.0.0
274-
wix extension -g add WixToolset.Util.wixext/5.0.0
275-
wix extension -g add WixToolset.Bal.wixext/5.0.0
272+
dotnet tool install --global wix --version 6.0.2
273+
wix extension -g add WixToolset.UI.wixext/6.0.2
274+
wix extension -g add WixToolset.Util.wixext/6.0.2
275+
wix extension -g add WixToolset.Bal.wixext/6.0.2
276276

277277
- Download and install Git for Windows from https://git-scm.com/download/win
278278
- Download and install CMake from https://cmake.org/download/
@@ -283,12 +283,8 @@ https://github.com/mrts/docker-qt-cmake-gtest-valgrind-ubuntu/blob/master/Docker
283283
.\bootstrap-vcpkg.bat
284284
.\vcpkg integrate install
285285

286-
- Install _Google Test_ and _OpenSSL_ with _vcpkg_:
287-
288-
.\vcpkg install --recurse --triplet x64-windows --clean-after-build gtest openssl
289-
290286
- Install _Qt_ with the official [_Qt Online Installer_](https://www.qt.io/download-qt-installer),
291-
choose _Custom installation > Qt 6.6.3 > MSVC 2019 64-bit_.
287+
choose _Custom installation > Qt 6.10.0 > MSVC 2022 64-bit_.
292288

293289
### macOS
294290

@@ -303,7 +299,7 @@ https://github.com/mrts/docker-qt-cmake-gtest-valgrind-ubuntu/blob/master/Docker
303299
- Create symlink to _OpenSSL_ location and setup environment variables required
304300
by _CMake_:
305301

306-
export OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1
302+
export OPENSSL_ROOT_DIR=/usr/local/opt/openssl@3.0
307303
export QT_DIR=/usr/local/opt/qt6/lib/cmake/Qt6
308304

309305
## Building and testing
@@ -320,7 +316,7 @@ Use _Powershell_ to run the following commands to build the project.
320316

321317
- Set the _Qt_ installation directory variable:
322318

323-
$QT_ROOT = "C:\Qt\6.2.4\msvc2019_64"
319+
$QT_ROOT = "C:\Qt\6.10.0\msvc2022_64"
324320

325321
- Set the _vcpkg_ installation directory variable:
326322

@@ -332,11 +328,11 @@ Use _Powershell_ to run the following commands to build the project.
332328

333329
- Run _CMake_:
334330

335-
Optionally, WIX Toolset v3 is required for the installer, and the WIX environment variable should be set for the installed target.
336-
337-
cmake "-DCMAKE_PREFIX_PATH=${QT_ROOT}" `
331+
cmake -A x64 -B build -S .
332+
"-DCMAKE_PREFIX_PATH=${QT_ROOT}" `
338333
"-DCMAKE_TOOLCHAIN_FILE=${VCPKG_ROOT}/scripts/buildsystems/vcpkg.cmake" `
339-
"-DCMAKE_BUILD_TYPE=${BUILD_TYPE}" -A x64 -B build -S .
334+
"-DCMAKE_BUILD_TYPE=${BUILD_TYPE}" `
335+
"-DVCPKG_MANIFEST_DIR=lib/libelectronic-id/.github"
340336

341337
- Run the build and installer build:
342338

@@ -353,9 +349,9 @@ Optionally, WIX Toolset v3 is required for the installer, and the WIX environmen
353349

354350
## Adding and updating translations
355351

356-
You can use the free [Qt Linguist application](https://doc.qt.io/qt-5/qtlinguist-index.html)
352+
You can use the free [Qt Linguist application](https://doc.qt.io/qt-6/qtlinguist-index.html)
357353
to add and edit translations.
358354

359355
Run the following command to update Qt Linguist TS files:
360356

361-
lupdate src/ -ts ./src/ui/translations/*.ts
357+
cmake --build build --config ${BUILD_TYPE} --target update_translations

build.ps1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
param(
22
[string]$cmake = "C:\Program Files\CMake\bin\cmake.exe",
33
[string]$vcpkgroot = "C:\vcpkg",
4-
[string]$qtdir = "C:\Qt\6.5.2\msvc2019_64"
4+
[string]$qtdir = "C:\Qt\6.10.0\msvc2022_64",
5+
[string]$buildtype = "RelWithDebInfo",
6+
[string]$arch = "x64"
57
)
68

7-
& $cmake -A x64 "-DCMAKE_TOOLCHAIN_FILE=$vcpkgroot\scripts\buildsystems\vcpkg.cmake" "-DQt6_DIR=$qtdir" -S . -B build
8-
& $cmake --build build
9+
& $cmake -S . -B build\windows -A $arch -DCMAKE_BUILD_TYPE=$buildtype "-DCMAKE_PREFIX_PATH=$qtdir" "-DCMAKE_TOOLCHAIN_FILE=$vcpkgroot\scripts\buildsystems\vcpkg.cmake" "-DVCPKG_MANIFEST_DIR=lib/libelectronic-id/.github"
10+
& $cmake --build build\windows --config $buildtype

src/ui/CMakeLists.txt

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ qt_add_resources(ui resources BASE ${CMAKE_CURRENT_SOURCE_DIR} PREFIX / FILES
1616
${FONTS}
1717
)
1818
file(GLOB TRANSLATIONS translations/*.ts)
19-
qt_add_translations(ui TS_FILES ${TRANSLATIONS} RESOURCE_PREFIX /translations)
19+
qt_add_translations(ui
20+
TS_FILES ${TRANSLATIONS}
21+
RESOURCE_PREFIX /translations
22+
LUPDATE_OPTIONS -locations none
23+
)
2024
set_target_properties(ui PROPERTIES
2125
AUTORCC ON
2226
AUTOUIC ON

src/ui/translations/cs.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!DOCTYPE TS>
33
<TS version="2.1" language="cs_CZ">
4+
<context>
5+
<name>Application</name>
6+
<message>
7+
<source>&amp;File</source>
8+
<translation type="unfinished"></translation>
9+
</message>
10+
<message>
11+
<source>&amp;About</source>
12+
<translation type="unfinished"></translation>
13+
</message>
14+
</context>
415
<context>
516
<name>CertificateButton</name>
617
<message>

src/ui/translations/de.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!DOCTYPE TS>
33
<TS version="2.1" language="de_DE">
4+
<context>
5+
<name>Application</name>
6+
<message>
7+
<source>&amp;File</source>
8+
<translation type="unfinished"></translation>
9+
</message>
10+
<message>
11+
<source>&amp;About</source>
12+
<translation type="unfinished"></translation>
13+
</message>
14+
</context>
415
<context>
516
<name>CertificateButton</name>
617
<message>

src/ui/translations/en.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<!DOCTYPE TS>
33
<TS version="2.1" language="en_US">
4+
<context>
5+
<name>Application</name>
6+
<message>
7+
<source>&amp;File</source>
8+
<translation>&amp;File</translation>
9+
</message>
10+
<message>
11+
<source>&amp;About</source>
12+
<translation>&amp;About</translation>
13+
</message>
14+
</context>
415
<context>
516
<name>CertificateButton</name>
617
<message>

0 commit comments

Comments
 (0)