Hi,
I am trying to run the basic widget on my local desktop using the instructions for working with local data from this link:
Add a map to your app—ArcGIS Runtime SDK for Qt | ArcGIS for Developers
The program compiles fine but I get a the following assertion when I try to run it:
<RTC_ASSERTION>
Runtimecore Assertion Failed!
Condition: shader != 0c:\dev_d\daily_win_wpf_rtc_release_748.6.qt\runtimecore\hal\src\shader_program_ogl.cpp(322)
</RTC_ASSERTION>
I guess it's an OpenGL issue so I tried updating my graphics driver to the latest version but it did not solve the problem.
I am using the following:
- Win 10 Pro (10.0.17134)
- Qt Creator 3.4.1
- Qt 5.4.2 MSVC2013 OpenGL (32bit)
- Intel HD Graphics 620
- Shader Version 5.1
- OpenGL 4.5
- Microsoft DirectX 12.0
Due to project requirements, I can only use this SDK as the newer Qt and MSVC is not available to me.
The program output is as follows:
Qt: Untested Windows version 10.0 detected!
PATH SAMPLE: "C:/Program Files (x86)/ArcGIS SDKs/Qt10.2.6/sdk/samples/data\"
Starting server
Local server process started
<RTC_ASSERTION>
Runtimecore Assertion Failed!
Condition: shader != 0c:\dev_d\daily_win_wpf_rtc_release_748.6.qt\runtimecore\hal\src\shader_program_ogl.cpp(322)
</RTC_ASSERTION>
QPainter::begin(): QOpenGLPaintDevice's context needs to be current
QPainter::begin(): Returned false
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::worldTransform: Painter not active
QPainter::save: Painter not active
The program has unexpectedly finished.
Any help in the right direction is much appreciated!