Hi Fabian,
This is odd that you have to add copy .so over and change the .pro file. The prf file should have handled the path of the .so and include files. Thank you very much for sharing your solution.
I will look into the issue so the next release, you should not have to do all of the copy/editing of the files that you did.
Regards,
Jen Trieu
Product Engineer.
the solution is:
1. is necesary install g++ is basic
copy 2 files /arcgis/runtime_sdk/qt10.2.3/ArcGISRuntime10.2.3/Client64/
libEsriRuntimeQt.so and libc++.so.1
in /Qt5.1.1/5.1.1/gcc_64/lib/
2. in the project add external library ang go to libEsriRuntimeQt.so in arcgis folder instalation
3. in .pro file add line:
INCLUDEPATH += /home/fabian/arcgis/runtime_sdk/qt10.2.3/sdk/include
As I can see you are using Qt 5.3 with 10.2.3 and we did not fully certify 10.2.3 with Qt 5.3. We know that Qt 5.3 has introduce some display bugs from the Digia side that we are trying to resolve with them.
From the diagnosis that you are giving me, it seems like the prf file is not copied into the Qt 5.3 folder.
Can you following the instruction from this link to integrate qt Creator with the ArcGIS Runtime SDK for Qt https://developers.arcgis.com/qt/guide/integrate-the-sdk-with-qt-creator.htm.
Can you download the Esri-provided Qt 5.1.1 for Linux 64-bit or 32-bit into the desired install location and follow the instruction here https://developers.arcgis.com/qt/guide/install-and-set-up-on-linux.htm.
Let me know if you have any question.
Product Engineer
Thanks Jen
Questions:
1. when I start the script should leave some kind of message, I do not get anything in console
2. when I run QT Creator, open the IDE call an app created with the template and get the same herror: / home / xyz / xyz / miMapa / miMapa.h: 21: error: Map.h: No such file or directory # include "Map.h"
3. in console say:
QByteArray ProjectExplorer::runGcc(const Utils::FileName&, const QStringList&, const QStringList&): "/home/fabian/Qt/5.3/gcc_64/bin/qmake" "-xc++ -E -v -" returned exit code 1: "***Unknown option -xc++
"
To run code on Linux platforms, including the ArcGIS Runtime SDK for Qt samples, source the init script for the target platform before opening Qt Creator. This means that you will need to open a terminal and use one of the following init file depending on the platform that you are on and the type of the terminal that you are using:
- init_sdk_qt64.sh for 64-bit bash,
- init_sdk_qt32.sh for 32-bit bash
- init_sdk_qt64.csh for 64-bit C shell
- init_sdk_qt32.csh for 32-bit C shell.
After that you have ran the above script located in the root folder of your installation, use the same terminal to start your QtCreator.
Let me know if you have more questions.
which is the solution of all
which is the solution when it does not recognize references ArcGIS, i use Ubuntu 64X
Hello,I use 32bit Ubuntu 12.04 LTS ..I don't understand with this instruction "Source the init file when you open a new command window or terminal window to use ArcGIS Runtime SDK for Qt."..Can somebody show how to do it? I still getting "Map.h No such file or directory" error.Thanks
C:\AppDev\Qt\MyFirstApp\MyFirstApp.h:21: error: C1083: Cannot open include file: 'Map.h': No such file or directory
sudo apt-get install mesa-common-dev freeglut3 freeglut3-dev libglu1-mesa libglu1-mesa-dev libglui-dev binutils-gold packaging-dev build-essential
Membros conectados podem postar, seguir atualizações e mais. Novo aqui? Registre uma conta gratuita.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.