[Development] How to build Qt5 out-of-source?

Loaden loaden at gmail.com
Sun May 13 10:00:25 CEST 2012


In out-of-source build, I have to copy the 'build' and 'build.dependencies'
from source directory into the build directory.
Then these command lead failed with the log show below.

#!/bin/bash
>
> export LANG=C
> unset QTDIR
> export PATH="$PWD/../Qt5/qtbase/bin:$PATH"
>
> ../Qt5/configure -prefix $PWD/qtbase -opensource -confirm-license -fast
> -nomake examples >>config.log 2>&1
> ./build -j 2 >>build.log 2>&1
>
> read -n1 -p "Press any key to continue..."


The error message:

> Missing module qtlocation, ignored
> Missing module qtwebkit, ignored
> Missing module qtpim, ignored
> Missing module qtimageformats, ignored
> Missing module qtdeclarative, ignored
> Missing module qlalr, ignored
> Missing module qtquick1, ignored
> Missing module qttranslations, ignored
> Missing module qtwayland, ignored
> Missing module qtqa, ignored
> Missing module qtscript, ignored
> Missing module qtfeedback, ignored
> Missing module qtwebkit-examples-and-demos, ignored
> Missing module qtconnectivity, ignored
> Missing module qtxmlpatterns, ignored
> Missing module qtsensors, ignored
> Missing module qtdoc, ignored
> Missing module qtmultimedia, ignored
> Missing module qtdocgallery, ignored
> Missing module qtgraphicaleffects, ignored
> Missing module qtsvg, ignored
> Missing module qt3d, ignored
> Missing module qtjsbackend, ignored
> Missing module qtjsondb, ignored
> Missing module qtphonon, ignored
> Missing module qttools, ignored
> Missing module qtsystems, ignored
> OS Name ........ linux
> Verbose ........ no
> Continue ....... no
> Force qmake..... no
> Jobs ........... 2
> PATH
> /home/loaden/qpSOFT/Projects/BuildQt5-2/qtbase/bin:/home/loaden/qpSOFT/Projects/BuildQt5-2/../Qt5/qtbase/bin:/usr/lib/lightdm/lightdm:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
> Modules to build:
>     qtbase
> build qtbase...
> + cd qtbase && make -j 2
>

 It seems we can't use 'build' script, just only use make stuff.
e.g.

> #!/bin/bash
>
> export LANG=C
> unset QTDIR
> export PATH="$PWD/../Qt5/qtbase/bin:$PATH"
>
> ../Qt5/configure -prefix $PWD/qtbase -opensource -confirm-license -fast
> -nomake examples >>config.log 2>&1
> make -j 2 >>build.log 2>&1
>
> read -n1 -p "Press any key to continue..."
>
> Should works well for shadow build.

2012/5/12 Thiago Macieira <thiago.macieira at intel.com>

> On sábado, 12 de maio de 2012 15.28.16, Loaden wrote:
> > Hi, all!
> > I want build Qt5 use out-of-source like this way, and final failed.
>
> What is this final that failed?
>
> Out-of-source buiding works for me, though not all the time. Sometimes
> there
> are issues that need fixing.
>
> --
> Thiago Macieira - thiago.macieira (AT) intel.com
>  Software Architect - Intel Open Source Technology Center
>     Intel Sweden AB - Registration Number: 556189-6027
>     Knarrarnäsgatan 15, 164 40 Kista, Stockholm, Sweden
>
> _______________________________________________
> Development mailing list
> Development at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/development
>
>


-- 
Please don't ask where I come from, It's a shame!
Best Regards
Yuchen
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20120513/a3d3cef4/attachment.html>


More information about the Development mailing list