Repository: benlau/qtci
Branch: master
Commit: 1ef4340b88b2
Files: 36
Total size: 54.9 KB
Directory structure:
gitextract_5jezbe1c/
├── .gitignore
├── .travis.yml
├── LICENSE
├── README.md
├── bin/
│ ├── build-android-gradle-project
│ ├── extract-ifw
│ ├── extract-qt-installer
│ ├── increase-android-version-code
│ ├── increase-ios-build-number
│ ├── increase-macos-build-number
│ ├── install-android-sdk
│ ├── run-unittests
│ ├── set-file-suffix
│ └── upgrade-qpm-packages
├── docker/
│ ├── Dockerfile
│ ├── README.md
│ ├── ansible-qt5.10.1.yml
│ ├── ansible-qt5.11.2.yml
│ ├── ansible-qt5.9.2.yml
│ ├── ansible.yml
│ ├── download/
│ │ └── README.md
│ └── package.json
├── meta/
│ └── qt-5.11.2-packages.txt
├── path.env
└── recipes/
├── README.md
├── install-qt
├── install-qt-5.9.2
├── install-qt-5.9.5-android-19
├── install-qt-online
├── qt-5.5.1
├── qt-5.5.1-android-19
├── qt-5.5.1-android-travis
├── qt-5.7
├── qt-5.7-osx
├── qt-5.8.0
└── qt-5.9.5-osx
================================================
FILE CONTENTS
================================================
================================================
FILE: .gitignore
================================================
node_modules/
docker/download/*.run
*.retry
npm-debug.log
yarn.lock
*.run
*.dmg
================================================
FILE: .travis.yml
================================================
language : cpp
compiler: gcc
os: linux
dist: trusty
matrix:
include:
- before_install:
- cat /etc/apt/sources.list
- sudo apt-get update
- sudo apt-get install --force-yes -qq p7zip openjdk-7-jdk ant lib32z1-dev lib32stdc++6 #lib32* are needed by Android SDK
- sudo update-alternatives --display java
- sudo update-alternatives --set java /usr/lib/jvm/java-7-openjdk-amd64/jre/bin/java
- sh -e /etc/init.d/xvfb start
script:
- ENV_FILE=qt-5.9.5-android-19.env
- export WORKDIR=$PWD
- echo $PWD
- source path.env
- wget -c https://download.qt.io/official_releases/online_installers/qt-unified-linux-x64-online.run
- extract-qt-installer --list-packages qt-unified-linux-x64-online.run
- install-qt-5.9.5-android-19
- cat $ENV_FILE
- source $ENV_FILE
- which qmake
- git clone https://github.com/benlau/quickandroid.git
- cd quickandroid/examples/quickandroidexample
- qmake
- make install INSTALL_ROOT=$WORKDIR/build
- androiddeployqt --output $WORKDIR/build
- os: osx
script:
- QT_CI_PACKAGES=qt.qt5.598.clang_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.8 && source qt-5.9.8.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.8"
- os: osx
script:
- QT_CI_PACKAGES=qt.qt5.5124.clang_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.12.4 && source qt-5.12.4.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.12.4"
- script:
- QT_CI_PACKAGES=qt.56.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.6.0 && source qt-5.6.0.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.6.0"
- script:
- QT_CI_PACKAGES=qt.56.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.6.1 && source qt-5.6.1.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.6.1"
- script:
- QT_CI_PACKAGES=qt.56.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.6.1-1 && source qt-5.6.1-1.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.6.1"
- script:
- QT_CI_PACKAGES=qt.56.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.6.2 && source qt-5.6.2.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.6.2"
- script:
- QT_CI_PACKAGES=qt.563.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.6.3 && source qt-5.6.3.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.6.3"
- script:
- QT_CI_PACKAGES=qt.59.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.0 && source qt-5.9.0.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.0"
- script:
- QT_CI_PACKAGES=qt.591.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.1 && source qt-5.9.1.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.1"
- script:
- QT_CI_PACKAGES=qt.592.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.2 && source qt-5.9.2.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.2"
- script:
- QT_CI_PACKAGES=qt.593.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.3 && source qt-5.9.3.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.3"
- script:
- QT_CI_PACKAGES=qt.594.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.4 && source qt-5.9.4.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.4"
- script:
- QT_CI_PACKAGES=qt.595.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.5 && source qt-5.9.5.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.5"
- script:
- QT_CI_PACKAGES=qt.596.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.6 && source qt-5.9.6.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.6"
- script:
- QT_CI_PACKAGES=qt.qt5.597.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.7 && source qt-5.9.7.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.7"
- script:
- QT_CI_PACKAGES=qt.qt5.598.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.9.8 && source qt-5.9.8.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.9.8"
- script:
- QT_CI_PACKAGES=qt.qt5.5120.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.12.0 && source qt-5.12.0.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.12.0"
- script:
- QT_CI_PACKAGES=qt.qt5.5121.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.12.1 && source qt-5.12.1.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.12.1"
- script:
- QT_CI_PACKAGES=qt.qt5.5122.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.12.2 && source qt-5.12.2.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.12.2"
- script:
- QT_CI_PACKAGES=qt.qt5.5123.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.12.3 && source qt-5.12.3.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.12.3"
- script:
- QT_CI_PACKAGES=qt.qt5.5124.gcc_64 PATH=${TRAVIS_BUILD_DIR}/recipes:${TRAVIS_BUILD_DIR}/bin:${PATH} install-qt 5.12.4 && source qt-5.12.4.env && qmake -version && test "$(qmake -query QT_VERSION)" = "5.12.4"
================================================
FILE: LICENSE
================================================
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "{}"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright {yyyy} {name of copyright owner}
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
================================================
FILE: README.md
================================================
# QT-CI
This project collects a set of script for building Qt application for Android/iOS in command line environment.
[](https://travis-ci.org/benlau/qtci)
Check [.travis.yml](https://github.com/benlau/qtci/blob/master/.travis.yml) to see how it works.
It will demonstrate how to build an apk file using QT-CI scripts.
Installation
============
Since this project is a collection of scripts, and the script in the bin folder does not have any dependence on each other.
It is not necessary to clone/download the whole repository into your build environment.
You may simply copy the script you need from this repository.
**recipes/install-qt**
To automatically install Qt, you can just download 2 scripts and grant them permission for execution.
"recipes/install-qt"
"bin/extract-qt-installer"
Then just run script "recipes/install-qt" with the desired version of Qt
Example:
bash install-qt 5.9.4
Environment variables
=====================
QT_CI_PACKAGES - packages to install. You can check available packages if set VERBOSE to 1.
Example:
export VERBOSE=1
export QT_CI_PACKAGES=qt,qt.594,qt.594.gcc_64,qt.594.doc.qtvirtualkeyboard
Setup
=====
git clone https://github.com/benlau/qtci.git
source qtci/path.env #Add qtci/bin and qtci/recipes to $PATH
Script
======
**(1) bin/extract-qt-installer**
--------------------------------
Usage
```
extract-qt-installer [--disable-progress-report] qt-installer output_path
extract-qt-installer --list-packages qt-installer
```
Extract Qt from the installer to the target path (for Qt 5.5 or above). If --list-packages is given, it will show the available packages from the installer and terminate immediately.
Example:
extract-qt-installer qt-opensource-linux-x64-android-5.5.1.run ~/Qt
**Remarks: The installation path must be absolute path**
Environment Variables
VERBOSE [Optional] Set to "true" will enable VERBOSE output
QT_CI_PACKAGES [Optional] Select the components to be installed instead of using default (eg. QT_CI_PACKAGES="qt.59.gcc_64")
QT_CI_LOGIN [Optional] The login name
QT_CI_PASSWORD [Optional] The password of login
The arguments and environment required could be different due to the installer changes. Check the recipes folder or the wiki of known issues to find out the correct setting.
**(2) bin/extract-ifw**
--------------------------------
Extract installer of "Qt installer framework" to the target path
Example:
extract-ifw qt-installer-framework-opensource-1.5.0-x64.run ~/QtIfw
**(3) bin/install-android-sdk**
--------------------------------
Download and install Android SDK
Example:
install-android-sdk platform-tool,build-tools-20.0.0,android-19
**(4) bin/build-android-gradle-project**
--------------------------------
Build a Qt Android project and sign the APK
Usage:
build-android-gradle-project project.pro
Required Environment Variables
QT_HOME [Required] The home directory of installed Qt. (e.g., ~/Qt/5.7)
KEYSTORE [Optional] The location of keystore. If it is set, it will be used to sign the created apk
KEYALIAS [Optional] The alias of the keystore
KEYPASS [Optional] The password of keystore.
ANDROID_TARGET_SDK_VERSION [Optional] Target Android SDK version. The default value is "19"
(5) bin/increase-android-version-code
--------------------------------
Usage
increase-android-version-code AndroidManifest.xml
Given an AndroidManifest.xml file, it will increase the value of the versionCode field by one.
(6) bin/run-unittests
----------------------
Usage
run-unittests project.pro
Build and run a unit test project in the current folder. If qpm.json were found, it would call `qpm install` first.
Recipes
=======
In the folder "recipes", it contains a set of script that could download and install specific Qt toolchains for a different environment. (Include Android)
Please feel free to modify and submit a new recipe.
Example
apt-get install openjdk-8-jdk p7zip
source path.env #Add $PWD/bin and $PWD/recipes to $PATH
#Change to the installation path
qt-5.5.1-android-19 # Install Qt 5.5.1 and Android SDK
source qt-5.5.1-android-19.env # Add installed Qt path to $PATH
Reference
=========
1. [Continuous distribution for Qt applications on desktop and mobile](http://www.slidedeck.io/lasconic/qtci-qtcon2016)
1. [Andrew's Articles - Continuous deployment for Qt applications](http://andrewdolby.com/articles/2016/continuous-deployment-for-qt-applications/)
Related Projects
=================
1. [benlau/quickpromise](https://github.com/benlau/quickpromise) - Promise library for QML
2. [benlau/quickcross](https://github.com/benlau/quickcross) - QML Cross Platform Utility Library
3. [benlau/qsyncable](https://github.com/benlau/qsyncable) - Synchronize data between models
4. [benlau/testable](https://github.com/benlau/testable) - QML Unit Test Utilities
5. [benlau/quickflux](https://github.com/benlau/quickflux) - Message Dispatcher / Queue for Qt/QML
6. [benlau/biginteger](https://github.com/benlau/biginteger) - QML BigInteger library
================================================
FILE: bin/build-android-gradle-project
================================================
#!/bin/bash
# QT-CI Project
# License: Apache-2.0
# https://github.com/benlau/qtci
set -e
if [ $# -lt 1 ]
then
echo build-android-gradle-project pro
exit -1
fi
JARSIGNER=`which jarsigner`
PRO=$1
SPEC="${SPEC:-android-g++}"
if [ -z "$QMAKE"]
then
if [ -n "$QT_HOME" ]
then
QMAKE=$QT_HOME/android_armv7/bin/qmake
PATH=$QT_HOME/android_armv7/bin:$PATH
else
QMAKE=qmake
fi
fi
if [ -z "$ANDROID_TARGET_SDK_VERSION" ]
then
ANDROID_TARGET_SDK_VERSION="19"
fi
echo $QMAKE
if [ -n "$KEYSTORE" ]
then
echo "Key store file: $KEYSTORE"
if [ ! -f "$KEYSTORE" ]
then
echo "Key store file not found!";
exit -1
fi
if [ -z "$KEYPASS" ]
then
echo "KEYPASS is absent"
exit -1
fi
DEPLOY_ARGS="--sign $KEYSTORE $KEYALIAS --storepass $KEYPASS "
fi
set -v
$QMAKE $PRO -r -spec $SPEC
ANDROID_BUILD_PATH=`pwd`/android-build
JSON=`ls *deployment-settings.json`
make
make install INSTALL_ROOT=${ANDROID_BUILD_PATH}
androiddeployqt --verbose --input $JSON --output `pwd`/android-build --deployment bundled --android-platform android-${ANDROID_TARGET_SDK_VERSION} --gradle --no-gdbserver $DEPLOY_ARGS
APK=${ANDROID_BUILD_PATH}/build/outputs/apk/android-build-release-signed.apk
if [ ! -f $APK ]
then
APK=${ANDROID_BUILD_PATH}/build/outputs/apk/android-build-debug.apk
fi
echo "Output APK: $APK"
if [ ! -z "$JARSIGNER" ]
then
$JARSIGNER -verify -verbose -certs $APK
fi
================================================
FILE: bin/extract-ifw
================================================
#!/bin/bash
# QT-CI Project
# License: Apache-2.0
# https://github.com/benlau/qtci
set -e #quit on error
if [ $# -lt 2 ];
then
echo extract-ifw qtifw output_path
exit -1
fi
export PATH=$PATH:$PWD
export WORKDIR=$PWD
INSTALLER=$1
OUTPUT=$2
SCRIPT="$(mktemp)"
cat <<EOF > $SCRIPT
function Controller() {}
Controller.prototype.IntroductionPageCallback = function() {
gui.clickButton(buttons.NextButton);
}
Controller.prototype.TargetDirectoryPageCallback = function() {
var widget = gui.currentPageWidget();
if (widget != null) {
widget.TargetDirectoryLineEdit.setText("$OUTPUT");
}
gui.clickButton(buttons.NextButton);
}
Controller.prototype.LicenseAgreementPageCallback = function() {
var widget = gui.currentPageWidget();
if (widget != null) {
widget.AcceptLicenseRadioButton.setChecked(true);
}
gui.clickButton(buttons.NextButton);
}
Controller.prototype.ReadyForInstallationPageCallback = function() {
gui.clickButton(buttons.CommitButton);
}
Controller.prototype.FinishedPageCallback = function() {
gui.clickButton(buttons.FinishButton);
}
EOF
chmod u+x $1
$1 --script $SCRIPT
================================================
FILE: bin/extract-qt-installer
================================================
#!/bin/bash
# QT-CI Project
# License: Apache-2.0
# https://github.com/benlau/qtci
function usage() {
echo "Usage:"
echo "extract-qt-installer qt-installer output_path"
echo "extract-qt-installer --list-packages qt-installer"
exit -1
}
LIST_PACKAGES=0
getopt --test > /dev/null 2>&1
GETOPT_RET_CODE=$?
set -e #quit on error
if [ "$GETOPT_RET_CODE" != "4" ]
then
echo "Warning: gnu-getopt is not installed. Long parameter like '--list-package' will not be working. Please install gnu-getopt by 'brew install gnu-getopt'"
else
OPTS=`getopt -o l --long list-packages --long disable-progress-report -n "extract-qt-installer" -- "$@"`
eval set -- "$OPTS"
while true
do
case "$1" in
--list-packages)
LIST_PACKAGES=1
shift;;
--disable-progress-report)
DISABLE_PROGRESS_REPORT=1
shift;;
--) shift;break;;
*) shift;;
esac
done
fi
export PATH=$PATH:$PWD
export WORKDIR=$PWD
INSTALLER=$1
OUTPUT=$2
SCRIPT="$(mktemp /tmp/tmp.XXXXXXXXX)"
PACKAGES=$QT_CI_PACKAGES
if [ $LIST_PACKAGES -gt 0 ]
then
if [ $# -lt 1 ]
then
usage
fi
OUTPUT="/tmp/Qt"
else
if [ $# -lt 2 ]
then
usage
fi
if [[ ! "${OUTPUT:0:1}" = "/" ]]
then
echo output path must be an absolute path
exit -1
fi
fi
cat <<EOF > $SCRIPT
function abortInstaller()
{
installer.setDefaultPageVisible(QInstaller.Introduction, false);
installer.setDefaultPageVisible(QInstaller.TargetDirectory, false);
installer.setDefaultPageVisible(QInstaller.ComponentSelection, false);
installer.setDefaultPageVisible(QInstaller.ReadyForInstallation, false);
installer.setDefaultPageVisible(QInstaller.StartMenuSelection, false);
installer.setDefaultPageVisible(QInstaller.PerformInstallation, false);
installer.setDefaultPageVisible(QInstaller.LicenseCheck, false);
var abortText = "<font color='red' size=3>" + qsTr("Installation failed:") + "</font>";
var error_list = installer.value("component_errors").split(";;;");
abortText += "<ul>";
// ignore the first empty one
for (var i = 0; i < error_list.length; ++i) {
if (error_list[i] !== "") {
log(error_list[i]);
abortText += "<li>" + error_list[i] + "</li>"
}
}
abortText += "</ul>";
installer.setValue("FinishedText", abortText);
}
function log() {
var msg = ["QTCI: "].concat([].slice.call(arguments));
console.log(msg.join(" "));
}
function printObject(object) {
var lines = [];
for (var i in object) {
lines.push([i, object[i]].join(" "));
}
log(lines.join(","));
}
var status = {
widget: null,
finishedPageVisible: false,
installationFinished: false
}
function tryFinish() {
if (status.finishedPageVisible && status.installationFinished) {
if (status.widget.LaunchQtCreatorCheckBoxForm) {
// Disable this checkbox for minimal platform
status.widget.LaunchQtCreatorCheckBoxForm.launchQtCreatorCheckBox.setChecked(false);
}
if (status.widget.RunItCheckBox) {
// LaunchQtCreatorCheckBoxForm may not work for newer versions.
status.widget.RunItCheckBox.setChecked(false);
}
log("Press Finish Button");
gui.clickButton(buttons.FinishButton);
}
}
function Controller() {
installer.installationFinished.connect(function() {
status.installationFinished = true;
gui.clickButton(buttons.NextButton);
tryFinish();
});
installer.setMessageBoxAutomaticAnswer("OverwriteTargetDirectory", QMessageBox.Yes);
installer.setMessageBoxAutomaticAnswer("installationErrorWithRetry", QMessageBox.Ignore);
installer.setMessageBoxAutomaticAnswer("XcodeError", QMessageBox.Ok);
// Allow to cancel installation for arguments --list-packages
installer.setMessageBoxAutomaticAnswer("cancelInstallation", QMessageBox.Yes);
}
Controller.prototype.WelcomePageCallback = function() {
log("Welcome Page");
gui.clickButton(buttons.NextButton);
var widget = gui.currentPageWidget();
/*
Online installer 3.0.6
- It must disconnect the completeChanged callback after used, otherwise it will click the 'next' button on another pages
*/
var callback = function() {
gui.clickButton(buttons.NextButton);
widget.completeChanged.disconnect(callback);
}
widget.completeChanged.connect(callback);
}
Controller.prototype.CredentialsPageCallback = function() {
var login = installer.environmentVariable("QT_CI_LOGIN");
var password = installer.environmentVariable("QT_CI_PASSWORD");
if (login === "" || password === "") {
gui.clickButton(buttons.CommitButton);
}
var widget = gui.currentPageWidget();
widget.loginWidget.EmailLineEdit.setText(login);
widget.loginWidget.PasswordLineEdit.setText(password);
gui.clickButton(buttons.CommitButton);
}
Controller.prototype.ComponentSelectionPageCallback = function() {
log("ComponentSelectionPageCallback");
function list_packages() {
var components = installer.components();
log("Available components: " + components.length);
var packages = ["Packages: "];
for (var i = 0 ; i < components.length ;i++) {
packages.push(components[i].name);
}
log(packages.join(" "));
}
if ($LIST_PACKAGES) {
list_packages();
gui.clickButton(buttons.CancelButton);
return;
}
log("Select components");
function trim(str) {
return str.replace(/^ +/,"").replace(/ *$/,"");
}
var widget = gui.currentPageWidget();
var packages = trim("$PACKAGES").split(",");
if (packages.length > 0 && packages[0] !== "") {
widget.deselectAll();
var components = installer.components();
var allfound = true;
for (var i in packages) {
var pkg = trim(packages[i]);
var found = false;
for (var j in components) {
if (components[j].name === pkg) {
found = true;
break;
}
}
if (!found) {
allfound = false;
log("ERROR: Package " + pkg + " not found.");
} else {
log("Select " + pkg);
widget.selectComponent(pkg);
}
}
if (!allfound) {
list_packages();
// TODO: figure out how to set non-zero exit status.
gui.clickButton(buttons.CancelButton);
return;
}
} else {
log("Use default component list");
}
gui.clickButton(buttons.NextButton);
}
Controller.prototype.IntroductionPageCallback = function() {
log("Introduction Page");
log("Retrieving meta information from remote repository");
/*
Online installer 3.0.6
- Don't click buttons.NextButton directly. It will skip the componenet selection.
*/
if (installer.isOfflineOnly()) {
gui.clickButton(buttons.NextButton);
}
}
Controller.prototype.TargetDirectoryPageCallback = function() {
log("Set target installation page: $OUTPUT");
var widget = gui.currentPageWidget();
if (widget != null) {
widget.TargetDirectoryLineEdit.setText("$OUTPUT");
}
gui.clickButton(buttons.NextButton);
}
Controller.prototype.LicenseAgreementPageCallback = function() {
log("Accept license agreement");
var widget = gui.currentPageWidget();
if (widget != null) {
widget.AcceptLicenseRadioButton.setChecked(true);
}
gui.clickButton(buttons.NextButton);
}
Controller.prototype.ReadyForInstallationPageCallback = function() {
log("Ready to install");
// Bug? If commit button pressed too quickly finished callback might not show the checkbox to disable running qt creator
// Behaviour started around 5.10. You don't actually have to press this button at all with those versions, even though gui.isButtonEnabled() returns true.
gui.clickButton(buttons.CommitButton, 200);
}
Controller.prototype.PerformInstallationPageCallback = function() {
log("PerformInstallationPageCallback");
gui.clickButton(buttons.CommitButton);
}
Controller.prototype.FinishedPageCallback = function() {
log("FinishedPageCallback");
var widget = gui.currentPageWidget();
// Bug? Qt 5.9.5 and Qt 5.9.6 installer show finished page before the installation completed
// Don't press "finishButton" immediately
status.finishedPageVisible = true;
status.widget = widget;
tryFinish();
}
EOF
chmod u+x $1
if [ -n "$QT_CI_DEBUG" ]
then
$INSTALLER -v --script $SCRIPT | grep "\(QTCI\|operation\)"
exit 0
fi
unset DISPLAY
if [ -n "$DISABLE_PROGRESS_REPORT" ]
then
QT_QPA_PLATFORM=minimal $INSTALLER --script $SCRIPT
else
ARGS="-v"
if [ -n "$VERBOSE" ]
then
QT_QPA_PLATFORM=minimal $INSTALLER $ARGS --script $SCRIPT
else
QT_QPA_PLATFORM=minimal $INSTALLER $ARGS --script $SCRIPT | grep "\(QTCI\|operation\)"
fi
fi
================================================
FILE: bin/increase-android-version-code
================================================
#!/usr/bin/python
# QT-CI Project
# License: Apache-2.0
# https://github.com/benlau/qtci
# Based on the solution from http://stackoverflow.com/questions/6758685/auto-increment-version-code-in-android-app
import sys
import os
from xml.dom.minidom import parse
if len(sys.argv) < 2:
print("increase_version_code_android AndroidManifest.xml")
quit()
manifest = sys.argv[1]
dom1 = parse(manifest)
versionCode = int(dom1.documentElement.getAttribute("android:versionCode")) + 1
dom1.documentElement.setAttribute("android:versionCode", str(versionCode))
with open(manifest, 'wb') as f:
for line in dom1.toxml("utf-8"):
f.write(line)
================================================
FILE: bin/increase-ios-build-number
================================================
#!/bin/bash
# QT-CI Project
# License: Apache-2.0
# https://github.com/benlau/qtci
set -e
INFOPLIST_FILE=`xcodebuild -showBuildSettings | grep INFOPLIST_FILE | sed -e "s/.*=//g"`
buildNumber=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" $INFOPLIST_FILE`
buildNumber=$(($buildNumber+1))
xcrun agvtool new-version -all $buildNumber
================================================
FILE: bin/increase-macos-build-number
================================================
#!/bin/bash
# QT-CI Project
# License: Apache-2.0
# https://github.com/benlau/qtci
set -e
if [ $# -lt 1 ];
then
echo $0 Info.plist
exit -1
fi
INFOPLIST_FILE=$1
buildNumber=`/usr/libexec/PlistBuddy -c "Print CFBundleVersion" $INFOPLIST_FILE`
buildNumber=$(($buildNumber+1))
/usr/libexec/PlistBuddy -c "Set CFBundleVersion $buildNumber" $INFOPLIST_FILE
================================================
FILE: bin/install-android-sdk
================================================
#!/bin/bash
# QT-CI Project
# License: Apache-2.0
# https://github.com/benlau/qtci
# Install Android SDK to current folder
set -e #quit on error
if [ $# -lt 1 ];
then
echo install-android-sdk packages
echo
echo Example:
echo install-android-sdk platform-tool,build-tools-20.0.0,android-19
exit -1
fi
NDK_VERSION=${NDK_VERSION:=r17c}
# e.g: platform-tool,build-tools-20.0.0,android-19
PACKAGES=$1
echo Downloading Android SDK...
wget -c -nv https://dl.google.com/android/android-sdk_r23.0.2-linux.tgz
echo Downloading Android NDK...
wget -c -nv https://dl.google.com/android/repository/android-ndk-${NDK_VERSION}-linux-x86_64.zip
echo Extacting Android SDK...
tar -zxf android-sdk_r23.0.2-linux.tgz
echo Upgrading Android SDK...
(sleep 5 ; while true ; do sleep 1 ; printf 'y\r\n' ; done ) | ./android-sdk-linux/tools/android update sdk -u -a -t $PACKAGES
echo Installing Android NDK...
(unzip android-ndk-${NDK_VERSION}-linux-x86_64.zip)
echo Android SDK and NDK installed
./android-sdk-linux/platform-tools/adb kill-server
echo
echo export PATH=$PWD/android-sdk-linux/tools:$PATH
echo export ANDROID_NDK_ROOT=$PWD/android-ndk-${NDK_VERSION}
echo export ANDROID_SDK_ROOT=$PWD/android-sdk-linux
================================================
FILE: bin/run-unittests
================================================
#!/bin/bash
# Build and run an unit test project
# QT-CI Project
# License: Apache-2.0
# https://github.com/benlau/qtci
set -e
usage() {
echo run-unittests pro_file
}
while :; do
case $1 in
-h|--help)
usage
exit
;;
--qpa-platform)
PLATFORM=$2
shift
;;
*)
PRO=$1
break
esac
shift
done
if [ -z "$PRO" ]
then
usage
exit -1
fi
PRO=$1
SRCDIR=`dirname $PRO`
if [ -f $SRCDIR/qpm.json ]
then
(cd $SRCDIR;qpm install)
fi
TARGET=`cat $PRO | grep "TARGET *=" | sed "s/^TARGET *= *//"`
echo "Target executable: $TARGET"
qmake CONFIG+=debug $PRO
if [ -z "${QT_CI_SILENT}" ]
then
make
else
echo "Compiling..."
make > /dev/null
fi
echo "Build Completed"
if [ ! -z "$PLATFORM" ]
then
export QT_QPA_PLATFORM=$PLATFORM
fi
./$TARGET
================================================
FILE: bin/set-file-suffix
================================================
#!/bin/sh
if [ "$#" -ne 2 ]
then
echo set-file-suffix file suffix
exit -1
fi
NAME=`echo "$1" | cut -d'.' -f1`
EXTENSION=`echo "$1" | cut -d'.' -f2`
mv "$1" "${NAME}-$2.$EXTENSION"
================================================
FILE: bin/upgrade-qpm-packages
================================================
#!/usr/bin/python
import json
import sys
import os
from subprocess import call
try:
f = open("qpm.json", "r")
txt = f.read()
content = json.loads(txt)
for row in content["dependencies"]:
token = row.split("@")
pkg = token[0]
print pkg
call(["qpm", "install", pkg])
except IOError:
print "Unable to read qpm.json"
sys.exit(-1)
except ValueError:
print "Corrupted json file"
sys.exit(-1)
================================================
FILE: docker/Dockerfile
================================================
FROM ubuntu:18.04
VOLUME ["/host/qtci", "/host/download"]
# USERID should be same as the current user.
ARG USERID
ARG USERNAME=ci
ENV DISPLAY=":0"
RUN useradd --create-home --no-user-group -u $USERID $USERNAME -s /bin/bash && adduser $USERNAME sudo
RUN apt-get update && \
apt-get install -y --no-install-recommends ansible sudo && \
rm -rf /var/lib/apt/lists/* && \
apt-get clean
ADD ansible.yml /host/ansible.yml
RUN ansible-playbook /host/ansible.yml && \
rm -rf /var/lib/apt/lists/* && \
apt-get clean
USER $USERNAME
WORKDIR /home/$USERNAME
CMD ["bash"]
================================================
FILE: docker/README.md
================================================
QTCI Docker Images
===============
It is a docker container to build and develop Qt application
Setup
```
npm install
npm run docker_image_build
npm run docker_container_build
npm run docker_container_start
```
Install and Use Specific Qt version
```
npm use:qt5.9.2
```
```
npm run shell
```
Configuration
=====
Mount your own directory
```
npm config set qtci:docker_container_build_args "-v HOST_DIR:DOCKER_DIR"
npm run docker_container_build
```
Change Docker Image name
```
npm config set qtci:docker_image new_name
npm run docker_image_build
```
Change Docker Container Name
```
npm config set qtci:docker_container new_name
npm run docker_container_build
```
================================================
FILE: docker/ansible-qt5.10.1.yml
================================================
---
- import_playbook: ansible.yml
- hosts: localhost
vars:
qtver: 5.10.1
url: https://download.qt.io/archive/qt/5.10/5.10.1/qt-opensource-linux-x64-5.10.1.run
file: qt-opensource-linux-x64-5.10.1.run
hash: md5:8bc46db7cd82d738fa0015aea0bf7cb1
install_path: /opt/qt5.10.1
packages: qt.qt5.5101.gcc_64
tasks:
- name: Download Qt
become: yes
become_user: ci
get_url:
url: "{{url}}"
dest: /host/download/{{file}}
checksum: "{{hash}}"
- name: Check Installation
stat:
path: "{{ install_path }}"
register: qt_installation_result
- name: Install Qt
shell: DISPLAY="" QT_CI_PACKAGES="{{packages}}" /host/qtci/bin/extract-qt-installer /host/download/{{file}} {{install_path}}
when: qt_installation_result.stat.exists == False
- name: QT Path in .bashrc
blockinfile:
dest: /home/ci/.bashrc
marker_begin: "QT_PATH_BEGIN"
marker_end: "QT_PATH_END"
block: |
export PATH={{install_path}}/{{qtver}}/gcc_64/bin:$PATH
================================================
FILE: docker/ansible-qt5.11.2.yml
================================================
---
- import_playbook: ansible.yml
- hosts: localhost
vars:
qtver: 5.11.2
url: https://download.qt.io/archive/qt/5.11/5.11.2/qt-opensource-linux-x64-5.11.2.run
file: qt-opensource-linux-x64-5.11.2.run
hash: md5:974fda61267cfb6e45984ee5f0a285f8
install_path: /opt/qt5.11.2
packages: qt.qt5.5112.gcc_64
tasks:
- name: Download Qt
become: yes
become_user: ci
get_url:
url: "{{url}}"
dest: /host/download/{{file}}
checksum: "{{hash}}"
- name: Check Installation
stat:
path: "{{ install_path }}"
register: qt_installation_result
- name: Show packages
shell: DISPLAY="" /host/qtci/bin/extract-qt-installer --list-packages /host/download/{{file}} > /host/qtci/meta/qt-{{qtver}}-packages.txt
when: qt_installation_result.stat.exists == False
- name: Install Qt
shell: DISPLAY="" QT_CI_PACKAGES="{{packages}}" /host/qtci/bin/extract-qt-installer /host/download/{{file}} {{install_path}}
when: qt_installation_result.stat.exists == False
- name: QT Path in .bashrc
blockinfile:
dest: /home/ci/.bashrc
marker_begin: "QT_PATH_BEGIN"
marker_end: "QT_PATH_END"
block: |
export PATH={{install_path}}/{{qtver}}/gcc_64/bin:$PATH
================================================
FILE: docker/ansible-qt5.9.2.yml
================================================
---
- import_playbook: ansible.yml
- hosts: localhost
vars:
qtver: 5.9.2
url: https://download.qt.io/archive/qt/5.9/5.9.2/qt-opensource-linux-x64-5.9.2.run
file: qt-opensource-linux-x64-5.9.2.run
hash: md5:6b607f21a1953c3a272de7d5a4094a47
install_path: /opt/qt5.9.2
packages: qt.592.gcc_64,qt.592.qtwebengine
tasks:
- name: Download Qt
become: yes
become_user: ci
get_url:
url: "{{url}}"
dest: /host/download/{{file}}
checksum: "{{hash}}"
- name: Check Installation
stat:
path: "{{ install_path }}"
register: qt_installation_result
- name: Install Qt
shell: QT_CI_PACKAGES="{{packages}}" /host/qtci/bin/extract-qt-installer /host/download/{{file}} {{install_path}}
when: qt_installation_result.stat.exists == False
- name: QT Path in .bashrc
blockinfile:
dest: /home/ci/.bashrc
marker_begin: "QT_PATH_BEGIN"
marker_end: "QT_PATH_END"
block: |
export PATH={{install_path}}/{{qtver}}/gcc_64/bin:$PATH
================================================
FILE: docker/ansible.yml
================================================
---
- hosts: localhost
vars:
user: ci
tasks:
- name: Install Ubuntu Packages
become: yes
become_user: root
apt: name={{item}} state=present update_cache=yes
with_items:
- build-essential
- golang
- mesa-common-dev
- qbs
- git
- vim
- ca-certificates
- name: /etc/sudoers
blockinfile:
dest: /etc/sudoers
block: |
ci ALL=(ALL) NOPASSWD: ALL
- name: QTCI Path in .bashrc
blockinfile:
dest: /home/{{user}}/.bashrc
marker_begin: "QTCI_PATH_BEGIN"
marker_end: "QTCI_PATH_END"
block: |
source /host/qtci/path.env
- name: Check is qpm installed
shell: command -v qpm > /dev/null 2>&1
register: is_qpm_exist
ignore_errors: true
- name: qpm
become: yes
become_user: root
environment:
GOPATH: /usr/local
shell: "go get qpm.io/qpm"
when: is_qpm_exist.rc != 0
================================================
FILE: docker/download/README.md
================================================
================================================
FILE: docker/package.json
================================================
{
"name": "qtci",
"version": "0.0.1",
"description": "QTCI Docker Environment",
"main": "index.js",
"config": {
"docker_image": "qtci/qtapp-builder",
"docker_container": "qtapp-builder",
"docker_container_build_args": "",
"docker_container_exec_args": ""
},
"scripts": {
"docker_image_build": "docker build --build-arg USERID=`id -u` -t $npm_package_config_docker_image .",
"docker_image_remove": "docker image rm $npm_config_docker_image",
"docker_container_build": "run-script-os",
"docker_container_build:darwin": "docker run --name $npm_package_config_docker_container $npm_package_config_docker_container_build_args -v ${PWD}/download:/host/download --name $npm_package_config_docker_containe -d -t $npm_package_config_docker_image",
"docker_container_build:linux": "docker run --cap-add=SYS_PTRACE --security-opt seccomp=unconfined -v /tmp/.X11-unix:/tmp/.X11-unix -e DISPLAY $npm_package_config_docker_container_build_args -v ${PWD}/..:/host/qtci -v ${PWD}/download:/host/download --name $npm_package_config_docker_container -d -t $npm_package_config_docker_image",
"docker_container_start": "docker start $npm_package_config_docker_container",
"docker_container_remove": "docker container stop $npm_package_config_docker_container && docker container rm $npm_package_config_docker_container",
"docker_container_run_ansible": "docker exec --user=`id -u` -e COLUMNS=\"`tput cols`\" -e LINES=\"`tput lines`\" -it $npm_package_config_docker_container bash -c 'sudo ansible-playbook /host/qtci/docker/ansible.yml' ",
"use:qt5.9.2": "docker exec --user=`id -u` -e COLUMNS=\"`tput cols`\" -e LINES=\"`tput lines`\" -it $npm_package_config_docker_container bash -c 'sudo ansible-playbook /host/qtci/docker/ansible-qt5.9.2.yml' ",
"use:qt5.10.1": "docker exec --user=`id -u` -it $npm_package_config_docker_container bash -c 'sudo ansible-playbook /host/qtci/docker/ansible-qt5.10.1.yml' ",
"use:qt5.11.2": "docker exec --user=`id -u` -e COLUMNS=\"`tput cols`\" -e LINES=\"`tput lines`\" -it $npm_package_config_docker_container bash -c 'sudo ansible-playbook /host/qtci/docker/ansible-qt5.11.2.yml' ",
"shell": "docker exec --user=`id -u` -e COLUMNS=\"`tput cols`\" -e LINES=\"`tput lines`\" -it $npm_package_config_docker_container bash"
},
"author": "Ben Lau",
"license": "ISC",
"dependencies": {
"run-script-os": "1.0.3"
}
}
================================================
FILE: meta/qt-5.11.2-packages.txt
================================================
[230] QTCI: Welcome Page
[1937] QTCI: Introduction Page
[1937] QTCI: Retrieving meta information from remote repository
[1970] QTCI: Set target installation page: /tmp/Qt
[1973] QTCI: ComponentSelectionPageCallback
[1980] QTCI: Available components: 61
[1980] QTCI: Packages: qt qt.qt5.5112 qt.tools qt.license.thirdparty qt.license.gplv3except qt.license.lgpl qt.installer.changelog qt.license.python qt.qt5.5112.gcc_64 qt.qt5.5112.android_x86 qt.qt5.5112.android_armv7 qt.qt5.5112.src qt.qt5.5112.qtcharts qt.qt5.5112.qtdatavis3d qt.qt5.5112.qtpurchasing qt.qt5.5112.qtvirtualkeyboard qt.qt5.5112.qtwebengine qt.qt5.5112.qtnetworkauth qt.qt5.5112.qtremoteobjects qt.qt5.5112.qtwebglplugin qt.qt5.5112.qtscript qt.qt5.5112.doc qt.qt5.5112.examples qt.qt5.5112.qtcharts.android_x86 qt.qt5.5112.qtcharts.android_armv7 qt.qt5.5112.qtcharts.gcc_64 qt.qt5.5112.qtdatavis3d.gcc_64 qt.qt5.5112.qtdatavis3d.android_x86 qt.qt5.5112.qtdatavis3d.android_armv7 qt.qt5.5112.qtpurchasing.android_armv7 qt.qt5.5112.qtpurchasing.android_x86 qt.qt5.5112.qtpurchasing.gcc_64 qt.qt5.5112.qtvirtualkeyboard.gcc_64 qt.qt5.5112.qtwebengine.gcc_64 qt.qt5.5112.qtnetworkauth.gcc_64 qt.qt5.5112.qtnetworkauth.android_armv7 qt.qt5.5112.qtnetworkauth.android_x86 qt.qt5.5112.qtremoteobjects.gcc_64 qt.qt5.5112.qtremoteobjects.android_x86 qt.qt5.5112.qtremoteobjects.android_armv7 qt.qt5.5112.qtwebglplugin.gcc_64 qt.qt5.5112.qtscript.gcc_64 qt.qt5.5112.qtscript.android_x86 qt.qt5.5112.qtscript.android_armv7 qt.qt5.5112.doc.qtscript qt.qt5.5112.doc.qtnetworkauth qt.qt5.5112.doc.qtwebengine qt.qt5.5112.doc.qtvirtualkeyboard qt.qt5.5112.doc.qtremoteobjects qt.qt5.5112.doc.qtpurchasing qt.qt5.5112.doc.qtdatavis3d qt.qt5.5112.doc.qtcharts qt.qt5.5112.examples.qtdatavis3d qt.qt5.5112.examples.qtvirtualkeyboard qt.qt5.5112.examples.qtremoteobjects qt.qt5.5112.examples.qtpurchasing qt.qt5.5112.examples.qtscript qt.qt5.5112.examples.qtnetworkauth qt.qt5.5112.examples.qtwebengine qt.qt5.5112.examples.qtcharts qt.tools.qtcreator
================================================
FILE: path.env
================================================
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export PATH=$PATH:$DIR/bin:$DIR/recipes
================================================
FILE: recipes/README.md
================================================
Scripts to create pre-defined development environment
================================================
FILE: recipes/install-qt
================================================
#!/bin/bash -e
# Reference:
# https://github.com/musescore/MuseScore/blob/master/build/travis/job_macos/install.sh
QT_VERSION=${1:-5.12.0}
QT_TARGET_CATALOG=${2:-$PWD}
QT_CI_DOWNLOADER=${QT_CI_DOWNLOADER:-"wget -c -N"}
if [ "$(uname)" = "Darwin" ]; then
DOWNLOAD_URL=https://download.qt.io/archive/qt/$(echo ${QT_VERSION} | cut -d "." -f -2)/${QT_VERSION}/qt-opensource-mac-x64-${QT_VERSION}.dmg
COMPILER=clang_64
elif [ "$(uname)" = "Linux" ]; then
DOWNLOAD_URL=https://download.qt.io/archive/qt/$(echo ${QT_VERSION} | cut -d "." -f -2)/${QT_VERSION}/qt-opensource-linux-x64-${QT_VERSION}.run
COMPILER=gcc_64
else
echo "Unsupported system." >&2
exit 1
fi
INSTALLER=$(basename $DOWNLOAD_URL)
ENVFILE=${QT_TARGET_CATALOG}/qt-${QT_VERSION}.env
echo Downloading Qt
${QT_CI_DOWNLOADER} ${DOWNLOAD_URL} || exit 1
echo Installing Qt
if [ "$(uname)" = "Darwin" ]; then
INSTALLER_NAME=${INSTALLER%.*}
APPFILE=/Volumes/${INSTALLER_NAME}/${INSTALLER_NAME}.app/Contents/MacOS/${INSTALLER_NAME}
hdiutil attach ${PWD}/${INSTALLER}
extract-qt-installer $APPFILE ${QT_TARGET_CATALOG}/Qt
hdiutil detach /Volumes/${INSTALLER_NAME}
elif [ "$(uname)" = "Linux" ]; then
extract-qt-installer ${PWD}/${INSTALLER} ${QT_TARGET_CATALOG}/Qt
fi
echo Create ${ENVFILE}
if [ -d "${QT_TARGET_CATALOG}/Qt/${QT_VERSION}/${COMPILER}/bin" ]; then
echo "export PATH=${QT_TARGET_CATALOG}/Qt/${QT_VERSION}/${COMPILER}/bin:$PATH" > ${ENVFILE}
elif [ -d "${QT_TARGET_CATALOG}/Qt/$(echo ${QT_VERSION} | cut -d "." -f -2)/${COMPILER}/bin" ]; then
# some packages use an abbreviated version x.y in the path instead of x.y.z
echo "export PATH=${QT_TARGET_CATALOG}/Qt/$(echo ${QT_VERSION} | cut -d "." -f -2)/${COMPILER}/bin:$PATH" > ${ENVFILE}
fi
================================================
FILE: recipes/install-qt-5.9.2
================================================
#!/bin/sh
echo Downloading Qt
INSTALLER=qt-opensource-linux-x64-5.9.2.run
ENVFILE=qt-5.9.2.env
export QT_CI_PACKAGES="qt.592.gcc_64,qt.592.qtwebengine"
wget -q -c https://download.qt.io/archive/qt/5.9/5.9.2/qt-opensource-linux-x64-5.9.2.run
echo Installing Qt
echo "Selected ${QT_CI_PACKAGES} packages"
extract-qt-installer $PWD/$INSTALLER $PWD/Qt
echo Create $ENVFILE
cat << EOF > $ENVFILE
export PATH=$PWD/Qt/5.9.2/gcc_64/bin:$PATH
EOF
================================================
FILE: recipes/install-qt-5.9.5-android-19
================================================
#!/bin/sh
URL=https://download.qt.io/archive/qt/5.9/5.9.5/qt-opensource-linux-x64-5.9.5.run
FILE=`basename $URL`
NAME=qt-5.9.5-android-19
export QT_CI_PACKAGES=qt.595.android_armv7
echo Downloading Qt
wget -q -c --no-check-certificate -nv $URL
echo Installing Qt
extract-qt-installer --disable-progress-report $FILE $PWD/Qt
install-android-sdk platform-tool,build-tools-22.0.1,android-19
echo Create $NAME.env
cat << EOF > $NAME.env
export QT_ROOT=$PWD/Qt
export QT_HOME=$PWD/Qt/5.9.5
export PATH=$PWD/Qt/5.9.5/android_armv7/bin:$PWD/android-sdk-linux/tools:$PATH
export ANDROID_NDK_ROOT=$PWD/android-ndk-r17c
export ANDROID_SDK_ROOT=$PWD/android-sdk-linux
EOF
================================================
FILE: recipes/install-qt-online
================================================
#!/bin/bash -e
# Install Qt by online installer
function usage() {
echo "Usage:"
echo "install-qt-online \"packages\" output_path"
echo "Example"
echo "install-qt-online 'qt.qt5.5121.gcc_64' /opt/Qt"
exit -1
}
if [ $# -lt 2 ]
then
usage
fi
export QT_CI_PACKAGES=${1}
QT_TARGET_CATALOG=${2:-$PWD}
QT_CI_DOWNLOADER=${QT_CI_DOWNLOADER:-"wget -c -N"}
if [ "$(uname)" = "Darwin" ]; then
DOWNLOAD_URL=https://download.qt.io/archive/online_installers/3.0/qt-unified-mac-x64-3.0.6-online.dmg
COMPILER=clang_64
elif [ "$(uname)" = "Linux" ]; then
DOWNLOAD_URL=https://download.qt.io/archive/online_installers/3.0/qt-unified-linux-x64-3.0.6-online.run
COMPILER=gcc_64
else
echo "Unsupported system." >&2
exit 1
fi
INSTALLER=$(basename $DOWNLOAD_URL)
ENVFILE=${QT_TARGET_CATALOG}/qt-${QT_VERSION}.env
echo Downloading Qt
${QT_CI_DOWNLOADER} ${DOWNLOAD_URL} || exit 1
echo Installing Qt
if [ "$(uname)" = "Darwin" ]; then
INSTALLER_NAME=${INSTALLER%.*}
APPFILE=/Volumes/${INSTALLER_NAME}/${INSTALLER_NAME}.app/Contents/MacOS/${INSTALLER_NAME}
hdiutil attach ${PWD}/${INSTALLER}
extract-qt-installer $APPFILE ${QT_TARGET_CATALOG}/Qt
hdiutil detach /Volumes/${INSTALLER_NAME}
elif [ "$(uname)" = "Linux" ]; then
extract-qt-installer ${PWD}/${INSTALLER} ${QT_TARGET_CATALOG}/Qt
fi
================================================
FILE: recipes/qt-5.5.1
================================================
#!/bin/sh
echo Downloading Qt
INSTALLER=qt-opensource-linux-x64-5.5.1.run
ENVFILE=qt-5.5.1.env
wget -c https://download.qt.io/archive/qt/5.5/5.5.1/qt-opensource-linux-x64-5.5.1.run
echo Installing Qt
extract-qt-installer $PWD/$INSTALLER $PWD/Qt
echo Create $ENVFILE
cat << EOF > $ENVFILE
export PATH=$PWD/Qt/5.5/gcc_64/bin:$PATH
EOF
================================================
FILE: recipes/qt-5.5.1-android-19
================================================
#!/bin/sh
echo Qt 5.5.1 + Android is not supported by QtCi any more
exit -1
echo Downloading Qt
wget -q -c --no-check-certificate -nv https://download.qt.io/archive/qt/5.5/5.5.1/qt-opensource-linux-x64-android-5.5.1.run
echo Installing Qt
extract-qt-installer qt-opensource-linux-x64-android-5.5.1.run $PWD/Qt
install-android-sdk platform-tool,build-tools-22.0.1,android-19
echo Create qt-5.5.1-android-19.env
cat << EOF > qt-5.5.1-android-19.env
export QT_ROOT=$PWD/Qt
export QT_HOME=$PWD/Qt/5.5
export PATH=$PWD/Qt/5.5/android_armv7/bin:$PWD/android-sdk-linux/tools:$PATH
export ANDROID_NDK_ROOT=$PWD/android-ndk-r17c
export ANDROID_SDK_ROOT=$PWD/android-sdk-linux
EOF
================================================
FILE: recipes/qt-5.5.1-android-travis
================================================
#!/bin/sh
echo Downloading Qt
wget -c --no-check-certificate -nv https://download.qt.io/archive/qt/5.5/5.5.1/qt-opensource-linux-x64-android-5.5.1.run
echo Installing Qt
extract-qt-installer qt-opensource-linux-x64-android-5.5.1.run $PWD/Qt
#Travis do not come with NDK
echo Installing NDK
wget -c -nv http://dl.google.com/android/ndk/android-ndk-r10c-linux-x86_64.bin
(7zr x android-ndk-r10c-linux-x86_64.bin | grep -v ^Extract)
echo Create qt-5.5.1-android-travis.env
cat << EOF > qt-5.5.1-android-travis.env
export QT_ROOT=$PWD/Qt
export QT_HOME=$PWD/Qt/5.5
export ANDROID_SDK_ROOT=/usr/local/android-sdk
export ANDROID_NDK_ROOT=$PWD/android-ndk-r10c
export PATH=$PWD/Qt/5.5/android_armv7/bin:$PWD/android-sdk-linux/tools:$PATH
EOF
================================================
FILE: recipes/qt-5.7
================================================
#!/bin/sh
echo Downloading Qt
INSTALLER=qt-opensource-linux-x64-5.7.0.run
ENVFILE=qt-5.7.env
wget -c https://download.qt.io/archive/qt/5.7/5.7.0/qt-opensource-linux-x64-5.7.0.run
echo Installing Qt
extract-qt-installer $PWD/$INSTALLER $PWD/Qt
echo Create $ENVFILE
cat << EOF > $ENVFILE
export PATH=$PWD/Qt/5.7/gcc_64/bin:$PATH
EOF
================================================
FILE: recipes/qt-5.7-osx
================================================
#!/bin/sh
# Reference:
# https://github.com/musescore/MuseScore/blob/master/build/travis/job_macos/install.sh
echo Downloading Qt
set -v
set -e
DOWNLOAD_URL=https://download.qt.io/archive/qt/5.7/5.7.0/qt-opensource-mac-x64-clang-5.7.0.dmg
INSTALLER=`basename $DOWNLOAD_URL`
INSTALLER_NAME=${INSTALLER%.*}
ENVFILE=qt-5.7.0-osx.env
APPFILE=/Volumes/${INSTALLER_NAME}/${INSTALLER_NAME}.app/Contents/MacOS/${INSTALLER_NAME}
echo $INSTALLER_NAME
echo $APPFILE
wget -c $DOWNLOAD_URL
hdiutil mount ${INSTALLER}
ls /Volumes
echo Installing Qt
extract-qt-installer $APPFILE $PWD/Qt
echo Create $ENVFILE
cat << EOF > $ENVFILE
export PATH=$PWD/Qt/5.7/clang_64/bin:$PATH
EOF
================================================
FILE: recipes/qt-5.8.0
================================================
#!/bin/sh
echo Downloading Qt
INSTALLER=qt-opensource-linux-x64-5.8.0.run
ENVFILE=qt-5.8.0.env
wget -q -c https://download.qt.io/archive/qt/5.8/5.8.0/qt-opensource-linux-x64-5.8.0.run
echo Installing Qt
extract-qt-installer $PWD/$INSTALLER $PWD/Qt
echo Create $ENVFILE
cat << EOF > $ENVFILE
export PATH=$PWD/Qt/5.8/gcc_64/bin:$PATH
EOF
================================================
FILE: recipes/qt-5.9.5-osx
================================================
#!/bin/sh
# Reference:
# https://github.com/musescore/MuseScore/blob/master/build/travis/job_macos/install.sh
echo Downloading Qt
set -v
set -e
DOWNLOAD_URL=https://download.qt.io/archive/qt/5.9/5.9.5/qt-opensource-mac-x64-5.9.5.dmg
INSTALLER=`basename $DOWNLOAD_URL`
INSTALLER_NAME=${INSTALLER%.*}
ENVFILE=qt-5.9.5-osx.env
APPFILE=/Volumes/${INSTALLER_NAME}/${INSTALLER_NAME}.app/Contents/MacOS/${INSTALLER_NAME}
echo $INSTALLER_NAME
echo $APPFILE
wget -nv -c $DOWNLOAD_URL
hdiutil attach ${INSTALLER}
ls /Volumes
echo Installing Qt
extract-qt-installer $APPFILE $PWD/Qt
hdiutil detach /Volumes/${INSTALLER_NAME}
echo Create $ENVFILE
cat << EOF > $ENVFILE
export PATH=$PWD/Qt/5.9.5/clang_64/bin:$PATH
EOF
gitextract_5jezbe1c/
├── .gitignore
├── .travis.yml
├── LICENSE
├── README.md
├── bin/
│ ├── build-android-gradle-project
│ ├── extract-ifw
│ ├── extract-qt-installer
│ ├── increase-android-version-code
│ ├── increase-ios-build-number
│ ├── increase-macos-build-number
│ ├── install-android-sdk
│ ├── run-unittests
│ ├── set-file-suffix
│ └── upgrade-qpm-packages
├── docker/
│ ├── Dockerfile
│ ├── README.md
│ ├── ansible-qt5.10.1.yml
│ ├── ansible-qt5.11.2.yml
│ ├── ansible-qt5.9.2.yml
│ ├── ansible.yml
│ ├── download/
│ │ └── README.md
│ └── package.json
├── meta/
│ └── qt-5.11.2-packages.txt
├── path.env
└── recipes/
├── README.md
├── install-qt
├── install-qt-5.9.2
├── install-qt-5.9.5-android-19
├── install-qt-online
├── qt-5.5.1
├── qt-5.5.1-android-19
├── qt-5.5.1-android-travis
├── qt-5.7
├── qt-5.7-osx
├── qt-5.8.0
└── qt-5.9.5-osx
Condensed preview — 36 files, each showing path, character count, and a content snippet. Download the .json file or copy for the full structured content (60K chars).
[
{
"path": ".gitignore",
"chars": 80,
"preview": "node_modules/\ndocker/download/*.run\n*.retry\nnpm-debug.log\nyarn.lock\n*.run\n*.dmg\n"
},
{
"path": ".travis.yml",
"chars": 5786,
"preview": "language : cpp\ncompiler: gcc\nos: linux\ndist: trusty\n\nmatrix:\n include:\n - before_install:\n - cat /etc/apt/sourc"
},
{
"path": "LICENSE",
"chars": 11357,
"preview": " Apache License\n Version 2.0, January 2004\n "
},
{
"path": "README.md",
"chars": 5199,
"preview": "# QT-CI\nThis project collects a set of script for building Qt application for Android/iOS in command line environment.\n\n"
},
{
"path": "bin/build-android-gradle-project",
"chars": 1463,
"preview": "#!/bin/bash\n# QT-CI Project\n# License: Apache-2.0\n# https://github.com/benlau/qtci\n\nset -e\n\nif [ $# -lt 1 ]\nthen\n ech"
},
{
"path": "bin/extract-ifw",
"chars": 1169,
"preview": "#!/bin/bash\n# QT-CI Project\n# License: Apache-2.0\n# https://github.com/benlau/qtci\n\nset -e #quit on error\n\nif [ $# -lt 2"
},
{
"path": "bin/extract-qt-installer",
"chars": 9013,
"preview": "#!/bin/bash\n# QT-CI Project\n# License: Apache-2.0\n# https://github.com/benlau/qtci\n\nfunction usage() {\n echo \"Usage:\""
},
{
"path": "bin/increase-android-version-code",
"chars": 654,
"preview": "#!/usr/bin/python\n# QT-CI Project\n# License: Apache-2.0\n# https://github.com/benlau/qtci\n# Based on the solution from ht"
},
{
"path": "bin/increase-ios-build-number",
"chars": 338,
"preview": "#!/bin/bash\n# QT-CI Project\n# License: Apache-2.0\n# https://github.com/benlau/qtci\n\nset -e\n\nINFOPLIST_FILE=`xcodebuild -"
},
{
"path": "bin/increase-macos-build-number",
"chars": 364,
"preview": "#!/bin/bash\n# QT-CI Project\n# License: Apache-2.0\n# https://github.com/benlau/qtci\n\nset -e\n\nif [ $# -lt 1 ];\nthen\n ec"
},
{
"path": "bin/install-android-sdk",
"chars": 1231,
"preview": "#!/bin/bash\n# QT-CI Project\n# License: Apache-2.0\n# https://github.com/benlau/qtci\n\n# Install Android SDK to current fol"
},
{
"path": "bin/run-unittests",
"chars": 810,
"preview": "#!/bin/bash\n# Build and run an unit test project\n\n# QT-CI Project\n# License: Apache-2.0\n# https://github.com/benlau/qtci"
},
{
"path": "bin/set-file-suffix",
"chars": 191,
"preview": "#!/bin/sh\n\nif [ \"$#\" -ne 2 ]\nthen\n echo set-file-suffix file suffix\n exit -1\nfi\n\nNAME=`echo \"$1\" | cut -d'.' -f1`\n"
},
{
"path": "bin/upgrade-qpm-packages",
"chars": 427,
"preview": "#!/usr/bin/python\n\nimport json\nimport sys\nimport os\nfrom subprocess import call\n\ntry:\n f = open(\"qpm.json\", \"r\")\n\n txt"
},
{
"path": "docker/Dockerfile",
"chars": 581,
"preview": "FROM ubuntu:18.04\nVOLUME [\"/host/qtci\", \"/host/download\"]\n\n# USERID should be same as the current user.\nARG USERID\nARG U"
},
{
"path": "docker/README.md",
"chars": 677,
"preview": "QTCI Docker Images\n===============\n\nIt is a docker container to build and develop Qt application\n\nSetup\n\n```\nnpm install"
},
{
"path": "docker/ansible-qt5.10.1.yml",
"chars": 1027,
"preview": "---\n- import_playbook: ansible.yml\n- hosts: localhost\n vars:\n qtver: 5.10.1\n url: https://download.qt.io/archive/"
},
{
"path": "docker/ansible-qt5.11.2.yml",
"chars": 1247,
"preview": "---\n- import_playbook: ansible.yml\n- hosts: localhost\n vars:\n qtver: 5.11.2\n url: https://download.qt.io/archive/"
},
{
"path": "docker/ansible-qt5.9.2.yml",
"chars": 1029,
"preview": "---\n- import_playbook: ansible.yml\n- hosts: localhost\n vars:\n qtver: 5.9.2\n url: https://download.qt.io/archive/q"
},
{
"path": "docker/ansible.yml",
"chars": 994,
"preview": "---\n- hosts: localhost\n vars:\n user: ci\n tasks:\n - name: Install Ubuntu Packages\n become: yes\n become_"
},
{
"path": "docker/download/README.md",
"chars": 0,
"preview": ""
},
{
"path": "docker/package.json",
"chars": 2423,
"preview": "{\n \"name\": \"qtci\",\n \"version\": \"0.0.1\",\n \"description\": \"QTCI Docker Environment\",\n \"main\": \"index.js\",\n \"config\": "
},
{
"path": "meta/qt-5.11.2-packages.txt",
"chars": 2013,
"preview": "\n[230] QTCI: Welcome Page\n[1937] QTCI: Introduction Page\n[1937] QTCI: Retrieving meta information from remote reposit"
},
{
"path": "path.env",
"chars": 98,
"preview": "\nDIR=\"$( cd \"$( dirname \"${BASH_SOURCE[0]}\" )\" && pwd )\"\nexport PATH=$PATH:$DIR/bin:$DIR/recipes\n\n"
},
{
"path": "recipes/README.md",
"chars": 54,
"preview": "Scripts to create pre-defined development environment\n"
},
{
"path": "recipes/install-qt",
"chars": 1742,
"preview": "#!/bin/bash -e\n# Reference:\n# https://github.com/musescore/MuseScore/blob/master/build/travis/job_macos/install.sh\n\nQT"
},
{
"path": "recipes/install-qt-5.9.2",
"chars": 442,
"preview": "#!/bin/sh\n\necho Downloading Qt\nINSTALLER=qt-opensource-linux-x64-5.9.2.run\nENVFILE=qt-5.9.2.env\nexport QT_CI_PACKAGES=\"q"
},
{
"path": "recipes/install-qt-5.9.5-android-19",
"chars": 664,
"preview": "#!/bin/sh\n\nURL=https://download.qt.io/archive/qt/5.9/5.9.5/qt-opensource-linux-x64-5.9.5.run\nFILE=`basename $URL`\nNAME=q"
},
{
"path": "recipes/install-qt-online",
"chars": 1320,
"preview": "#!/bin/bash -e\n# Install Qt by online installer\n\nfunction usage() {\n echo \"Usage:\"\n echo \"install-qt-online \\\"pack"
},
{
"path": "recipes/qt-5.5.1",
"chars": 335,
"preview": "#!/bin/sh\n\necho Downloading Qt\nINSTALLER=qt-opensource-linux-x64-5.5.1.run\nENVFILE=qt-5.5.1.env\nwget -c https://download"
},
{
"path": "recipes/qt-5.5.1-android-19",
"chars": 673,
"preview": "#!/bin/sh\n\necho Qt 5.5.1 + Android is not supported by QtCi any more\nexit -1\necho Downloading Qt\nwget -q -c --no-check-c"
},
{
"path": "recipes/qt-5.5.1-android-travis",
"chars": 739,
"preview": "#!/bin/sh\n\necho Downloading Qt\nwget -c --no-check-certificate -nv https://download.qt.io/archive/qt/5.5/5.5.1/qt-opensou"
},
{
"path": "recipes/qt-5.7",
"chars": 333,
"preview": "#!/bin/sh\n\necho Downloading Qt\nINSTALLER=qt-opensource-linux-x64-5.7.0.run\nENVFILE=qt-5.7.env\nwget -c https://download.q"
},
{
"path": "recipes/qt-5.7-osx",
"chars": 669,
"preview": "#!/bin/sh\n# Reference:\n# https://github.com/musescore/MuseScore/blob/master/build/travis/job_macos/install.sh\n\necho Do"
},
{
"path": "recipes/qt-5.8.0",
"chars": 338,
"preview": "#!/bin/sh\n\necho Downloading Qt\nINSTALLER=qt-opensource-linux-x64-5.8.0.run\nENVFILE=qt-5.8.0.env\nwget -q -c https://downl"
},
{
"path": "recipes/qt-5.9.5-osx",
"chars": 712,
"preview": "#!/bin/sh\n# Reference:\n# https://github.com/musescore/MuseScore/blob/master/build/travis/job_macos/install.sh\n\necho Do"
}
]
About this extraction
This page contains the full source code of the benlau/qtci GitHub repository, extracted and formatted as plain text for AI agents and large language models (LLMs). The extraction includes 36 files (54.9 KB), approximately 16.6k tokens. Use this with OpenClaw, Claude, ChatGPT, Cursor, Windsurf, or any other AI tool that accepts text input. You can copy the full output to your clipboard or download it as a .txt file.
Extracted by GitExtract — free GitHub repo to text converter for AI. Built by Nikandr Surkov.