[Interest] Where configure options have gone ?
kalle.ju.lehtonen at nokia.com
kalle.ju.lehtonen at nokia.com
Thu May 3 07:25:03 CEST 2012
> -----Original Message-----
> From: interest-bounces+kalle.ju.lehtonen=nokia.com at qt-project.org
> [mailto:interest-bounces+kalle.ju.lehtonen=nokia.com at qt-project.org] On
> Behalf Of Ramsay Lincoln (Nokia-MP/Brisbane)
> Sent: Thursday, 3 May 2012 10:46
> To: interest at qt-project.org
> Subject: Re: [Interest] Where configure options have gone ?
>
> On 05/02/2012 06:36 PM, ext Jordi Pujol wrote:
> > I've found this in assistant.pro, but don't know how to re-activate
> > webkit dependency ( QT.webkit.name is alñways empty ) :
> >
> > !isEmpty(QT.webkit.name) {
> > QT += webkit
> > } else {
> > DEFINES += QT_NO_WEBKIT
> > }
>
> This means the webkit module was not built before the tools module was
> built.
>
> > Any clues ?
>
> Build the webkit module first.
If the webkit is in the source tree it should add itself to the list of Qt Tools dependencies:
From Qt5/qt.pro
...
exists(qtwebkit/Tools/Scripts/build-webkit) {
SUBDIRS += module_qtwebkit \
module_qtwebkit_examples_and_demos
module_qttools.depends += module_qtwebkit
}
...
-Kalle
> After building webkit, verify that qtbase/mkspecs/modules has a
> qt_webkit.pri file*. That's what sets QT.webkit.name and allows QT +=
> webkit. This is installed by syncqt when you run qmake for the module.
>
> Then build the tools module again but be sure to run qmake -r so all the .pro
> files are processed again (and they can see the now-available webkit).
>
>
> * Note that I build without webkit so I _guess_ the file is called
> qt_webkit.pri. If that file does not exist, grep through the modules
> directory for a file that sets QT.webkit.name :)
>
> --
> Lincoln Ramsay - Senior Software Engineer
> Qt Development Frameworks, Nokia - http://qt.nokia.com/
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
More information about the Interest
mailing list