Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed Jun 13, 2024
1 parent dda8654 commit f022323
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 7 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ jobs:
C:/msys64/usr/bin/pacman -S mingw-w64-${{ matrix.msys_arch }}-aria2 --noconfirm
C:/msys64/usr/bin/pacman -S mingw-w64-${{ matrix.msys_arch }}-quazip-qt5 --noconfirm
C:/msys64/usr/bin/pacman -S mingw-w64-${{ matrix.msys_arch }}-pkg-config --noconfirm
C:/msys64/usr/bin/pacman -Q
- name: Install dependencies for Qt 6
if: ${{ startsWith( matrix.qt_ver, 6 ) }}
shell: powershell
Expand Down
15 changes: 8 additions & 7 deletions modmanager.pro
Original file line number Diff line number Diff line change
Expand Up @@ -435,15 +435,16 @@ win32 {
LIBS += -ldwmapi

message($$system(printenv PKG_CONFIG_PATH))
message($$system($$pkgConfigExecutable() --cflags libaria2))
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags libaria2)
LIBS += $$system($$pkgConfigExecutable() --libs libaria2 | sed 's/\/lib\b/\/bin/' | sed 's/-laria2/-laria2-0/')
message($$system($$pkgConfigExecutable() --define-prefix --cflags libaria2))
message($$system($$pkgConfigExecutable() --define-prefix --libs libaria2))
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --define-prefix --cflags libaria2)
LIBS += $$system($$pkgConfigExecutable() --define-prefix --libs libaria2 | sed 's/\/lib\b/\/bin/' | sed 's/-laria2/-laria2-0/')
equals(QT_MAJOR_VERSION, 5){
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags quazip1-qt5)
LIBS += $$system($$pkgConfigExecutable() --libs quazip1-qt5)
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --define-prefix --cflags quazip1-qt5)
LIBS += $$system($$pkgConfigExecutable() --define-prefix --libs quazip1-qt5)
}
equals(QT_MAJOR_VERSION, 6){
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags quazip1-qt6)
LIBS += $$system($$pkgConfigExecutable() --libs quazip1-qt6)
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --define-prefix --cflags quazip1-qt6)
LIBS += $$system($$pkgConfigExecutable() --define-prefix --libs quazip1-qt6)
}
}

0 comments on commit f022323

Please sign in to comment.