View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0016068CMakeCMakepublic2016-04-15 10:562016-06-10 14:31
ReporterMartin Haaß 
Assigned ToKitware Robot 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionmoved 
Platformx86_68OSlinux/anyOS Versiondebian testing
Product VersionCMake 3.5.1 
Target VersionFixed in Version 
Summary0016068: qt5 autorcc uses wrong output folder
DescriptionThe file qrc_Editor.cpp generated by the qt5 rcc compile step from Editor.qrc is put into CMAKE_BINARY_DIR/CMakeFiles/${target}.dir
where it cannot be found/referenced.
Files generated by automoc and autoui are put in CMAKE_BINARY_DIR, where they can be found.
Inside CMAKE_BINARY_DIR/CMakeFiles/${target}.dir there is another folder ${target}.dir/CMakeFiles/${target}.dir which contains qrc_Editor.cpp.o.
To me it looks like cmake start the rcc step with the wrong folder
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0040923)
Brad King (manager)
2016-04-22 09:12

Related change:

Autogen: Generate qrc_NAME.cpp files in subdirectories
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=9c6fa684 [^]

As far as the issue reported here, IIUC it shouldn't matter where the .cpp file goes because CMake compiles it and includes it in the link step for the target.
(0041004)
Martin Haaß (reporter)
2016-05-02 10:32

True, bug on our side: the generated *.cpp was source-included to enforce a dependency.
FWIW the qrc_ files still end up in a different folder than the other generated files, like e.g. ui*.h
(0042984)
Kitware Robot (administrator)
2016-06-10 14:29

Resolving issue as `moved`.

This issue tracker is no longer used. Further discussion of this issue may take place in the current CMake Issues page linked in the banner at the top of this page.

 Issue History
Date Modified Username Field Change
2016-04-15 10:56 Martin Haaß New Issue
2016-04-22 09:12 Brad King Note Added: 0040923
2016-05-02 10:32 Martin Haaß Note Added: 0041004
2016-06-10 14:29 Kitware Robot Note Added: 0042984
2016-06-10 14:29 Kitware Robot Status new => resolved
2016-06-10 14:29 Kitware Robot Resolution open => moved
2016-06-10 14:29 Kitware Robot Assigned To => Kitware Robot
2016-06-10 14:31 Kitware Robot Status resolved => closed


Copyright © 2000 - 2018 MantisBT Team