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. QVTKWidget.h is not downloaded in my desktop
Forum Updated to NodeBB v4.3 + New Features

QVTKWidget.h is not downloaded in my desktop

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 3 Posters 985 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.
  • Y Offline
    Y Offline
    yoonguu
    wrote on last edited by
    #1

    Hi. I want to use QVTKWidget in windows through CMake.

    Through CMake, I checked

    VTK_GROUP_ENABLE_Qt --> YES
    VTK_MODULE_ENABLE_VTK_GUISupportQt --> YES
    VTK_MODULE_ENABLE_VTK_GUISupportQtSQL --> YES
    VTK_MODULE_ENABLE_VTK_RenderingQt --> YES
    VTK_MODULE_ENABLE_VTK_ViewsQt --> YES

    QT5_DIR : E:/SoftWares/QT/5.14.2/msvc2015_64/lib/cmake/Qt5
    QT5Core_DIR : E:/SoftWares/QT/5.14.2/msvc2015_64/lib/cmake/Qt5Core
    QT5Gui_DIR : E:/SoftWares/QT/5.14.2/msvc2015_64/lib/cmake/Qt5Gui
    QT5Sql_DIR : E:/SoftWares/QT/5.14.2/msvc2015_64/lib/cmake/Qt5Sql
    Qt5Widgets_DIR : E:/SoftWares/QT/5.14.2/msvc2015_64/lib/cmake/Qt5Widgets

    BUILD_SHARED_LIBS is checked

    and Configure in Cmake was Visual Studio 2015, x64

    my Qt version is

    Qt Creator 4.14.0
    Based on Qt 5.15.2 (MSVC 2019, 64 bit)

    I searched that to use VTK in QT, there is QVTKWidget.h should be downloaded
    however, I did almost all that I can do, but it never downloads QVTKWidget.h in my desktop..

    Is there anyone who tell me which CMake "variables? things?" should be checked to download QVTKWidget.h?

    Thank you.

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi and welcome to devnet,

      Did you build and install VTK ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      Y 1 Reply Last reply
      0
      • SGaistS SGaist

        Hi and welcome to devnet,

        Did you build and install VTK ?

        Y Offline
        Y Offline
        yoonguu
        wrote on last edited by
        #3

        @SGaist
        yes
        캡처.PNG

        And I found.. what should i say? CMake cache variable?

        this variable is little bit different, in my computer to enable qt,
        it is VTK_GROUP_ENABLE_Qt instead of VTK_GROUP_QT.
        maybe that's why there is nonVQTK_USE_QVTK_QTOPENGL in my CMake.

        do you know why these variables are changed in my CMake?

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          I don't know. Detection failure as it seems and maybe there has been some changes it the way VTK handles Qt detection.

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          1 Reply Last reply
          0
          • gde23G Offline
            gde23G Offline
            gde23
            wrote on last edited by
            #5

            The only thing you need to manually set in cmake is VTK_GROUP_ENABLE_Qt
            That should be all.
            So would just try to delete the cache and build and rebuild everything.

            1 Reply Last reply
            0

            • Login

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