Details
-
User Story
-
Resolution: Fixed
-
P2: Important
-
None
-
None
-
b74250997 (dev), 2c9664ca3 (dev), 1971e8075 (dev), 29019c9ca (dev), 915b8d2f5 (dev), f818f73c0 (dev), c88b86fcc (dev)
Description
When cloning Qt from git, we advise users and contributors to use qt5.git, and call init-repository .
init-repository is written in Perl though, which is not installed by default. Since we got rid of the other mandatory perl dependency - syncqt - a while ago, init-repository is actually the last more-or-less mandatory part in the Qt Build System using Perl.
The goal is to replace init-repository in CMake, with a small bat/.sh wrapper. This has following advantages:
- Removal of Perl dependency
- Could be transparent, e.g. just cmake ~/dev/qt5
Attachments
Issue Links
- is duplicated by
-
QTBUG-132296 Consider merging the init-repository and configure scripts.
-
- Closed
-
- relates to
-
QTBUG-122622 configure on Windows can't handle unquoted -DFOO=0 arguments
-
- Closed
-
- resulted in
-
QTBUG-123331 init-repository --module-subset=essential initializes too much
-
- Reported
-
For Gerrit Dashboard: QTBUG-120030 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
525694,9 | CMake: Rename init-repository script to make space for cmake script | dev | qt/qt5 | Status: MERGED | +2 | 0 |
525695,95 | CMake: Rewrite init-repository using CMake and .sh / .bat scripts | dev | qt/qt5 | Status: MERGED | +2 | 0 |
535505,34 | CMake: Integrate init-repository with the configure script | dev | qt/qt5 | Status: MERGED | +2 | 0 |
538884,19 | CMake: Add upstream cmake (3rdparty) test infrastructure module | dev | qt/qt5 | Status: MERGED | +2 | 0 |
539451,19 | CMake: Add a test for init-repository | dev | qt/qt5 | Status: MERGED | +2 | 0 |
539856,5 | CMake: Document -init-submodules option of the super configure script | dev | qt/qtbase | Status: MERGED | +2 | 0 |
545086,2 | CMake: Fix configure -help to work | dev | qt/qt5 | Status: MERGED | +2 | 0 |