Problem 2490

Summary: QT defines emit as preprocessor, and conflicts with TBB's profiling.h event::emit()
Product: Geant4 Reporter: shangjiaxuan
Component: visualization/OpenGLAssignee: Laurent Garnier <laurent.garnier>
Status: ASSIGNED ---    
Severity: minor CC: Alberto.Ribon, Ben.Morgan
Priority: P4    
Version: other   
Hardware: All   
OS: All   

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?