Details
-
Bug
-
Resolution: Done
-
P2: Important
-
6.2.2, 6.2.3, 6.3.0 Beta1
-
None
-
25393b8362 (qt/qtinterfaceframework/dev) 3736ef8a87 (qt/qtinterfaceframework/6.3) b133b6005c (qt/qtinterfaceframework/6.2) b133b6005c (qt/qtinterfaceframework/6.2.4)
Description
When using the OUTPUT_DIR argument of ifcodegen_extend_target the generated code doesn't compile correctly and shows error like this:
CMake Error at /home/gagi/work/build/qt6/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:559 (add_executable):
Cannot find source file:
tst_custom.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm .h
.hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90 .f95 .f03 .hip .ispc
Call Stack (most recent call first):
/home/gagi/work/build/qt6/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:523 (_qt_internal_create_executable)
/home/gagi/work/build/qt6/qtbase/lib/cmake/Qt6Core/Qt6CoreMacros.cmake:870 (qt6_add_executable)
tests/auto/core/ifcodegen/custom-template/full-path/CMakeLists.txt:14 (qt_add_executable)
Attachments
For Gerrit Dashboard: QTBUG-100561 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
394478,6 | ifcodegen: Prepare all templates to also work with a custom output_dir | dev | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
396626,2 | ifcodegen: Prepare all templates to also work with a custom output_dir | 6.3 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |
396627,3 | ifcodegen: Prepare all templates to also work with a custom output_dir | 6.2 | qt/qtinterfaceframework | Status: MERGED | +2 | 0 |