Skip to content

Commit 1cab9e2

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

File tree

20 files changed

+155
-34
lines changed

20 files changed

+155
-34
lines changed

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

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,27 @@ jobs:
1919
- uses: actions/checkout@v4
2020
with:
2121
submodules: recursive
22+
persist-credentials: false
2223

23-
- uses: github/codeql-action/init@v3
24+
- uses: github/codeql-action/init@v4
2425
with:
2526
languages: cpp
2627
queries: +security-and-quality
2728

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

30-
- uses: github/codeql-action/analyze@v3
31+
- uses: github/codeql-action/analyze@v4
3132
with:
3233
upload: False
3334
output: sarif-results
3435

35-
- uses: advanced-security/filter-sarif@develop
36+
- uses: advanced-security/filter-sarif@v1
3637
with:
3738
patterns: |
3839
-**/*autogen*/**
3940
input: sarif-results/cpp.sarif
4041
output: sarif-results/cpp.sarif
4142

42-
- uses: github/codeql-action/upload-sarif@v3
43+
- uses: github/codeql-action/upload-sarif@v4
4344
with:
4445
sarif_file: sarif-results/cpp.sarif

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ jobs:
2626
- uses: actions/checkout@v4
2727
with:
2828
submodules: recursive
29+
persist-credentials: false
2930

3031
- name: Configure CMake
3132
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -B build -S .

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

Lines changed: 3 additions & 2 deletions
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
@@ -23,14 +23,15 @@ jobs:
2323
- uses: actions/checkout@v4
2424
with:
2525
submodules: recursive
26+
persist-credentials: false
2627

2728
- name: Configure CMake
2829
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc -B build -S .
2930

3031
- name: Build
3132
run: cmake --build build --config $BUILD_TYPE --target package
3233

33-
- uses: actions/upload-artifact@v4
34+
- uses: actions/upload-artifact@v5
3435
with:
3536
name: web-eid-app-fedora-build-fedora${{matrix.container}}-${{github.run_number}}
3637
path: build/*rpm

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ jobs:
2727
- uses: actions/checkout@v4
2828
with:
2929
submodules: recursive
30+
persist-credentials: false
3031

3132
- name: Configure CMake
3233
run: cmake -DCMAKE_BUILD_TYPE=$BUILD_TYPE -B build -S .
@@ -40,7 +41,7 @@ jobs:
4041
- name: Test package
4142
run: lintian build/*.deb
4243

43-
- uses: actions/upload-artifact@v4
44+
- uses: actions/upload-artifact@v5
4445
with:
4546
name: web-eid-app-ubuntu-build-ubuntu${{matrix.container}}-${{ matrix.arch }}-${{github.run_number}}
4647
path: build/*.*deb

.github/workflows/cmake-macos.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
uses: actions/checkout@v5
2222
with:
2323
submodules: recursive
24+
persist-credentials: false
2425

2526
- name: Cache
2627
uses: actions/cache@v4
@@ -64,7 +65,7 @@ jobs:
6465
- name: Install Qt
6566
uses: jurplel/install-qt-action@v4
6667
with:
67-
version: 6.9.3
68+
version: 6.10.0
6869
arch: clang_64
6970

7071
- name: Configure
@@ -80,7 +81,7 @@ jobs:
8081
# run: ctest -V -C ${BUILD_TYPE} --test-dir ${BUILD_DIR}
8182

8283
- name: Upload artifacts
83-
uses: actions/upload-artifact@v4
84+
uses: actions/upload-artifact@v5
8485
with:
8586
name: web-eid-app-macos-build-${{github.run_number}}
8687
path: |

.github/workflows/cmake-windows.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ jobs:
2222
uses: actions/checkout@v5
2323
with:
2424
submodules: recursive
25+
persist-credentials: false
2526

2627
- name: Cache vcpkg
2728
uses: actions/cache@v4
@@ -74,7 +75,7 @@ jobs:
7475
run: ctest -V -C ${env:BUILD_TYPE} --test-dir build
7576

7677
- name: Upload artifacts
77-
uses: actions/upload-artifact@v4
78+
uses: actions/upload-artifact@v5
7879
with:
7980
name: web-eid-app-windows-build-${{matrix.arch}}-${{github.run_number}}
8081
path: |

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

0 commit comments

Comments
 (0)