MantisBT - CMake | |||||
View Issue Details | |||||
ID | Project | Category | View Status | Date Submitted | Last Update |
0015342 | CMake | CMake | public | 2015-01-08 10:18 | 2015-07-08 08:57 |
Reporter | SunBlack | ||||
Assigned To | Stephen Kelly | ||||
Priority | normal | Severity | text | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | OS | OS Version | |||
Product Version | CMake 3.1 | ||||
Target Version | Fixed in Version | CMake 3.2 | |||
Summary | 0015342: [AUTOUI] Simplifiy wrong headers | ||||
Description | If in a header file a ui file is mentioned, but ui file noct exists you are getting currently a message like 1>AUTOUIC : error : process for ui_testwidget.h failed: 1> File 'C:/mypath/testwidget.ui' is not valid After this message you have no idea, where the error is. E.g. in my case testwidget.ui + cpp + h was in parent directory and in subfolder #include ui_testwidget.h" file was mentioned in another header file (e.g. wrongheader.h). My only way to get an idea what was wrong, was to debug cmake. Simply solution would be something like this (cmQtAutoGenerators.cxx): std::cerr << "AUTOUIC: error: process for " << ui_output_file << " failed:\n" << output << "UI file was mentioned in " << realName << std::endl; | ||||
Steps To Reproduce | |||||
Additional Information | |||||
Tags | No tags attached. | ||||
Relationships | |||||
Attached Files | |||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2015-01-08 10:18 | SunBlack | New Issue | |||
2015-02-03 16:57 | Stephen Kelly | Note Added: 0037899 | |||
2015-02-03 16:57 | Stephen Kelly | Assigned To | => Stephen Kelly | ||
2015-02-03 16:57 | Stephen Kelly | Status | new => assigned | ||
2015-02-03 17:47 | Stephen Kelly | Fixed in Version | => CMake 3.2 | ||
2015-02-03 17:47 | Stephen Kelly | Status | assigned => resolved | ||
2015-02-03 17:47 | Stephen Kelly | Resolution | open => fixed | ||
2015-07-08 08:57 | Robert Maynard | Note Added: 0039036 | |||
2015-07-08 08:57 | Robert Maynard | Status | resolved => closed |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|