MantisBT - ParaView
View Issue Details
0006480ParaView(No Category)public2008-02-29 11:562010-11-16 18:32
Mike Jackson 
David Partyka 
normalblockalways
closedno change required 
Windows XPWindows XPSP2
 
Someday3.8 
0006480: Install Target does not work on Windows XP (VS 2003.net or VS2005)
Running the "Install" target from within visual studio results in a error due to the path not being correct. Somewhere the variable ${QT_BINARY_DIR} has been converted to a windows native path with messes up the generated cmake script.

The following code should be used instead starting at line 552 of ParaView3/Applications/Client/CMakeLists.txt

IF(WIN32)
  GET_FILENAME_COMPONENT( QT_ASSISTANT_PATH QT_QMAKE_EXECUTABLE} PATH)
  SET(QT_ASSISTANT_PATH "${QT_ASSISTANT_PATH}/assistant.exe")
  INSTALL(FILES "${QT_ASSISTANT_PATH}"
    DESTINATION ${PV_EXE_INSTALL_CM24}
    PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ
    COMPONENT Runtime)
Run the "install" project from within Visual Studio
No tags attached.
Issue History
2008-02-29 11:56Mike JacksonNew Issue
2008-02-29 12:09Mike JacksonNote Added: 0010670
2008-04-15 12:46Berk GeveciStatusbacklog => @30@
2008-04-15 12:46Berk GeveciCategoryDevelopment => Someday
2009-05-13 13:49Utkarsh AyachitTarget Version => Someday
2010-11-16 10:16David PartykaAssigned To => David Partyka
2010-11-16 10:16David PartykaStatus@30@ => tabled
2010-11-16 10:17David PartykaNote Added: 0023288
2010-11-16 10:17David PartykaStatustabled => @80@
2010-11-16 10:17David PartykaFixed in Version => 3.8
2010-11-16 10:17David PartykaResolutionopen => no change required
2010-11-16 18:32Alan ScottStatus@80@ => closed
2011-06-16 13:10Zack GalbreathCategory => (No Category)

Notes
(0010670)
Mike Jackson   
2008-02-29 12:09   
There was a typo in the last report. This is the corrected cmake code

IF(WIN32)
  GET_FILENAME_COMPONENT( QT_ASSISTANT_PATH ${QT_QMAKE_EXECUTABLE} PATH)
  SET(QT_ASSISTANT_PATH "${QT_ASSISTANT_PATH}/assistant.exe")
  INSTALL(FILES "${QT_ASSISTANT_PATH}"
    DESTINATION ${PV_EXE_INSTALL_CM24}
    PERMISSIONS OWNER_WRITE OWNER_READ OWNER_EXECUTE GROUP_READ GROUP_EXECUTE WORLD_READ
    COMPONENT Runtime)
(0023288)
David Partyka   
2010-11-16 10:17   
We no longer use assistant for documentation so this should be a none issue.