mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-12 09:48:37 +12:00
travis: minor qt cleanup and improvements
This commit is contained in:
parent
06a6cfb9f7
commit
ae0f27a18e
2 changed files with 2 additions and 64 deletions
|
@ -25,7 +25,7 @@ git:
|
||||||
submodules: false
|
submodules: false
|
||||||
|
|
||||||
env:
|
env:
|
||||||
- QTVER=5.10.1
|
- QTVER=5.10.1
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" = "g++" ]; then
|
- if [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$CXX" = "g++" ]; then
|
||||||
|
@ -56,7 +56,6 @@ install:
|
||||||
before_script:
|
before_script:
|
||||||
- git submodule update --init asmjit 3rdparty/ffmpeg 3rdparty/pugixml 3rdparty/GSL 3rdparty/libpng Utilities/yaml-cpp 3rdparty/cereal 3rdparty/hidapi 3rdparty/Optional 3rdparty/xxHash Vulkan/glslang
|
- git submodule update --init asmjit 3rdparty/ffmpeg 3rdparty/pugixml 3rdparty/GSL 3rdparty/libpng Utilities/yaml-cpp 3rdparty/cereal 3rdparty/hidapi 3rdparty/Optional 3rdparty/xxHash Vulkan/glslang
|
||||||
- mkdir build ; cd build
|
- mkdir build ; cd build
|
||||||
- export CMAKE_PREFIX_PATH=~/Qt/${QTVER}/gcc_64/lib/cmake
|
|
||||||
- if [ "$TRAVIS_PULL_REQUEST" = false ]; then
|
- if [ "$TRAVIS_PULL_REQUEST" = false ]; then
|
||||||
export CXXFLAGS="$CXXFLAGS -DBRANCH=$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH";
|
export CXXFLAGS="$CXXFLAGS -DBRANCH=$TRAVIS_REPO_SLUG/$TRAVIS_BRANCH";
|
||||||
else
|
else
|
||||||
|
@ -71,14 +70,13 @@ after_script:
|
||||||
- cd build
|
- cd build
|
||||||
- # AppImage generation
|
- # AppImage generation
|
||||||
- if [ -n "$UPLOAD_URL" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$CC" = "clang" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
|
- if [ -n "$UPLOAD_URL" ] && [ "$TRAVIS_OS_NAME" = "linux" ] && [ "$TRAVIS_BRANCH" = "master" ] && [ "$CC" = "clang" ] && [ "$TRAVIS_PULL_REQUEST" = false ]; then
|
||||||
source /opt/qt510/bin/qt510-env.sh ;
|
source /opt/qt*/bin/qt*-env.sh ;
|
||||||
echo $LD_LIBRARY_PATH ;
|
echo $LD_LIBRARY_PATH ;
|
||||||
export LD_LIBRARY_PATH=/opt/qt510/lib ;
|
export LD_LIBRARY_PATH=/opt/qt510/lib ;
|
||||||
DESTDIR=appdir ninja install ; find appdir/ ;
|
DESTDIR=appdir ninja install ; find appdir/ ;
|
||||||
find ../bin ;
|
find ../bin ;
|
||||||
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" ;
|
wget -c "https://github.com/probonopd/linuxdeployqt/releases/download/continuous/linuxdeployqt-continuous-x86_64.AppImage" ;
|
||||||
chmod a+x linuxdeployqt*.AppImage ;
|
chmod a+x linuxdeployqt*.AppImage ;
|
||||||
export PATH=~/Qt/$QTVER/gcc_64/bin/:${PATH} ;
|
|
||||||
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs ;
|
./linuxdeployqt*.AppImage ./appdir/usr/share/applications/*.desktop -bundle-non-qt-libs ;
|
||||||
rm ./appdir/usr/lib/libfreetype.so.6 ;
|
rm ./appdir/usr/lib/libfreetype.so.6 ;
|
||||||
rm ./appdir/usr/lib/libglapi.so.0 ;
|
rm ./appdir/usr/lib/libglapi.so.0 ;
|
||||||
|
|
|
@ -1,60 +0,0 @@
|
||||||
// http://stackoverflow.com/a/34032216/78204
|
|
||||||
|
|
||||||
function Controller() {
|
|
||||||
installer.autoRejectMessageBoxes();
|
|
||||||
installer.setMessageBoxAutomaticAnswer("OverwriteTargetDirectory", QMessageBox.Yes);
|
|
||||||
installer.installationFinished.connect(function() {
|
|
||||||
gui.clickButton(buttons.NextButton);
|
|
||||||
})
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller.prototype.WelcomePageCallback = function() {
|
|
||||||
// Wait 10 seconds to load licenses and such.
|
|
||||||
gui.clickButton(buttons.NextButton, 10000);
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller.prototype.CredentialsPageCallback = function() {
|
|
||||||
gui.clickButton(buttons.NextButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller.prototype.IntroductionPageCallback = function() {
|
|
||||||
gui.clickButton(buttons.NextButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller.prototype.TargetDirectoryPageCallback = function()
|
|
||||||
{
|
|
||||||
gui.currentPageWidget().TargetDirectoryLineEdit.setText(installer.value("HomeDir") + "/Qt");
|
|
||||||
//gui.currentPageWidget().TargetDirectoryLineEdit.setText(installer.value("InstallerDirPath") + "/Qt");
|
|
||||||
//gui.currentPageWidget().TargetDirectoryLineEdit.setText("/scratch/Qt");
|
|
||||||
gui.clickButton(buttons.NextButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller.prototype.ComponentSelectionPageCallback = function() {
|
|
||||||
var widget = gui.currentPageWidget();
|
|
||||||
|
|
||||||
widget.deselectAll();
|
|
||||||
widget.selectComponent("qt.qt5." + installer.environmentVariable("QTVER") + ".gcc_64");
|
|
||||||
gui.clickButton(buttons.NextButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller.prototype.LicenseAgreementPageCallback = function() {
|
|
||||||
gui.currentPageWidget().AcceptLicenseRadioButton.setChecked(true);
|
|
||||||
gui.clickButton(buttons.NextButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller.prototype.StartMenuDirectoryPageCallback = function() {
|
|
||||||
gui.clickButton(buttons.NextButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller.prototype.ReadyForInstallationPageCallback = function()
|
|
||||||
{
|
|
||||||
gui.clickButton(buttons.NextButton);
|
|
||||||
}
|
|
||||||
|
|
||||||
Controller.prototype.FinishedPageCallback = function() {
|
|
||||||
var checkBoxForm = gui.currentPageWidget().LaunchQtCreatorCheckBoxForm
|
|
||||||
if (checkBoxForm && checkBoxForm.launchQtCreatorCheckBox) {
|
|
||||||
checkBoxForm.launchQtCreatorCheckBox.checked = false;
|
|
||||||
}
|
|
||||||
gui.clickButton(buttons.FinishButton);
|
|
||||||
}
|
|
Loading…
Add table
Add a link
Reference in a new issue