Select to view content in your preferred language

ArcGIS SDK for Qt Header files cannot be found by Qt creator

2724
13
Jump to solution
04-29-2024 03:40 PM
Labels (2)
youssefayman
Emerging Contributor

Hello, I am a beginner in Qt, and I just installed the ArcGIS SDK for Qt, but I'm facing a problem. All of the header files from the SDK do not work. It says "file not found."

youssefayman_0-1714429575694.png

I followed the installation guide for Windows here https://developers.arcgis.com/qt/install-and-set-up/, but even the provided sample projects at https://github.com/Esri/arcgis-maps-sdk-samples-qt/tree/main do not work. It is as if Qt is oblivious to the header files' existence. I have a suspicion that the problem may be related to the integration with Qt creator. When I first installed the ArcGIS SDK, it did not create files in the templates folder in Qt because there was no templates folder as I read at a previous entry here. To fix this, I created a folder named "templates" inside the Qt directory and created another folder inside it called "wizards". I then ran the post-install script to do the IDE Integration. When I did this, the ArcGIS project templates have appeared, but when I create any project using them, all of the SDK's header files cannot be found. I hope anyone could help. Thanks!

0 Kudos
13 Replies
youssefayman
Emerging Contributor

Thanks for your help James! It finally worked!

 

JamesBallard1
Esri Regular Contributor

Excellent! Glad we could be of help.

0 Kudos
youssefayman
Emerging Contributor

I get these messages instead:
Project MESSAGE: Error. Cannot locate ArcGIS Runtime PRI file
Project MESSAGE: Error. Cannot locate ArcGIS Runtime PRI file

0 Kudos
Sonarjit
New Contributor

Hi Youssefayman,

I have faced challenge in integration of ArcGIS SDK for Qt with Qt Creator. I could not find the ArcGIS templates in the Qt Creator IDE. How did you resolve the issue?

I follow the same instruction provided here https://developers.arcgis.com/qt/install-and-set-up/
I follow the instruction provided for window.

Thank you

0 Kudos