Skip to content

Commit 80df6e1

Browse files
Merge branch 'COVESA:master' into master
2 parents c4b5b38 + 3f5fde0 commit 80df6e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

55 files changed

+73
-1353
lines changed

.github/workflows/BuildPR.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ jobs:
6767
name: DLTViewer-${{ matrix.macos }}-${{ matrix.abi }}
6868
path: build/dist/DLTViewer*.tgz
6969

70-
7170
buildUbuntu:
7271
name: Build ${{ matrix.ubuntu }}
7372
strategy:
@@ -95,7 +94,6 @@ jobs:
9594
with:
9695
name: DLTViewer-Ubuntu-24.04
9796
path: debtmp/covesa-dlt-viewer_*.deb
98-
9997

10098
buildWindows:
10199
name: Build Windows

.github/workflows/Release.yml

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ jobs:
111111
name: Build ${{ matrix.ubuntu }}
112112
strategy:
113113
matrix:
114-
ubuntu: [ ubuntu-22.04, ubuntu-24.04 ]
114+
ubuntu: [ ubuntu-24.04 ]
115115
runs-on: ${{ matrix.ubuntu }}
116116
steps:
117117
- name: Checkout
@@ -120,25 +120,25 @@ jobs:
120120
fetch-depth: 0
121121
submodules: true
122122
- name: install build environment
123-
run: scripts/linux/installUbuntu20.sh
123+
run: scripts/linux/installUbuntu22and24.sh
124124
- name: Build project
125-
run: scripts/linux/buildUbuntu20.sh
126-
- name: Make artifact executable
127-
run: chmod -R +x build/dist
125+
run: scripts/linux/buildUbuntu22and24.sh
126+
- name: Create package
127+
run: ./build_viewer_debs_noble.sh
128128
- name: Archive artifact
129-
run: zip DLT-Linux-${{ matrix.abi }} -r build/dist
130-
- name: Upload DLT artifact
129+
if: ${{ success() }}
131130
uses: actions/upload-artifact@v4
132131
with:
133-
name: DLT-Linux-${{ matrix.abi }}
134-
path: DLT-Linux*.zip
132+
name: DLTViewer-${{ matrix.ubuntu }}
133+
path: debtmp/covesa-dlt-viewer_*.deb
134+
continue-on-error: true
135135

