building a static version of QT Library

I would like to build a static version of QT Library for X11 like shown in the doc Deploying an Application on X11 Platforms but I am stuck at the first step.

where it says : cd /path/to/Qt ./configure -static -prefix /path/to/Qt make sub-src

1) Where is the path/to/Qt. Is this a path to libs or executables or what? In /usr/bin I have: qt3to4, qtconfig-qt4, qtcreator and qmake-qt4. In /usr/include/qt4/Qt I have a whole bunch of header files. In /usr/lib I have all the shared libraries.

2)when I type : "./configure -static -prefix /path/to/Qt" I get "bash: ./configure: No such file or directory"

Answers


The first /path/to/Qt is where you unpackaged the sources, maybe ~/src/qt or something.

The second /path/to/Qt is where you want the installed build to live, say, /usr/local/qt or /opt/qt or something.

And if bash complains then it means that you did not change into the directory with your sources.


Need Your Help

JSOUP not properly setting .timeout with Android ASYNCTASK

android android-asynctask jsoup

My problem currently is that I am trying to .post() a username and password to a slow server. My method worked correctly when I bypassed running my network code on the main thread. I decided to stop

Trun off third party SDK after process exit/close/kill

c# visual-studio-2010 process

I've written a C# application which uses System.Diagnostics.Process class to create a process, using