[cmake-developers] [CMake 0013051]: DeployQt4.cmake: INSTALL not scriptable

Mantis Bug Tracker mantis at public.kitware.com
Sun Mar 18 09:12:10 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13051 
====================================================================== 
Reported By:                Daniel Franke
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13051
Category:                   CMake
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-03-18 09:12 EDT
Last Modified:              2012-03-18 09:12 EDT
====================================================================== 
Summary:                    DeployQt4.cmake: INSTALL not scriptable
Description: 
As DeployQt4 is based on BundleUtilities, I figured I can use it in the same
way, namely:

  install (CODE "include (DeployQt4)
                 FIXUP_QT4_EXECUTABLE (\"${PREFIX}/${APP_DEFAULT_ARGS}.app\"
                                       \"${PLUGINS}\"
                                       \"\"
                                       \"${PREFIX}/Frameworks\"
                                       \"${PREFIX}/Frameworks/Plugins\")")

Which is described here: http://www.cmake.org/Wiki/BundleUtilitiesExample

However, when run, one gets:
CMake Error at /Applications/CMake
2.8-7.app/Contents/share/cmake-2.8/Modules/DeployQt4.cmake:211 (install):
  Command install() is not scriptable
Call Stack (most recent call first):
  /Applications/CMake
2.8-7.app/Contents/share/cmake-2.8/Modules/DeployQt4.cmake:221
(install_qt4_plugin_path)
  /Applications/CMake
2.8-7.app/Contents/share/cmake-2.8/Modules/DeployQt4.cmake:144
(install_qt4_plugin)
  saxsview/svplot/cmake_install.cmake:48 (FIXUP_QT4_EXECUTABLE)

====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-03-18 09:12 Daniel Franke  New Issue                                    
======================================================================




More information about the cmake-developers mailing list