Qt6 Offline Installer May 2026
The offline installer supports a scripted mode:
# Linux / macOS ./qt-opensource-linux-x64-6.5.3.run --script qt-install-script.qs --platform minimal --verbose
qt-unified-windows-x64-6.5.3.exe --script qt-install-script.qs --platform minimalQt6 Offline Installer
Example qt-install-script.qs:
function Controller()
installer.autoRejectMessageBoxes();
installer.installationFinished.connect(function()
gui.clickButton(buttons.NextButton);
);
Controller.prototype.WelcomePageCallback = function()
gui.clickButton(buttons.NextButton);
;
Controller.prototype.ComponentSelectionPageCallback = function()
// Select desired components by widget name
var widget = gui.currentPageWidget();
widget.deselectAll();
widget.selectComponent("qt.qt6.650.gcc_64");
widget.selectComponent("qt.qt6.650.qtcharts");
gui.clickButton(buttons.NextButton);
;
Click Install. The process may take several minutes as it unpacks files to your hard drive. The offline installer supports a scripted mode: #