MantisBT - CMake
View Issue Details
0014274CMakeQtDialogpublic2013-07-06 07:092014-10-06 10:33
natrium1970 
Clinton Stimpson 
normalminoralways
closedfixed 
MacOS X10.8.4
CMake 2.8.11.2 
 
0014274: QtDialog Compiler Chooser Should Not Resolve Symlinks
Using QtDialog for CMake, when choosing the compiler using the file selection dialog (QFileDialog), if the selected file is a symlink, the symlink is resolved. For example, if /usr/bin/clang++ is chosen for the C++ compiler, the file /usr/bin/clang is substituted because /usr/bin/clang++ is a symlink to /usr/bin/clang. At execution time, if the C versus C++ mode is not otherwise specified, Clang looks at the executable name to decide the mode.

This issue may be platform dependent. It could be related to the fact that native dialogs are used on OS X. I am not sure.
1. Select a location for source code and a new build directory.
2. Choose Configure, and select "specify default compilers."
3. Click the "..." button next to C++, and choose a file that is a symlink.
4. The text edit box will have the the resolved symlink instead of the chosen file.
No tags attached.
Issue History
2013-07-06 07:09natrium1970New Issue
2013-07-08 09:39Brad KingAssigned To => Clinton Stimpson
2013-07-08 09:39Brad KingStatusnew => assigned
2013-07-15 18:46Clinton StimpsonNote Added: 0033544
2014-03-31 09:17Clinton StimpsonNote Added: 0035566
2014-03-31 09:17Clinton StimpsonStatusassigned => resolved
2014-03-31 09:17Clinton StimpsonResolutionopen => fixed
2014-10-06 10:33Robert MaynardNote Added: 0036959
2014-10-06 10:33Robert MaynardStatusresolved => closed

Notes
(0033544)
Clinton Stimpson   
2013-07-15 18:46   
Do you think you could supply a patch?
(0035566)
Clinton Stimpson   
2014-03-31 09:17   
Fixed.
http://cmake.org/gitweb?p=cmake.git;a=commit;h=480be00b [^]
(0036959)
Robert Maynard   
2014-10-06 10:33   
Closing resolved issues that have not been updated in more than 4 months.