[cmake-developers] [CMake 0014274]: QtDialog Compiler Chooser Should Not Resolve Symlinks

Mantis Bug Tracker mantis at public.kitware.com
Sat Jul 6 07:09:37 EDT 2013


The following issue has been SUBMITTED. 
====================================================================== 
http://www.cmake.org/Bug/view.php?id=14274 
====================================================================== 
Reported By:                natrium1970
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   14274
Category:                   QtDialog
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-07-06 07:09 EDT
Last Modified:              2013-07-06 07:09 EDT
====================================================================== 
Summary:                    QtDialog Compiler Chooser Should Not Resolve
Symlinks
Description: 
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.

Steps to Reproduce: 
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.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2013-07-06 07:09 natrium1970    New Issue                                    
======================================================================




More information about the cmake-developers mailing list