Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
5.12.0, 5.12.5
-
None
-
linux, cmake version 3.14.6
-
89bd5a7e733a64b694abf16b8d227dbbdd2d3ef7 (qt/qtbase/5.12) 5399f9443e30f7ca849b8096dbe9ee8c88a35c74 (qt/qtbase/dev)
Description
Because of usage
get_filename_component(_outfile ${_outfile} NAME_WE)
in Qt5CoreMacros.cmake all suffices are removed from input filename by this cmake routine.
In attached project it causes invalid qt5_wrap_cpp macro behavior. As an output I got only one moc_ generated.
build.ninja
CMakeCache.txt
CMakeFiles
cmake_install.cmake
moc_testclass.cpp
moc_testclass.cpp_parameters
rules.ninja
test_cmake.cbp
Attachments
Issue Links
- resulted in
-
QTBUG-81715 Error during CMake using qtquick_compiler_add_resources or QT5_ADD_RESOURCES
- Closed