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. QVTKWidgets.dll
Forum Updated to NodeBB v4.3 + New Features

QVTKWidgets.dll

Scheduled Pinned Locked Moved General and Desktop
3 Posts 1 Posters 3.3k 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.
  • L Offline
    L Offline
    luckyluke
    wrote on last edited by
    #1

    Hi everyone,

    I am new to QT and I am trying to combing VTK and QT together. In order to use QT with my VS 2005 and 2010, I have compiled QT from source codes and then compiled VTK. The examples In VTK for GUI support of QT is successfully compiled and ran without any problem.

    However, I cannot see the qVTK widgets in QT Designer. So I copied the qvtkwidgets.dll into QT_DIR/plugins/designer as is described in many posts online. Then I cannot start Qt Designer. And I got the error as follows:

    Debug Error!

    Program: C:\Qt\4.7.3\bin\designer.exe
    Module:4.7.3
    File:global\qglobal.cpp
    Line:2262

    ASSERT failur in Qcolomap: " A Aqpplication object nees to be constructed before QColormap is use.", file painting\qcolormap_win.cpp, line 143

    So could some one help me out with this. Thanks very much.

    1 Reply Last reply
    0
    • L Offline
      L Offline
      luckyluke
      wrote on last edited by
      #2

      Anyone can help? Thanks.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        luckyluke
        wrote on last edited by
        #3

        Finally I have figured out what is happening. When compile VTK, I am using "Debug" mode rather than "Release" Mode. After I recompiled VTK in "Release" Mode, and copied the qVTKWidgets.dll into QT designer's plugin directory, QT designer is working now.

        Some reference can be found in the page :http://www.kitware.com/InfovisWiki/index.php/Titan_Simple_Application
        , from which I got the idea to compile VTK In "Release" Mode.

        Hopes this will help those who encounter similar problem.

        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