Skip to content

Commit

Permalink
WIP: test MSVC crash workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
rgriebl committed Dec 14, 2024
1 parent 970c809 commit 398ab6c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/build_cmake.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:

- name: "Linux AppImage"
artifact: "Linux-AppImage"
runs-on: ubuntu-22.04
runs-on: ubuntu-20.04
os: linux
appimage: true
qt_tools: tools_opensslv3_src
Expand Down Expand Up @@ -184,6 +184,12 @@ jobs:
path: "${{ runner.workspace }}/Qt/"
key: "Qt-${{ matrix.config.qt_version }}-${{ matrix.config.qt_host }}-${{ matrix.config.qt_arch }}"

- name: "Fix Python version"
if: matrix.config.appimage
uses: actions/setup-python@v5
with:
python-version: '3.12'

- name: Install Qt via aqtinstall
if: |
((matrix.config.os != 'linux') || matrix.config.appimage || matrix.config.snap || matrix.config.flatpak)
Expand Down
2 changes: 2 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -325,6 +325,8 @@ if (WIN32)
find_package(Qt6 REQUIRED Widgets)
target_link_libraries(${PROJECT_NAME} PRIVATE Qt6::Widgets)

add_compile_definitions(_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR)

target_link_libraries(${PROJECT_NAME} PRIVATE user32 advapi32 wininet)
endif()

Expand Down

0 comments on commit 398ab6c

Please sign in to comment.