Select to view content in your preferred language

No map display in QWidget

998
6
04-15-2020 02:25 AM
NicolasDuboys
Emerging Contributor

Hi

I build a very simple example from Qt Creator, without using Qml.

I test my license it seems to be OK, return 3 (Valid) and Initialize rturn true.

But nothing can be display on map (I try Raster, OpenstreetMap).

I have a flood on console with this message :

qt.network.monitor: Failed to subscribe to network connectivity events: "CoInitialize n’a pas été appelé."

qt.network.monitor: failed to start network status monitoring

Any ideas ?

Regards

0 Kudos
6 Replies
LucasDanzinger
Esri Frequent Contributor

Do you have the OpenSSL libs somewhere in your path?

0 Kudos
NicolasDuboys
Emerging Contributor

Hello Lucas and thank for your answer.

It is woking now with 2 new dll : libcrypto-1_1-x64 & libssl-1_1-x64

I still have some flood in console :

qt.network.monitor: Failed to subscribe to network connectivity events: "CoInitialize n’a pas été appelé."

qt.network.monitor: failed to start network status monitoring

qt.network.monitor: Failed to subscribe to network connectivity events: "CoInitialize n’a pas été appelé."

qt.network.monitor: failed to start network status monitoring

...

But maps is visible !

v

0 Kudos
LucasDanzinger
Esri Frequent Contributor

which version of Qt are you using? 5.12.4 or newer will require a newer version of OpenSSL - https://community.esri.com/community/developers/native-app-developers/arcgis-runtime-sdk-for-qt/blog... 

On Windows those are libcrypto-1_1-x64.dll and libssl-1_1-x64.dll. 

0 Kudos
NicolasDuboys
Emerging Contributor

Hi

Yes I have just modified my first answer, your are too quick

Still have some flood but maos is present

I usd qt 5.14.2.

Any ideas about the flood ?

0 Kudos
LucasDanzinger
Esri Frequent Contributor

we see this error too. It seems to be something coming from Qt itself and we have not been able to identify any actual problems associated with the warning.

0 Kudos
NicolasDuboys
Emerging Contributor

OK great

Thank you for your help Lucas !

0 Kudos