Message: Re: qt4 src directory Not Logged In (login)
 Next-in-Thread Next-in-Thread
 Next-in-Forum Next-in-Forum

Warning Re: qt4 src directory 

Forum: Installation and Configuration
Re: None qt4 src directory
Date: 24 Jan, 2012
From: <>

Digging more, I see that part of the problem is in qt itself:

more $QTDIR/include/QtCore/qt_windows.h gives just one line:
#include "../../src/corelib/global/qt_windows.h"

That's definitely a mistake because QT doesn't install a "src" directory. 
However trying to include anything from QTDIR/include should be avoided 
since the frameworks seems like the way to go:


for example. 

Complete set of flags needed to compile G4 with Qt using frameworks is given below. Something to ponder for the future, in case Nokia decide to pull the plug off the QTDIR include

CPPFLAGS:  ' -F$QTDIR/lib   -I$QTDIR/lib/QtCore.framework/Versions/4/Headers  
LINKFLAGS:  '-F$QTDIR/lib -framework QtCore -framework QtGui 
-framework QtOpenGL -framework QtSql -framework QtXml  
-framework QtWebKit  -framework ApplicationServices'

Inline Depth:
 1 1
 All All
Outline Depth:
 1 1
 2 2
 All All
Add message: (add)

1 Note: Re: qt4 src directory   (Ben Morgan - 24 Jan, 2012)
(_ Agree: Re: qt4 src directory   ( - 25 Jan, 2012)
 Add Message Add Message
to: "Re: qt4 src directory"

 Subscribe Subscribe

This site runs SLAC HyperNews version 1.11-slac-98, derived from the original HyperNews

[ Geant 4 Home | Geant 4 HyperNews | Search | Request New Forum | Feedback ]