On Thu, 2009-04-23 at 15:05 -0400, Utkarsh Ayachit wrote: > Kevin, > > Any help is always appreciated :). However given that we are gearing > towards the ParaView 3.6 release, for which the official Qt version > will remain Qt 4.3.*, any non-backwards compatible changes will have > to wait until after the branch. > > Utkarsh
In order to get CTest to configure ParaView with the Qt on Fedora 10 I made some changes to the top level CMakeLists.txt. I tried to repeat the warning for Qt-4.4 nested in with the error I was getting for Qt-4.5. I'm running an experimental build on gargon now.
Index: CMakeLists.txt
===================================================================
RCS file: /cvsroot/ParaView3/ParaView3/CMakeLists.txt,v
retrieving revision 1.95
diff -u -8 -p -r1.95 CMakeLists.txt
--- CMakeLists.txt 10 Apr 2009 18:38:26 -0000 1.95
+++ CMakeLists.txt 24 Apr 2009 15:09:35 -0000
@@ -95,17 +95,22 @@ IF (PARAVIEW_BUILD_QT_GUI)
IF(NOT QT4_FOUND)
MESSAGE(SEND_ERROR "Qt ${QT_MIN_VERSION} or greater not found. Please check the QT_QMAKE_EXECUTABLE variable.")
ELSE(NOT QT4_FOUND)
# don't go greater than supported version
STRING(REGEX MATCH "^4\\.3\\.[0-9]+" qt_version_tmp "${QTVERSION}")
IF (NOT qt_version_tmp)
STRING(REGEX MATCH "^4\\.4\\.[0-9]+" qt_version4_4_tmp "${QTVERSION}")
IF (NOT qt_version4_4_tmp)
- MESSAGE(SEND_ERROR "Qt ${QTVERSION} not supported. Please use Qt 4.3 (you may need to clean your dirtied cache).")
+ STRING(REGEX MATCH "^4\\.5\\.[0-9]+" qt_version4_5_tmp "${QTVERSION}")
+ IF (NOT qt_version4_5_tmp)
+ MESSAGE(SEND_ERROR "Qt ${QTVERSION} not supported. Please use Qt 4.3 (you may need to clean your dirtied cache).")
+ ELSE (NOT qt_version4_5_tmp)
+ MESSAGE("WARNING: You are using Qt ${QTVERSION}. Officially supported version is Qt 4.3")
+ ENDIF (NOT qt_version4_5_tmp)
ELSE (NOT qt_version4_4_tmp)
MESSAGE("WARNING: You are using Qt ${QTVERSION}. Officially supported version is Qt 4.3")
ENDIF (NOT qt_version4_4_tmp)
ENDIF (NOT qt_version_tmp)
# enforce Carbon in VTK for Qt/Mac
IF(Q_WS_MAC)
SET(VTK_USE_CARBON ON CACHE BOOL "Build VTK with Carbon" FORCE)
SET(VTK_USE_COCOA OFF CACHE BOOL "Build VTK with Cocoa" FORCE)
signature.asc
Description: This is a digitally signed message part
_______________________________________________ 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 ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
