[vtkusers] Fw: Qt Vtk cmake problem

David E DeMarle dave.demarle at kitware.com
Tue Jan 24 09:06:48 EST 2012


And if not, manually set the QT_QMAKE_EXECUTABLE, and cmake should figure
out the rest of the paths from that.

David E DeMarle
Kitware, Inc.
R&D Engineer
21 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-881-4909


2012/1/24 Dženan Zukić <dzenanz at gmail.com>

> There should be an environment variable "qt_dir" containing a path to the
> qt folder.
>
> On Tue, Jan 24, 2012 at 10:32, alaa ahmed <alaamegawer at yahoo.com> wrote:
>
>>
>>  Hi luis
>>
>> while i'm trying to build Vtk . and after enabling VTK_USE_QT at cmake.
>> cmake failed to configure.
>>
>>
>> the error is "Could NOT find Qt4 (missing:  QT_QMAKE_EXECUTABLE
>> QT_MOC_EXECUTABLE QT_RCC_EXECUTABLE QT_UIC_EXECUTABLE QT_INCLUDE_DIR
>> QT_LIBRARY_DIR QT_QTCORE_LIBRARY) (Required is at least version "4.5.0")
>> CMake Error at CMakeLists.txt:370 (MESSAGE):
>>   Qt 4.5.0 or greater not found.  Please check the QT_QMAKE_EXECUTABLE
>>   variable.
>>
>>
>> Filter ZLIB is ON
>> Qt QTGUI library not found.
>> Qt QTSQL library not found.
>> Qt QTCORE library not found.
>> Qt QTGUI library not found.
>> Qt QTSQL library not found.
>> Qt QTNETWORK library not found.
>> Qt QTCORE library not found.
>> CMake Error at GUISupport/Qt/CMakeLists.txt:136 (QT4_WRAP_CPP):
>>   Unknown CMake command "QT4_WRAP_CPP"."
>>
>> i use Qt 4.7.4 , windows 7
>>
>> sorry for that but i'm vtk beginner
>>
>> thanks
>>
>> Alaa
>>
>>
>>
>> _______________________________________________
>> Powered by www.kitware.com
>>
>> Visit other Kitware open-source projects at
>> http://www.kitware.com/opensource/opensource.html
>>
>> Please keep messages on-topic and check the VTK FAQ at:
>> http://www.vtk.org/Wiki/VTK_FAQ
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.vtk.org/mailman/listinfo/vtkusers
>>
>>
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the VTK FAQ at:
> http://www.vtk.org/Wiki/VTK_FAQ
>
> Follow this link to subscribe/unsubscribe:
> http://www.vtk.org/mailman/listinfo/vtkusers
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20120124/d59a7db8/attachment.htm>


More information about the vtkusers mailing list