MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0006286 | CMake | QtDialog | public | 2008-01-29 16:03 | 2008-02-20 08:34 |
Reporter | Mike Jackson | ||||
Assigned To | Clinton Stimpson | ||||
Priority | normal | Severity | major | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | |||||
Target Version | Fixed in Version | ||||
Summary | 0006286: QtDialog does not properly find cmake on OS X | ||||
Description | QtDialog properly sets the path to cmake in the constructor of QCmake.cxx. During the 'configure' operation, when cmake::AddPaths() is called the value of this->CMakeCommand is NOT checked first for a valid path and instead a new incorrect path is constructed. This blocks the QtDialog from being used on a daily basis. This will effect OS X systems. Suggested code to fix issue is in additional Information. | ||||
Steps To Reproduce | |||||
Additional Information | In the cmake.cxx file the top of the AddPaths() method should be changed to the following: // at the end of this CMAKE_ROOT and CMAKE_COMMAND should be added to the // cache int cmake::AddCMakePaths() { std::string cMakeSelf = this->CMakeCommand; if ( cMakeSelf.empty() == true) { // Find the cmake executable cMakeSelf = cmSystemTools::GetExecutableDirectory(); cMakeSelf += "/cmake"; cMakeSelf += cmSystemTools::GetExecutableExtension(); std::cout << "cmake::AddCMakePaths() cMakeSelf: " << cMakeSelf << std::endl; if(!cmSystemTools::FileExists(cMakeSelf.c_str())) { cmSystemTools::Error("CMake executable cannot be found at ", cMakeSelf.c_str()); return 0; } } | ||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2008-01-29 16:03 | Mike Jackson | New Issue | |||
2008-01-29 16:06 | Mike Jackson | Note Added: 0010334 | |||
2008-02-06 11:24 | Clinton Stimpson | Note Added: 0010396 | |||
2008-02-06 13:16 | Alex Neundorf | Assigned To | => Clinton Stimpson | ||
2008-02-06 13:16 | Alex Neundorf | Status | new => assigned | ||
2008-02-06 14:47 | Clinton Stimpson | Note Added: 0010400 | |||
2008-02-18 16:17 | Clinton Stimpson | Status | assigned => closed | ||
2008-02-18 16:17 | Clinton Stimpson | Note Added: 0010550 | |||
2008-02-18 16:17 | Clinton Stimpson | Resolution | open => fixed | ||
2008-02-20 08:34 | Mike Jackson | Note Added: 0010597 |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|
||||
|
|||||
|
|