mirror of
https://github.com/tumic0/QtPBFImagePlugin.git
synced 2025-03-01 22:30:47 +01:00
Compare commits
6 Commits
871aad37da
...
9dba35082b
Author | SHA1 | Date | |
---|---|---|---|
9dba35082b | |||
76f1a23f8d | |||
f931b653c4 | |||
b0885a4b05 | |||
7c34a2c4e1 | |||
0cb3edda05 |
8
.github/workflows/osx.yml
vendored
8
.github/workflows/osx.yml
vendored
@ -11,12 +11,12 @@ jobs:
|
|||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Set environment variables
|
- name: Set environment variables
|
||||||
run: echo "PATH=/usr/local/opt/qt@5/bin:$PATH" >> $GITHUB_ENV
|
run: echo "PATH=/usr/local/opt/protobuf@21/bin:$PATH" >> $GITHUB_ENV
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: brew install qt5 protobuf
|
run: brew install qt6 protobuf@21
|
||||||
- name: Configure build
|
- name: Configure build
|
||||||
run: qmake PROTOBUF=/usr/local pbfplugin.pro
|
run: qmake PROTOBUF=/usr/local/opt/protobuf@21 pbfplugin.pro
|
||||||
- name: Build project
|
- name: Build project
|
||||||
run: make -j3
|
run: make -j3
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
|
|
||||||
QByteArray Gzip::uncompress(QIODevice *device, int limit)
|
QByteArray Gzip::uncompress(QIODevice *device, int limit)
|
||||||
{
|
{
|
||||||
int ret;
|
int ret = Z_STREAM_END;
|
||||||
z_stream strm;
|
z_stream strm;
|
||||||
unsigned char in[CHUNK];
|
unsigned char in[CHUNK];
|
||||||
unsigned char out[CHUNK];
|
unsigned char out[CHUNK];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user