Skip to content

Commit

Permalink
ci test
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniol-lck committed Jun 12, 2024
1 parent 8aabd04 commit adbd698
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 7 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,10 @@ jobs:
Get-Command -Name 'mingw32-make' | Format-List
- name: mingw-build
id: build
shell: bash
shell: pwsh
run: |
export PKG_CONFIG_PATH='C:/msys64/mingw64/lib/pkgconfig'
set PKG_CONFIG_PATH='C:/msys64/mingw64/lib/pkgconfig'
set PATH="%PATH%;C:/msys64/mingw64/bin"
qmake
mingw32-make.exe qmake_all
mingw32-make.exe
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -71,3 +71,5 @@ Thumbs.db
*.dll
*.exe

#Builds
build/
12 changes: 7 additions & 5 deletions modmanager.pro
Original file line number Diff line number Diff line change
Expand Up @@ -421,11 +421,13 @@ unix {
INCLUDEPATH += /usr/include/KF5/KWindowSystem
}
message($$system(printenv PKG_CONFIG_PATH))
message($$system($$pkgConfigExecutable() --libs libaria2))
LIBS += -L/usr/lib/x86_64-linux-gnu -L/usr/local/lib
CONFIG += link_pkgconfig
equals(QT_MAJOR_VERSION, 5): PKGCONFIG += libaria2 quazip1-qt5
equals(QT_MAJOR_VERSION, 6): PKGCONFIG += libaria2 quazip1-qt6
message($$system($$pkgConfigExecutable() --libs libaria2 quazip1-qt5))
message($$system($$pkgConfigExecutable() --cflags libaria2 quazip1-qt5))
QMAKE_CXXFLAGS += $$system($$pkgConfigExecutable() --cflags libaria2 quazip1-qt5)
LIBS += -L/usr/lib/x86_64-linux-gnu -lquazip5 -L/usr/local/lib -laria2
# CONFIG += link_pkgconfig
# equals(QT_MAJOR_VERSION, 5): PKGCONFIG += libaria2 quazip1-qt5
# equals(QT_MAJOR_VERSION, 6): PKGCONFIG += libaria2 quazip1-qt6
}

win32 {
Expand Down

0 comments on commit adbd698

Please sign in to comment.