Newbie QApplication no such file or directory
-
I am trying to run an open source visual mapping software called rtabmap which uses Qt. I have Qt setup for visual studio 2015 and have run a very basic example some time ago. When I try to run this Rtabmap example it is not able to find any of the Qt items. #include <QApplication> being the first one missing. Please tell me how to fix this. Is there a particular folder I need to have in the includes directories? I tried adding: C:\Qtvs\Qt5.8.0\5.8\msvc2015_64\include but that was unsuccessful.
-
I am trying to run an open source visual mapping software called rtabmap which uses Qt. I have Qt setup for visual studio 2015 and have run a very basic example some time ago. When I try to run this Rtabmap example it is not able to find any of the Qt items. #include <QApplication> being the first one missing. Please tell me how to fix this. Is there a particular folder I need to have in the includes directories? I tried adding: C:\Qtvs\Qt5.8.0\5.8\msvc2015_64\include but that was unsuccessful.
@stevens1111 Do you really need to build this software? Isn't there already a binary? There is actually: https://github.com/introlab/rtabmap/wiki/Installation#windows
If you want/need to build: which Qt version (exact version including compiler) did you install and how (online installer or offline?)?
Also rtabmap uses CMake as build system, that means you need to execute CMake first. I would suggest to use QtCreator instead of Visual Studio. -
I am trying to run an open source visual mapping software called rtabmap which uses Qt. I have Qt setup for visual studio 2015 and have run a very basic example some time ago. When I try to run this Rtabmap example it is not able to find any of the Qt items. #include <QApplication> being the first one missing. Please tell me how to fix this. Is there a particular folder I need to have in the includes directories? I tried adding: C:\Qtvs\Qt5.8.0\5.8\msvc2015_64\include but that was unsuccessful.
@stevens1111 said in Newbie QApplication no such file or directory:
rtabmap which uses Qt
According to their wiki, they use Qt 4. This is not compatible with Qt 5, so you need to install Qt 4 if you want to build the Rtabmap code.
But anyway, I agree with @jsulm -- it's better to download their binaries instead of building from source code.