Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct
How to build Qmake for Visual studio project? specifically for QGLViewer for octomap library
thiyaga last edited by
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?
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.
Gerd last edited by
#qmake -t vclib QGLViewer.pro -spec win32-msvc