MantisBT - CMake
View Issue Details
0013133CMakeModulespublic2012-04-15 14:402016-06-10 14:31
Daniel Franke 
Clinton Stimpson 
normalminoralways
closedmoved 
CMake 2.8.7 
 
0013133: DeployQt4.cmake ist too presumptuous
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 0013052.
No tags attached.
Issue History
2012-04-15 14:40Daniel FrankeNew Issue
2012-04-15 17:10Rolf Eike BeerAssigned To => Clinton Stimpson
2012-04-15 17:10Rolf Eike BeerStatusnew => assigned
2012-04-16 09:53Clinton StimpsonNote Added: 0029175
2012-08-13 23:28Clinton StimpsonStatusassigned => backlog
2016-06-10 14:28Kitware RobotNote Added: 0042027
2016-06-10 14:28Kitware RobotStatusbacklog => resolved
2016-06-10 14:28Kitware RobotResolutionopen => moved
2016-06-10 14:31Kitware RobotStatusresolved => closed

Notes
(0029175)
Clinton Stimpson   
2012-04-16 09:53   
I believe it assumes plugins are inside the bundle because it is based off BundleUtilities.cmake which was designed with that in mind.
(0042027)
Kitware Robot   
2016-06-10 14:28   
Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.