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”
The first
/path/to/Qtis where you unpackaged the sources, maybe~/src/qtor something.The second
/path/to/Qtis where you want the installed build to live, say,/usr/local/qtor/opt/qtor something.And if
bashcomplains then it means that you did not change into the directory with your sources.