Problem compiling SnoreToast to implement Windows 10 Toast Notifications with Qt
-
I'm trying to compile SnoreToast, https://github.com/KDE/snoretoast, using MVSC 2013 32bits with Qt. I compile it succesly with Visual Studio, but in Qt i found some problem with external symbols:
-
list itemmain.obj:-1: error: LNK2019: unresolved external symbol __imp__CommandLineToArgvW@8 referenced in function _wmain
-
list itemmain.obj:-1: error: LNK2019: unresolved external symbol __imp__RoInitialize@4 referenced in function "long __cdecl Windows::Foundation::Initialize(enum RO_INIT_TYPE)" (?Initialize@Foundation@Windows@@YAJW4RO_INIT_TYPE@@@Z)
-
list itemmain.obj:-1: error: LNK2019: unresolved external symbol __imp__RoUninitialize@0 referenced in function "void __cdecl Windows::Foundation::Uninitialize(void)" (?Uninitialize@Foundation@Windows@@YAXXZ)
-
snoretoasts.obj:-1: error: LNK2019: unresolved external symbol _WindowsCreateStringReference@16 referenced in function "public: __thiscall StringReferenceWrapper::StringReferenceWrapper<4>(wchar_t const (&)[4])" (??$?0$03@StringReferenceWrapper@@QAE@AAY03$$CB_W@Z)
I know is a problem with library links but i could found what is the libraries i required.
I need some help, someone could help me? Thanks
-