[cmake-developers] [CMake 0013133]: DeployQt4.cmake ist too presumptuous

Mantis Bug Tracker mantis at public.kitware.com
Sun Apr 15 14:40:27 EDT 2012


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=13133 
====================================================================== 
Reported By:                Daniel Franke
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   13133
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2012-04-15 14:40 EDT
Last Modified:              2012-04-15 14:40 EDT
====================================================================== 
Summary:                    DeployQt4.cmake ist too presumptuous
Description: 
In function DeployQt4(install_qt4_plugin_path) we find this piece of code: 

178      if(APPLE)
179        set(plugins_path "${executable}/Contents/${plugins_dir}")
180      else()

Why, oh why, does this assume that I always want my plugins within a bundle?
My project comes as two .app bundles, both are Qt applications and I want one
shared place for both Frameworks and Plugins. No point in shipping two copies,
is there?

Maybe this should check if ${plugins_dir} is an absolute path and leave it
untouched and if it's a relative path assume it's relative to the bundle or
something?

This is related to http://public.kitware.com/Bug/view.php?id=13052.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2012-04-15 14:40 Daniel Franke  New Issue                                    
======================================================================




More information about the cmake-developers mailing list