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
For Gerrit Dashboard: QTBUG-80295 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
282506,3 | Replace get_filename_component usage with REGEX_REPLACE | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
288359,3 | Fix qt5_make_output_file macro for paths containing dots | 5.12 | qt/qtbase | Status: MERGED | +2 | 0 |
288376,3 | Fix qt5_make_output_file macro for file base names with dots | 5.14 | qt/qtbase | Status: MERGED | +2 | 0 |