How to integrate winrt native code to the qt application for windows phone
-
-
Isn't "winrt native code" just a C++ API with C++ header and libraries?
If so then you can use it like any other C++ library (include header files and link against the libraries). -
Hi,
I, some how include all the required header files and libraries to the application, now it is showing the following error :
collection.h requires the /ZW compiler option (I am using winrt collection api).
when ever I tried to use the winrt api, it is throwing the error as "requires the /ZW compiler option". -
Try to add QMAKE_CXXFLAGS += /ZW to your PRO file
-
hi all,
I'm also currently running into a similar problem. I wanted to use some of the Windows::UI:Xaml functions. But I get an error from the Compiler: C1107 Assambly "Plattform.winmd" not found. Use /AI or define LIBPATH. But Setting /AI to the CXXFlags doesn't work and I have no idea what i should add to the LIBPATH.
thx,
patrik -
@kranthiT Hi,
Do you have any example of ".pro" file on how you imported required libraries and headers?
I'm trying for some times to implement Push notification on Windows Phone, but i'm still stuck on allowing access of WinRT C++ classes from QtThank yoy