Problem with Qt SDK 10.2.6

620
1
Jump to solution
09-03-2018 07:09 PM
NikeNike
New Contributor

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!

Tags (1)
0 Kudos
1 Solution

Accepted Solutions
LucasDanzinger
Esri Frequent Contributor

I think the issue might be that you have the OpenGL version of the Qt msvc kit, but with the 10.2.6 release, we only supported ANGLE rendering on Windows. Nowadays, there is just one kit that supports both, but with 5.4.2, there were 2 separate downloads. Could you try downloading the ANGLE kit (the kit that does not specify OpenGL)

View solution in original post

0 Kudos
1 Reply
LucasDanzinger
Esri Frequent Contributor

I think the issue might be that you have the OpenGL version of the Qt msvc kit, but with the 10.2.6 release, we only supported ANGLE rendering on Windows. Nowadays, there is just one kit that supports both, but with 5.4.2, there were 2 separate downloads. Could you try downloading the ANGLE kit (the kit that does not specify OpenGL)

0 Kudos