136136
buildWindows:
137137
name: Build Windows
138138
strategy:
139139
matrix:
140140
task: [ parser, sdk ]
141-
qt: [ 5 ]
141+
qt: [ 6 ]
142142
runs-on: windows-2022
143143
steps:
144144
- name: Checkout
@@ -149,12 +149,10 @@ jobs:
149149
- name: Install qt
150150
uses: jurplel/install-qt-action@v4
151151
with:
152-
mirror: http://ftp.fau.de/qtproject/
153-
version: 5.15.2
152+
modules: qtserialport
154153
- name: Build with CMake ${{ matrix.task }}
155154
run: >
156155
$env:WORKSPACE=$env:GITHUB_WORKSPACE;
157-
$env:QTDIR=$env:Qt5_DIR.Replace('/','\');
158156
$env:CPACK_7Z="true";
159157
$env:CPACK_NSIS="true";
160158
./build_sdk_windows_qt${{ matrix.qt }}_MSVC_cmake.bat
@@ -171,7 +169,7 @@ jobs:
171169

172170
createRelease:
173171
name: Create release
174-
runs-on: ubuntu-20.04
172+
runs-on: ubuntu-24.04
175173
needs: [ buildMac, buildLinux, buildWindows ]
176174
steps:
177175
- name: Checkout
@@ -183,6 +181,8 @@ jobs:
183181
uses: actions/download-artifact@v4
184182
with:
185183
name: DLT-Linux
184+
continue-on-error: true
185+
186186
- name: Download DLT macOS artifacts arm64
187187
uses: actions/download-artifact@v4
188188
with:

.gitignore

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
.gitconfig
22
CMakeLists.txt.user
3-
*.pro.user
43
build/
54
.project
65
Makefile
76
buildlib/
87
release/
98
.cproject
10-
*.pro.user*
119
.settings
1210
*.orig
1311
*~
1412
.idea
1513
.cache
1614
compile_commands.json
15+
# deb packaging directories
16+
debian/
17+
debtmp/

BuildDltParser.pro

Lines changed: 0 additions & 7 deletions
This file was deleted.

BuildDltViewer.pro

Lines changed: 0 additions & 13 deletions
This file was deleted.

CMakeLists.txt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,14 @@ cmake_minimum_required (VERSION 3.15)
1919
include(scripts/windows/version.cmake)
2020
include(scripts/linux/version.cmake)
2121

22+
message(STATUS "COVESA DLT Viewer version: ${DLT_PROJECT_VERSION_MAJOR}.${DLT_PROJECT_VERSION_MINOR}.${DLT_PROJECT_VERSION_PATCH}")
23+
if(NOT DLT_PROJECT_VERSION_MAJOR OR NOT DLT_PROJECT_VERSION_MINOR OR NOT DLT_PROJECT_VERSION_PATCH)
24+
set(DLT_PROJECT_VERSION_MAJOR 0)
25+
set(DLT_PROJECT_VERSION_MINOR 0)
26+
set(DLT_PROJECT_VERSION_PATCH 0)
27+
endif()
28+
message(STATUS "COVESA DLT Viewer version: ${DLT_PROJECT_VERSION_MAJOR}.${DLT_PROJECT_VERSION_MINOR}.${DLT_PROJECT_VERSION_PATCH}")
29+
2230
project(dlt-viewer
2331
VERSION ${DLT_PROJECT_VERSION_MAJOR}.${DLT_PROJECT_VERSION_MINOR}.${DLT_PROJECT_VERSION_PATCH}
2432
DESCRIPTION "DLT Viewer")

INSTALL.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
66

77
* Install Qt5 SDK and Qt6 SDK including Qt Creator and Microsoft Visual Studio Build Tools 2019
88
* Tested with QT 5.15.2 (Windows), QT 6.7.3 (Windows), and Qt 5.15.13 (Ubuntu 24.04LTS Linux)
9-
* Open project BuildDltViewer.pro in Qt Creator.
9+
* Open project CMakeLists.txt in Qt Creator.
1010
* Ensure that build options point to correct QT and MSVC.
1111
* Build Release in Qt Creator or via CMake (see last).
1212
* Optional Linux: set the library path in Qt Creator: Add variable to Projects/Build Settings/Build Environment: LD_LIBRARY_PATH = .
@@ -19,7 +19,7 @@ Alexander Wenzel <Alexander.AW.Wenzel@bmw.de>
1919
* sudo apt install libqt5serialport5-dev
2020
* mkdir build
2121
* cd build
22-
* qmake ../BuildDltViewer.pro
22+
* cmake ..
2323
* make
2424
* sudo make install
2525
* sudo ldconfig
@@ -129,6 +129,7 @@ Steps to follow:
129129

130130
* mkdir build
131131
* cd build
132+
* TODO: Change to cmake
132133
* <path to Qt folder>/Qt/5.X/gcc_64/bin/qmake <path to BuildDltViewer.pro>/BuildDltViewer.pro -r
133134
* make
134135

build_config.bat

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,14 @@ echo ************************************
55
echo *** Setting up environment ***
66

77
REM Currently tested combinations by Qt installation
8-
REM 5.15.2 msvc2019
9-
REM 6.7.3 msvc2022
8+
REM 6.8.3 msvc2022
109

1110
if "%QTNO%"=="" (
1211
set QTNO=6
1312
)
1413

1514
if "%QTVER%"=="" (
16-
if "%QTNO%"=="5" (
17-
set QTVER=5.15.2
18-
) else (
19-
set QTVER=6.7.3
20-
)
15+
set QTVER=6.8.3
2116
)
2217

2318
if "%MSVC_VER%"=="" (

build_parser_windows_qt5_MSVC_qmake.bat

Lines changed: 0 additions & 172 deletions
This file was deleted.

0 commit comments

Comments
 (0)