Hi all. After failing to build VTK 8.2.0 with Qt5.12.12, I decided to build it without Qt. This went without errors. But I am puzzled by one thing. I selected BUILD_EXAMPLES, but as far as I can see no examples were built. Maybe I’m not looking in the right place.
Which examples should I expect to get built, and where?
Thanks,
Gib
VTK-9.3.0 excellent works with Qt-6.7.0 in Windows and Linux
Well that’s interesting. There presumably is a binary download for Qt-6.7.0.
Could you tell me what cmake settings for Qt in the vtk build you used?
Thanks.
I split this post off the “Welcome to Discourse” post. Please ask new questions in new topics.
Do you mean VTK_BUILD_EXAMPLES
? That’s the one you need to enable.
To build examples, use ctest:
ctest -R VTKExamples
Why ctest? It lets us test and report test results in VTK’s continuous integration builds to make sure the examples work.
Hello,
You can get the latest Qt here: Get and Install Qt | Qt 6.7. There are desktop installers for Linux, MacOS and Windows (presumably compiled with Visual Studio 2017-2022).
If you have an odd combination of OS, compiler and architecture, then I recommend building Qt from sources with the Conan (Introduction — conan 2.5.0 documentation) recipe from here: qt - Conan 2.0: C and C++ Open Source Package Manager. Building Qt and its entire dependency tree with Conan (think of Java’s Maven) is relatively easy. All you need, in addition to have a developer toolset installed, is to install a recent version of Python and install Conan with a pip install conan
.
best,
PC
All you need is available from https://r3fowwcolhrzycn2yzlzzw-on.drv.tw/AdaStudio/adastudio.html
https://r3fowwcolhrzycn2yzlzzw-on.drv.tw/AdaStudio/adastudio.html
Prebuilt subdirectory