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. How to build Qmake for Visual studio project? specifically for QGLViewer for octomap library
Forum Updated to NodeBB v4.3 + New Features

How to build Qmake for Visual studio project? specifically for QGLViewer for octomap library

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 400 Views
  • 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.
  • T Offline
    T Offline
    thiyaga
    wrote on 5 Nov 2019, 14:47 last edited by
    #1

    I need to build an octomap on visual studio 2017. According to the website they have asked to do the following

    open a windows shell (e.g., from the START-Menu -> QT)
        cd octovis/src/extern/QGLViewer
        qmake -t vclib QGLViewer.pro -spec win32-msvc2010    (ignore any warnings)
    

    So I did the same but in windows command prompt terminal and when I feed the above commands it throws the following error:

    #qmake -t vclib QGLViewer.pro -spec win32-msvc2010 
    
    Could not find qmake spec 'win32-msvc2010'.
    Error processing project file: QGLViewer.pro 
    
     #qmake -t vclib QGLViewer.pro -spec win32-msvc2017 
    
    Could not find qmake spec 'win32-msvc2017'.
    Error processing project file: QGLViewer.pro
    

    What should I do in order to configure and generate a QGLViewer.vcxproj?

    Additional details:

    Project location : "C:\software\octomap-1.9.0\octomap-1.9.0\octovis\src\extern\QGLViewer"
    qmake location : C:\vcpkg\packages\qt5-base_x64-windows\tools\qt5
    Visual studio : 2017 ( Version 15.9.8)
    Any help in regards to this would be much appreciated as I have a very limited understanding on qmake.

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Gerd
      wrote on 5 Nov 2019, 17:51 last edited by
      #2

      just use

       #qmake -t vclib QGLViewer.pro -spec win32-msvc
      
      1 Reply Last reply
      1

      1/2

      5 Nov 2019, 14:47

      • Login

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