Problem 1267 - Geant4 9.5 Darwin-g++.gmk sets QT_AS_FRAMEWORK incorrectly in default case
Summary: Geant4 9.5 Darwin-g++.gmk sets QT_AS_FRAMEWORK incorrectly in default case
Status: CLOSED FIXED
Alias: None
Product: Geant4
Classification: Unclassified
Component: config (show other problems)
Version: other
Hardware: Apple Mac OS X
: P5 major
Assignee: Gabriele Cosmo
URL:
Depends on:
Blocks:
 
Reported: 2011-12-09 00:58 CET by Ben Morgan
Modified: 2018-05-08 14:53 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
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".