Hi there and thanks<br>since I'm very new to the paraview and cmake build workd, could you tell me where should I put that<br><br>I'm trying to compile the GUITollbar example<br>################################################CMAKELists.txt#################<br>
# create a plugin that implements an object panel for a source proxy<br><br>QT4_WRAP_CPP(MOC_SRCS MyToolBarActions.h)<br><br># we implement a pqConePanel.h for the ConeSource<br>ADD_PARAVIEW_ACTION_GROUP(IFACES IFACE_SRCS CLASS_NAME MyToolBarActions <br>
GROUP_NAME "ToolBar/MyActions")<br><br># create a plugin for this panel<br>ADD_PARAVIEW_PLUGIN(GUIMyToolBar "1.0" <br> GUI_INTERFACES ${IFACES} <br> SOURCES MyToolBarActions.cxx ${MOC_SRCS} ${IFACE_SRCS})<br>
#############################################<br><br>wich is located in <br><br>/Users/jmazo/Desktop/fofo/ParaView-3.4.0/Examples/Plugins/GUIToolBar<br><br>#########################<br><br><br><div class="gmail_quote">On Tue, Jan 6, 2009 at 3:14 PM, Michael Jackson <span dir="ltr"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You probably want something like:<br>
<br>
IF (DEFINED ParaView_BINARY_DIR)<br>
INCLUDE(${ParaView_BINARY_DIR}/ParaViewConfig.cmake)<br>
ELSE (DEFINED ParaView_BINARY_DIR)<br>
INCLUDE($ENV{ParaView_DIR}/ParaViewConfig.cmake)<br>
ENDIF (DEFINED ParaView_BINARY_DIR)<br>
PROJECT(RoboMetClientPlugin)<br>
<br>
FIND_PACKAGE(Qt4)<br>
IF(QT4_FOUND)<br>
<br>
INCLUDE(${QT_USE_FILE})<br>
#-- All your Qt4 dependent code in here.<br>
<br>
ENDIF (QT4_FOUND)<br>
<br>
_________________________________________________________<br>
Mike Jackson <a href="mailto:mike.jackson@bluequartz.net" target="_blank">mike.jackson@bluequartz.net</a><br>
BlueQuartz Software <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
Principal Software Engineer Dayton, Ohio<div><div></div><div class="Wj3C7c"><br>
<br>
<br>
<br>
On Jan 6, 2009, at 1:03 PM, Jorge Mario Mazo wrote:<br>
<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">
Hi there<br>
I'm very new to paraview, I managed to compile paraview on linux and mac<br>
but when I try to compile a plugin y get the infamous Unknown CMake command "QT4_WRAP_CPP". error.<br>
<br>
I read on this list that I have to setup the variable QT_QMAKE_EXECUTABLE<br>
<br>
the problem is that I dont know how and were to set it on<br>
/Applications/CMake 2.6-2.app/Contents/share/cmake-2.6/Modules/FindQt4.cmake<br>
<br>
like this<br>
SET(QT_QMAKE_EXECUTABLE /usr/bin/qmake-4.3)<br>
at the end of the file<br>
<br>
but still does not work<br>
<br>
one problem is that man cmake skills are very near to 0<br>
<br>
any help would be appreciate it.<br>
<br>
<br>
<br>
qmake -v<br>
QMake version 2.01a<br>
Using Qt version 4.3.5 in /Library/Frameworks<br></div></div>
_______________________________________________<br>
ParaView mailing list<br>
<a href="mailto:ParaView@paraview.org" target="_blank">ParaView@paraview.org</a><br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</blockquote>
<br>
</blockquote></div><br>