You probably did the same thing I did. Hit the "Download" button to download Qt5 source.
# ./configure -developer-build -opensourceSolution: use git to pull Qt5 so you'll have init-repository
/.../qt5/qtbase/configure not found. Did you forget to run "init-repository"?
# init-repository
-bash: init-repository: command not found
# ls qtbase
total 0
# git clone git://gitorious.org/qt/qt5.git qt5
# init-repository
# ./configure -developer-build -opensource
This comment has been removed by the author.
ReplyDeleteHi
ReplyDeleteFunny answer is, that the 'init-repository' is a script. Run like this;
cd qt5
./init-repository
But
'Get The Submodules
==================
Cloning Qt5 does not automatically clone all submodules.
To get the submodules, it is recommended to use the `init-repository' script.
./init-repository
See `./init-repository -help' for full documentation on the many supported
options.'
Install --> $ not #
(it's my opinion)
git clone https://code.qt.io/qt/qt5.git
cd qt5
./configure -developer-build -opensource -nomake examples -nomake tests # maybe use this prefix; 'prefix=/usr/local/' like this;
./configure -developer-build -opensource -nomake examples -nomake tests prefix=/usr/local/
make
# at fine;
sudo make install # only install (!prefix or not)
or
sudo checkinstall # if you want DEB (with install)
Source's
http://code.qt.io/cgit/qt/qt5.git/tree/README.git
https://wiki.qt.io/Building_Qt_5_from_Git
Best regards,
Imre
sorry, good way is this line
ReplyDeletegit clone git://code.qt.io/qt/qt5.git
.. and '-j4' switch to 'make' command if you want more thread (4) a faster package shooting.