Problem 2490 - QT defines emit as preprocessor, and conflicts with TBB's profiling.h event::emit()
Summary: QT defines emit as preprocessor, and conflicts with TBB's profiling.h event::...
Status: ASSIGNED
Alias: None
Product: Geant4
Classification: Unclassified
Component: visualization/OpenGL (show other problems)
Version: other
Hardware: All All
: P4 minor
Assignee: Laurent Garnier
URL:
Depends on:
Blocks:
 
Reported: 2022-05-19 21:05 CEST by shangjiaxuan
Modified: 2022-12-15 14:09 CET (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description shangjiaxuan 2022-05-19 21:05:09 CEST
Same as summary, build fails. Defining QT_NO_EMIT should solve the problem when building with both TBB and QT.
Comment 1 Ben Morgan 2022-12-15 14:09:24 CET
Sorry for the delay in this - could you post the exact cmake command/options you used to build Geant4 plus the OS, compiler and version of those, and the versions of the Qt and TBB packages please?