From d361578d9089e9ea79d81f7d23f7d183b8311b36 Mon Sep 17 00:00:00 2001 From: Dimitris Kalamaras Date: Mon, 25 Nov 2024 12:53:55 +0200 Subject: [PATCH] GH Actions CI: add the /entry:mainCRTStartup linker flag in Windows build to avoid error LNK2019 -see ~https://stackoverflow.com/questions/39689162/qt-project-in-visual-studio-2015-unresolved-external-symbol-wwinmain/39704287~ --- .github/workflows/build-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-ci.yml b/.github/workflows/build-ci.yml index de437d52..e49c6314 100644 --- a/.github/workflows/build-ci.yml +++ b/.github/workflows/build-ci.yml @@ -147,6 +147,7 @@ jobs: dir D:\a\app\Qt\6.2.4\msvc2019_64\bin # dir D:\a\app\Qt\6.2.4\mingw_64 # dir D:\a\app\Qt\6.2.4\mingw_64\bin + set LINK=/entry:mainCRTStartup qmake6 CONFIG+=debug socnetv.pro -r nmake # dir