Skip to content

Commit

Permalink
adding mingw64 binary
Browse files Browse the repository at this point in the history
  • Loading branch information
cagnulein committed Jan 4, 2024
1 parent 9413349 commit e4e4952
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 11 deletions.
11 changes: 1 addition & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,6 @@ jobs:
cache: 'true'
cache-key-prefix: 'install-qt-action-windows'

- name: Download protobuf
run: |
Invoke-WebRequest -Uri "https://github.com/protocolbuffers/protobuf/releases/download/v25.1/protobuf-25.1.zip" -OutFile "protobuf.zip"
Expand-Archive protobuf.zip -DestinationPath "protobuf"
cd protobuf/protobuf-25.1
Invoke-WebRequest -Uri "https://github.com/abseil/abseil-cpp/archive/refs/tags/20230802.1.zip" -OutFile "abseil-cpp.zip"
Expand-Archive abseil-cpp.zip -DestinationPath "abseil-temp"
cp abseil-temp/abseil-cpp-20230802.1/* third_party/abseil-cpp/
cmake -Dprotobuf_BUILD_TESTS=OFF CMakeLists.txt
- name: download 3rd party files for qthttpserver
run: |
cp qHttpServerBin/5.15.2/headers/* src/qthttpserver/src/3rdparty/http-parser/
Expand Down Expand Up @@ -427,6 +417,7 @@ jobs:
unzip abseil-cpp.zip -d "abseil-temp"
cp -a abseil-temp/abseil-cpp-20230802.1/* third_party/abseil-cpp/
cmake -Dprotobuf_BUILD_TESTS=OFF CMakeLists.txt
ls -ltr
cp *.so /home/runner/work/qdomyos-zwift/Qt/5.15.2/gcc_64/lib/
- name: Install Qt
Expand Down
2 changes: 1 addition & 1 deletion src/qdomyos-zwift.pri
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ CONFIG += qmltypes
#win32: CONFIG += webengine
#unix:!android: CONFIG += webengine

win32:LIBS += -lprotoc -lprotobuf
win32:LIBS += -lprotoc -lprotobuf -Lwindows/mingw64/
unix:!android:LIBS += -lprotoc -lprotobuf

QML_IMPORT_NAME = org.cagnulein.qdomyoszwift
Expand Down
Binary file added src/windows/mingw64/libprotobuf-lite.a
Binary file not shown.
Binary file added src/windows/mingw64/libprotobuf-lite.dll.a
Binary file not shown.
Binary file added src/windows/mingw64/libprotobuf.a
Binary file not shown.
Binary file added src/windows/mingw64/libprotobuf.dll.a
Binary file not shown.
Binary file added src/windows/mingw64/libprotoc.a
Binary file not shown.
Binary file added src/windows/mingw64/libprotoc.dll.a
Binary file not shown.
Binary file added src/windows/mingw64/libutf8_range.a
Binary file not shown.
Binary file added src/windows/mingw64/libutf8_validity.a
Binary file not shown.

0 comments on commit e4e4952

Please sign in to comment.