Install vtk to QTCreator project in qmake.
-
sure you can. Simply add include paths and lib names of all VTK components you need to your project pro file.
@JoeCFD Could you send the link of resource to install ?
I read https://vtk.org/Wiki/VTK/Configure_and_Build and https://forum.qt.io/topic/109435/add-vtk-library-to-qt-project, but I could not find the correct way -
@JoeCFD Could you send the link of resource to install ?
I read https://vtk.org/Wiki/VTK/Configure_and_Build and https://forum.qt.io/topic/109435/add-vtk-library-to-qt-project, but I could not find the correct way@Monra1738
you build it from the source. You select what you need in the build. I did it before, but not any more.
Check this out. Try it out and post the issues here if you have some in the build.
https://www.cs.purdue.edu/homes/cs530/projects/project0.html -
@Monra1738
you build it from the source. You select what you need in the build. I did it before, but not any more.
Check this out. Try it out and post the issues here if you have some in the build.
https://www.cs.purdue.edu/homes/cs530/projects/project0.html@JoeCFD said in Install vtk to QTCreator project in qmake.:
@Monra1738
you build it from the source. You select what you need in the build. I did it before, but not any more.
Check this out. Try it out and post the issues here if you have some in the build.
https://www.cs.purdue.edu/homes/cs530/projects/project0.htmlTank you I will try.
-
@JoeCFD said in Install vtk to QTCreator project in qmake.:
@Monra1738
you build it from the source. You select what you need in the build. I did it before, but not any more.
Check this out. Try it out and post the issues here if you have some in the build.
https://www.cs.purdue.edu/homes/cs530/projects/project0.htmlTank you I will try.
@Monra1738 You may also think to switch to cmake since cmake is preferred from Qt6. There is a tool to convert pro projects to cmake ones
https://forum.qt.io/topic/112403/is-there-a-tool-for-converting-qmake-and-cmake-files-to-each-other-one-click-conversion-easy-to-use/2 -
@Monra1738 You may also think to switch to cmake since cmake is preferred from Qt6. There is a tool to convert pro projects to cmake ones
https://forum.qt.io/topic/112403/is-there-a-tool-for-converting-qmake-and-cmake-files-to-each-other-one-click-conversion-easy-to-use/2@JoeCFD said in Install vtk to QTCreator project in qmake.:
I am using c++, this tool I think is just for python.
Anyway whithout CMake it is possible, because I try to add the new version of VTK 9.2.5 and I can not used. -
@JoeCFD said in Install vtk to QTCreator project in qmake.:
I am using c++, this tool I think is just for python.
Anyway whithout CMake it is possible, because I try to add the new version of VTK 9.2.5 and I can not used.@Monra1738 said in Install vtk to QTCreator project in qmake.:
I am using c++, this tool I think is just for python.
So what?
This tool is used to convert pro files to CMake files.