View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
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; | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | |||||||||
Relationships | |
Relationships |
Notes | |
(0037899) Stephen Kelly (developer) 2015-02-03 16:57 |
Thanks for that. I made a similar change and merged it to next for testing: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=2fed8e17 [^] QtAutogen: Issue error message with origin file (0015342). |
(0039036) Robert Maynard (manager) 2015-07-08 08:57 |
Closing resolved issues that have not been updated in more than 4 months. |
Notes |
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 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |