[vtkusers] CMake problem (VTK 6.1 - Qt 5.3)

Luis Vieira luis.vieira at vektore.com
Tue Jul 22 08:26:44 EDT 2014


Hello, We hope this email find you well.

*We have the follow CMake - VTK - Visual Studio 2013 Configuration:*

·Visual Studio 2013 opengl +64;

·CMake 3.0;

·VTK-6.1.0.

*CMake configurated the following paths:*

·C:\Program Files\VTK (Debug);

·C:\Program Files\VTK (Release);

·C:\VTK\build;

·C:\VTK\Data.

The environment stated above works very well. However, we need to 
provide/enable the same configuration between*VTK* and *QT Enterprise 
Creator 5.3*. We used CMake 3.0 to configure the linkage between *QT 5.3 
and VTK - 6.1.0*.

The following variables were configured in CMake:

·*VTK_Group_Qt:BOOL=ON;*

*·QT_QMAKE_EXECUTABLE:FILEPATH=C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin/qmake.exe. 
*



Despite of the above configuration, CMake presents this error message:

CMake            Warning at C:/Program Files 
  (x86)/CMake/share/cmake-3.0/Modules/FindQt4.cmake:616           
  (message):  C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/bin/qmake.exe 
reported            QT_INSTALL_LIBS as 
  "C:/Qt/Qt5.3.1/5.3/msvc2013_64_opengl/lib" but          QtCore could 
not be found there. Qt is NOT installed            correctly for the 
target build environment.            Call Stack (most recent call 
first):  GUISupport/Qt/CMakeLists.txt:68 (find_package)

CMake Error at C:/Program Files 
  (x86)/CMake/share/cmake-3.0/Modules/FindQt4.cmake:621           
  (message):            Could NOT find QtCore. Check 
  C:/VTK/bin/msvc2013_64_opengl/CMakeFiles/CMakeError.log for           
  more details.            Call Stack (most recent call first): 
  GUISupport/Qt/CMakeLists.txt:68 (find_package)

Could you guys please advise me on how to properly set up the 
programming environment in which CMake will build the bridge amongst the 
VSC++ OpenGL +64, VTK 6.1.0 and QT 5.3? What are our options to direct 
CMake to recognize QT5.3? The way it is now it only recognizes QT4.0.


Thank you so much.




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140722/2287af40/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ggdedbeb.png
Type: image/png
Size: 81504 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140722/2287af40/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: eecdhiai.png
Type: image/png
Size: 124093 bytes
Desc: not available
URL: <http://public.kitware.com/pipermail/vtkusers/attachments/20140722/2287af40/attachment-0003.png>


More information about the vtkusers mailing list