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

Note Re: qt4 src directory 

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

Hi Maurizio.

On Tue, 24 Jan 2012 18:45:27 GMT, maurizio wrote:
> 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. 

That's certainly a Qt issue - and looks like a Qt in-source build issue because that's a forwarding header and I think, though it's a long time since I had call to do it, you can build Qt4 in-source.

> However trying to include anything from QTDIR/include should be avoided 
> since the frameworks seems like the way to go:
> 
> $QTDIR/lib/QtCore.framework/Headers
> 
> for example. 

As noted in the Installation Guide, we strongly recommend using the binaries provided by Nokia for Qt4 on Mac. Geant4 uses Qt4 Frameworks if they are available.

Geant4 finds Qt4 by first checking for qmake and using that to detect the relevant include directories and libraries. If you're using a custom install of Qt4, you'll need to have the qmake for that install in your PATH, or you can set the CMake QT_QMAKE_EXECUTABLE to point to it.

Cheers,

Ben.

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

1 Agree: Re: qt4 src directory   (ungaro@jlab.org - 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 ]