View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014274CMakeQtDialogpublic2013-07-06 07:092014-10-06 10:33
Reporternatrium1970 
Assigned ToClinton Stimpson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformMacOSOS XOS Version10.8.4
Product VersionCMake 2.8.11.2 
Target VersionFixed in Version 
Summary0014274: QtDialog Compiler Chooser Should Not Resolve Symlinks
DescriptionUsing 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 Reproduce1. 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.
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0033544)
Clinton Stimpson (developer)
2013-07-15 18:46

Do you think you could supply a patch?
(0035566)
Clinton Stimpson (developer)
2014-03-31 09:17

Fixed.
http://cmake.org/gitweb?p=cmake.git;a=commit;h=480be00b [^]
(0036959)
Robert Maynard (manager)
2014-10-06 10:33

Closing resolved issues that have not been updated in more than 4 months.

 Issue History
Date Modified Username Field Change
2013-07-06 07:09 natrium1970 New Issue
2013-07-08 09:39 Brad King Assigned To => Clinton Stimpson
2013-07-08 09:39 Brad King Status new => assigned
2013-07-15 18:46 Clinton Stimpson Note Added: 0033544
2014-03-31 09:17 Clinton Stimpson Note Added: 0035566
2014-03-31 09:17 Clinton Stimpson Status assigned => resolved
2014-03-31 09:17 Clinton Stimpson Resolution open => fixed
2014-10-06 10:33 Robert Maynard Note Added: 0036959
2014-10-06 10:33 Robert Maynard Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team