Skip to content

Commit 535e518

Browse files
committed
Update version number
- remove Qt5 support - remove OpenSSL 1.1.1 support WE2-1050 Signed-off-by: Raul Metsma <[email protected]>
1 parent 083f4b7 commit 535e518

File tree

12 files changed

+29
-47
lines changed

12 files changed

+29
-47
lines changed

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

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,16 @@ env:
1313

1414
jobs:
1515
build:
16-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04${{ matrix.arch == 'arm64' && '-arm' || '' }}
1717
container: ubuntu:${{matrix.container}}
1818
strategy:
1919
matrix:
20-
container: ['20.04', '22.04', '24.04']
20+
container: ['22.04', '24.04', '24.10']
21+
arch: ['amd64', 'arm64']
2122

2223
steps:
2324
- name: Install dependencies
24-
if: matrix.container == '20.04'
25-
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libqt5svg5-dev qttools5-dev-tools qttools5-dev
26-
27-
- name: Install dependencies
28-
if: matrix.container != '20.04'
29-
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools libqt6core5compat6-dev
25+
run: apt update -qq && apt install --no-install-recommends -y git lsb-release fakeroot build-essential devscripts debhelper lintian pkg-config cmake libpcsclite-dev libssl-dev libgtest-dev libgl-dev libqt6svg6-dev qt6-tools-dev qt6-tools-dev-tools qt6-l10n-tools
3026

3127
- uses: actions/checkout@v4
3228
with:
@@ -46,5 +42,5 @@ jobs:
4642

