Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.5.0
-
None
-
Development environment:
- PC with Windows 8.1
- Visual Studio 2013/2015 (tried both)
- Qt 5.4/5.5 (tried both)
- CMake 3.3.1 for generating the VS solution
Target environement:
- Nokia Lumia 920 with Windows 8.1
Description
The mobile app crashes with the following closing debug output:
Exception thrown at 0x76F435D7 (KERNELBASE.DLL) in mobile.exe: 0x40080202: WinRT transform error (parameters: 0x8000000B, 0x80070490, 0x00000014, 0x0053E468).
ASSERT failure in __cdecl QWinRTScreen::QWinRTScreen(void): "Element not found.", file qwinrtscreen.cpp, line 496
Exception thrown at 0x6571B641 (qwinrtd.dll) in mobile.exe: 0xC0000005: Access violation reading location 0x00000000.
This error occurs when I execute the following at the very beginning of the app:
"m_AppMain = new QGuiApplication(argc, argv);"
After some debugging efforts I figured out that the exception origin is somewhere inside:
Windows::ApplicationModel::Core::CoreApplicationFactory::GetCurrentView(struct Windows::ApplicationModel::Core::ICoreApplicationView )