[Interest] Building Qt from Sources

André Pönitz andre.poenitz at mathematik.tu-chemnitz.de
Tue Feb 21 20:09:29 CET 2012


On Mon, Feb 20, 2012 at 09:38:28PM -0800, Szalata, Zenon M. wrote:
> Here is my directory structure:
> 
> /opt/qt/qt-everywhere-opensource-src-4.8.0
> /opt/qt/qt-4.8.0
> /opt/qt/qt-creator-2.4.1-src
> /opt/qt/qtc-2.4.1
> 
> I have unpacked qt-everywhere-opensource-src-4.8.0 into the first directory. 
> There I executed configure –prefix /opt/qt/qt-4.8.0, followed by make

Good.

> and make install and this worked fine.

Not needed after giving -prefix to your source dir.
 
> Then I modified PATH to include /opt/qt/qt-4.8.0/bin.

Only used once to locte the qmake below, but ok.
 
> I also had to define QMAKESPEC=/opt/qt/qt-4.8.0/mkspecs/default

Not needed.

> Finally:
> 
> Unpacked qt-creator-2.4.1-src.tar.gz in the third directory and
> 
> cd /opt/qt/qtc-2.4.1
> 
> qmake /opt/qt/qt-creator-2.4.1-src/qtcreator.pro

You need to give the  -r  option to qmake.

> and this last command fails and I suspect that it needs the SDK
> installation of qt 4.7.4 or higher.

It doesn't.

Andre'




More information about the Interest mailing list