4743
- uses: actions/upload-artifact@v4
4844
with:
49-
name: web-eid-app-ubuntu-build-ubuntu${{matrix.container}}-${{github.run_number}}
45+
name: web-eid-app-ubuntu-build-ubuntu${{matrix.container}}-${{ matrix.arch }}-${{github.run_number}}
5046
path: build/*.*deb

.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.7.2
67+
version: 6.7.3
6868
arch: clang_64
6969

7070
- name: Configure

.github/workflows/cmake-windows.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: Install Qt
3636
uses: jurplel/install-qt-action@v4
3737
with:
38-
version: 6.7.2
38+
version: 6.7.3
3939
arch: win64_msvc2019_64
4040

4141
- name: Setup MS Visual C++ dev env
@@ -45,10 +45,10 @@ jobs:
4545

4646
- name: Install WiX
4747
run: |
48-
dotnet tool install --global wix --version 5.0.1
49-
wix extension -g add WixToolset.UI.wixext/5.0.1
50-
wix extension -g add WixToolset.Util.wixext/5.0.1
51-
wix extension -g add WixToolset.BootstrapperApplications.wixext/5.0.1
48+
dotnet tool install --global wix --version 5.0.2
49+
wix extension -g add WixToolset.UI.wixext/5.0.2
50+
wix extension -g add WixToolset.Util.wixext/5.0.2
51+
wix extension -g add WixToolset.BootstrapperApplications.wixext/5.0.2
5252
5353
- name: Configure
5454
run: |

CMakeLists.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required(VERSION 3.16)
1+
cmake_minimum_required(VERSION 3.22)
22

33
if(NOT EXISTS "${CMAKE_SOURCE_DIR}/lib/libelectronic-id/README.md")
44
message(FATAL_ERROR "libelectronic-id submodule directory empty, did you 'git clone --recursive'?")
@@ -11,7 +11,7 @@ elseif($ENV{CI_PIPELINE_IID})
1111
else()
1212
set(BUILD_NUMBER 0)
1313
endif()
14-
project(web-eid VERSION 2.6.0.${BUILD_NUMBER})
14+
project(web-eid VERSION 2.7.0.${BUILD_NUMBER})
1515

1616
set(MACOSX_BUNDLE_SHORT_VERSION_STRING "${PROJECT_VERSION_MAJOR}.${PROJECT_VERSION_MINOR}.${PROJECT_VERSION_PATCH}")
1717
set(MACOSX_BUNDLE_BUNDLE_VERSION ${PROJECT_VERSION_TWEAK})
@@ -32,9 +32,8 @@ set(SIGNCERT "" CACHE STRING "Common name of certificate to used sign binaries,
3232
set(CROSSSIGNCERT "" CACHE STRING "Common name of certificate to used cross sign binaries, empty skips signing (Windows)")
3333
set(SAFARI_PROVISIONPROFILE "" CACHE STRING "Provision profile to include in application (macOS)")
3434

35-
find_package(QT NAMES Qt6 Qt5 COMPONENTS Core REQUIRED)
36-
find_package(Qt${QT_VERSION_MAJOR} 5.12.0 REQUIRED COMPONENTS Core Widgets Network Test LinguistTools Svg)
37-
get_target_property(qtCore_install_prefix Qt${QT_VERSION_MAJOR}::qmake IMPORTED_LOCATION)
35+
find_package(Qt6 6.2.0 REQUIRED COMPONENTS Core Widgets Network Test LinguistTools SvgWidgets)
36+
get_target_property(qtCore_install_prefix Qt6::qmake IMPORTED_LOCATION)
3837
get_filename_component(qtCore_install_prefix ${qtCore_install_prefix} DIRECTORY)
3938

4039
add_subdirectory(lib/libelectronic-id)

debian/control

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ Priority: optional
44
Maintainer: RIA <[email protected]>
55
Build-Depends:
66
cmake,
7-
debhelper-compat (= 12),
7+
debhelper-compat (= 13),
88
libpcsclite-dev,
99
libssl-dev,
1010
libgtest-dev,
11-
qt6-tools-dev | qttools5-dev,
12-
qt6-l10n-tools | qttools5-dev-tools,
13-
libqt6svg6-dev | libqt5svg5-dev
14-
Standards-Version: 4.5.1
11+
qt6-tools-dev,
12+
qt6-l10n-tools,
13+
libqt6svg6-dev
14+
Standards-Version: 4.6.1
1515
Homepage: https://github.com/web-eid/web-eid-app
1616

1717
Package: web-eid
@@ -30,7 +30,7 @@ Architecture: any
3030
Multi-Arch: foreign
3131
Depends:
3232
pcscd,
33-
qt6-qpa-plugins | libqt5gui5,
33+
qt6-qpa-plugins,
3434
${shlibs:Depends},
3535
${misc:Depends}
3636
Replaces: token-signing-native

src/app/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ set_property(SOURCE web-eid.rc APPEND PROPERTY COMPILE_DEFINITIONS
1212
PROJECT_VERSION_PATCH=${PROJECT_VERSION_PATCH}
1313
PROJECT_VERSION_TWEAK=${PROJECT_VERSION_TWEAK}
1414
)
15-
target_link_libraries(web-eid controller ui pcsc)
15+
target_link_libraries(web-eid ui pcsc)
1616

1717
if(WIN32)
1818
if(CMAKE_SIZEOF_VOID_P EQUAL 8)

src/controller/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,8 @@ set_property(SOURCE application.cpp APPEND PROPERTY COMPILE_DEFINITIONS PROJECT_
4949
target_include_directories(controller PUBLIC ${CMAKE_CURRENT_SOURCE_DIR})
5050
target_link_libraries(controller
5151
electronic-id
52-
Qt${QT_VERSION_MAJOR}::Network
53-
Qt${QT_VERSION_MAJOR}::Widgets
52+
Qt6::Network
53+
Qt6::Widgets
5454
)
5555

5656
# %{function}:%{file}:%{line} works in Qt log message pattern only if code

src/mac/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ set_target_properties(web-eid-safari PROPERTIES
5050
XCODE_ATTRIBUTE_PRODUCT_BUNDLE_IDENTIFIER "eu.web-eid.web-eid-safari"
5151
)
5252
target_compile_definitions(web-eid-safari PUBLIC QT_DEPRECATED_WARNINGS_SINCE=051200)
53-
target_link_libraries(web-eid-safari SafariServices controller ui pcsc "-framework Cocoa")
53+
target_link_libraries(web-eid-safari SafariServices ui pcsc "-framework Cocoa")
5454
add_custom_command(TARGET web-eid-safari POST_BUILD
5555
COMMAND mkdir -p $<TARGET_BUNDLE_CONTENT_DIR:web-eid-safari>/PlugIns
5656
COMMAND cp -a $<TARGET_BUNDLE_DIR:web-eid-safari-extension> $<TARGET_BUNDLE_CONTENT_DIR:web-eid-safari>/PlugIns

0 commit comments

Comments
 (0)