小编Jes*_*ter的帖子

使用脚本选项安装qt5.11标题

我的目标是在运行jenkins2的无头ubuntu服务器18.04.1上安装Qt 5.11.1。

我目前正在运行ubuntu桌面18.04的虚拟盒上测试当前脚本。请注意,如果手动使用gui安装程序进行安装,则我可以轻松安装或运行qt

当尝试使用安装程序gui free方法安装qt时,使用终端运行时出现以下问题。

./qt-opensource-linux-x64-5.11.1.run --script qt-installer-noninteractive.qs --platform minimal --verbose
or
./qt-unified-linux-x64-3.0.5-online.run --script qt-installer-noninteractive.qs --platform minimal --verbose

...
...
[9732] Warning: Other components depend on component qt.tools which has child components. This will not work properly.
[9745] Warning: Component qt.qt5.5111 depends on other components while having child components. This will not work properly.
Run Code Online (Sandbox Code Playgroud)

完成该过程后,将创建一个包含qtcreator的Qt文件夹,但不包括qt库。

qt-installer-noninteractive.qs

function Controller() {
    installer.autoRejectMessageBoxes();
    installer.installationFinished.connect(function() {
        gui.clickButton(buttons.NextButton,3000);
    })
}

Controller.prototype.WelcomePageCallback = function() {
    gui.clickButton(buttons.NextButton,3000);
}

Controller.prototype.CredentialsPageCallback = function() {
    gui.clickButton(buttons.NextButton,3000);
}

Controller.prototype.IntroductionPageCallback = function() …
Run Code Online (Sandbox Code Playgroud)

javascript installer qt

6
推荐指数
1
解决办法
1049
查看次数

标签 统计

installer ×1

javascript ×1

qt ×1