Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Newbie QApplication no such file or directory

Newbie QApplication no such file or directory

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 1.3k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    stevens1111
    wrote on last edited by
    #1

    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.

    jsulmJ JKSHJ 2 Replies Last reply
    0
    • S stevens1111

      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.

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @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.

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      4
      • S stevens1111

        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.

        JKSHJ Offline
        JKSHJ Offline
        JKSH
        Moderators
        wrote on last edited by
        #3

        @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.

        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

        1 Reply Last reply
        2

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved