Details
-
Bug
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
2.3.1
-
None
Description
I have the following structure:
. ├── GlobalKeysImpl.cpp ├── GlobalKeysImpl.hpp ├── fake │ ├── Keys.cpp │ └── Keys.hpp └── macos ├── Keys.hpp └── Keys.mm
The build fails with the error
ERROR: ~/project/build/release/genmodules/Qt/ebbf654a33ba1444/modules/Qt/core/core.qbs:326:18 Conflicting instances of rule '[cpp,hpp,moc_cpp,qt.core.metatypes.in,unmocable][hpp]': Output artifact '~/project/build/release/lib-globalkeys.2b19d184/qt.headers/moc_Keys.cpp' is to be produced from input artifacts '~/project/libs/globalkeys/src/macos/Keys.hpp' and '~/project/libs/globalkeys/src/fake/Keys.hpp', but the rule is not a multiplex rule.
because the Rule for moc does not respect the fact that the files are in different subfolders.
Attachments
Issue Links
- duplicates
-
QBS-1380 Files with the same name from different folders are produced in one moc file
- Closed