Problem 1267

Summary: Geant4 9.5 Darwin-g++.gmk sets QT_AS_FRAMEWORK incorrectly in default case
Product: Geant4 Reporter: Ben Morgan <Ben.Morgan>
Component: configAssignee: Gabriele Cosmo <Gabriele.Cosmo>
Status: CLOSED FIXED    
Severity: major    
Priority: P5    
Version: other   
Hardware: Apple   
OS: Mac OS X   

Description Ben Morgan 2011-12-09 00:58:19 CET
If a standard system install of Qt4 is used, then Darwin-g++.gmk sets QTHOME correctly to

/Library/Frameworks

on line 93.

However, on line 116 the $(shell ) call that sets QT_AS_FRAMEWORK will only be set if $(QTHOME)/lib/QtCore.framework exists. Consequently a system framework install will not have QT_AS_FRAMEWORK set as here $(QTHOME)/QtCore.framework should be checked. This leads to the incorrect setting of QTLIBS and GLQTLIBS for a standard system framework install of Qt4.

A simple fix would be to test both $(QTHOME)/lib/QtCore.framework and $(QTHOME)/QtCore.framework.

Cheers,

Ben.
Comment 1 Gabriele Cosmo 2011-12-09 10:33:44 CET
Correction is now implemented in tag "config-V09-05-02".