ARC Gis setup with Qt

473
1
03-02-2022 02:04 AM
KunalK
by
New Contributor

Hi, 

I am trying to setup arcgis sdk (v100.13) with my existing Qt framework. Below are the details:

Qt Creator 6.0.2
Based on Qt 6.2.2 (MSVC 2019, 64 bit)

I have MSVC 2019 installed. But when I try to run an example from the ARCGIS project I get an error saying:

":-1: error: Project ERROR: untitled17 requires Qt 5.15.2"

If i install qt using the online installer. I automatically get Qt 6.0.2.  I have no control over that. How can i get the precise Qt 5.15.2 version. Please point out the correct qt installation file or any tutorial that has this covered. 

Thanks

 

 

Tags (2)
0 Kudos
1 Reply
AndrewBladon
Esri Contributor
Hi KunalK.
 
The Qt SDK is not currently compatible with Qt6.
 
Now that you have Qt 6 installed, you should be able to install Qt 5.15.2 using the Qt Maintenance Tool. From your message I understand you are using Windows where the maintenance tool is typically found in C:\Qt\MaintenanceTool.exe. Previous versions of Qt can be installed by following the steps below:
  • Run MaintenanceTool.exe.
  • Login.
  • Select Add or remove components from the list and press Next.
  • Under Select Categories, check the Archive checkbox.
  • Press Filter.
  • Once the component list updates, expand the Qt list.
  • You should now see a list of previous Qt versions, including Qt 5.15.2.
  • From the list, select the desired components and install.
 
Please let us know if the above steps do not resolve the issue.