SnoreToast fails to build on MSYS2 due to missing
which apparently is not available for this compiler.
This patch changes dependency on SnoreToast from required to optional.
As a result, it allows to actually build KNotifications on MSYS2.
SnoreToast fails to build on MSYS2 due to missing
which apparently is not available for this compiler.
This patch changes dependency on SnoreToast from required to optional.
As a result, it allows to actually build KNotifications on MSYS2.
Built application on Windows, which links to KNotifications.
No Linters Available |
No Unit Test Coverage |
Buildable 26094 | |
Build 26112: arc lint + arc unit |
SnoreToast fails to build on MSYS2 due to missing
which apparently is not available for this compiler.
I'm sorry, missing what exactly?
Well the code is header only, so gcc can use it too.
Everything needed is to pull in a binary, that's not ideal but I guess its better than no notifications on Windows.
I see. I've updated the patch. Linking to downloaded library is now possible, and there is a fallback if no library is present.
I still do not understand the utility of this patch. What do you hope to fix by this patch exactly?
SnoreToast fails to build on MSYS2 due to missing
which apparently is not available for this compiler.
which compiler are you referring to here?
This patch changes dependency on SnoreToast from required to optional.
As a result, it allows to actually build KNotifications on MSYS2.
why do you want to build KNotifications on MSYS2?
More inline comments follow, please take a look.
CMakeLists.txt | ||
---|---|---|
76 | why do we need Qt5Network for all kinds of Windows builds? | |
79 | the option should be MSYS specific rather than being SnoreToast specific. |
Thanks for looking into that matter.
I hope to fix KNotifications build on MSYS2 where there is no possibility to compile SnoreToast.
It was possible to compile KNotifications without neither compiling SnoreToast, nor downloading its binaries before. This patch brings that possibility while allowing to build with SnoreToast enabled as well.
SnoreToast fails to build on MSYS2 due to missing
which apparently is not available for this compiler.which compiler are you referring to here?
MinGW from MSYS2.
This patch changes dependency on SnoreToast from required to optional.
As a result, it allows to actually build KNotifications on MSYS2.why do you want to build KNotifications on MSYS2?
I have my own build of KF5 libraries which I use to package app that I forked.
More inline comments follow, please take a look.
CMakeLists.txt | ||
---|---|---|
76 | We don't need it, but if it would be found together with SnoreToast then SnoreToast would be enabled by default in MSVC and MSYS2 builds. | |
79 | I think it should be SnoreToast specific because if you download the binary of SnoreToast then you could possibly compile KNotifications with it on MSYS2. |
CMakeLists.txt | ||
---|---|---|
75 ↗ | (On Diff #81529) | please maintain the REQUIRED call for normal Windows builds. |
CMakeLists.txt | ||
---|---|---|
75 ↗ | (On Diff #81529) | Is it ready to land now? |