scripts/Windows/install_qt_fast_linux.ps1
Write-Host "Installing Qt 5.x ..." -ForegroundColor Cyan . "$PSScriptRoot/install_qt_module.ps1" $installDir = "$env:HOME/Qt" $component_groups = @( @{ version = "6.4.2" components = @( "gcc_64", "debug_info", "debug_info.gcc_64", "addons.qt3d", "addons.qt3d.gcc_64", "addons.qtcharts", "addons.qtcharts.gcc_64", "addons.qtconnectivity", "addons.qtconnectivity.gcc_64", "addons.qtdatavis3d", "addons.qtdatavis3d.gcc_64", "addons.qthttpserver", "addons.qthttpserver.gcc_64", "addons.qtimageformats", "addons.qtimageformats.gcc_64", "addons.qtlanguageserver", "addons.qtlanguageserver.gcc_64", "addons.qtlottie", "addons.qtlottie.gcc_64", "addons.qtmultimedia", "addons.qtmultimedia.gcc_64", "addons.qtnetworkauth", "addons.qtnetworkauth.gcc_64", "addons.qtpdf", "addons.qtpdf.gcc_64", "addons.qtpositioning", "addons.qtpositioning.gcc_64", "addons.qtquick3dphysics", "addons.qtquick3dphysics.gcc_64", "addons.qtremoteobjects", "addons.qtremoteobjects.gcc_64", "addons.qtscxml", "addons.qtscxml.gcc_64", "addons.qtsensors", "addons.qtsensors.gcc_64", "addons.qtserialbus", "addons.qtserialbus.gcc_64", "addons.qtserialport", "addons.qtserialport.gcc_64", "addons.qtspeech", "addons.qtspeech.gcc_64", "addons.qtvirtualkeyboard", "addons.qtvirtualkeyboard.gcc_64", "addons.qtwebchannel", "addons.qtwebchannel.gcc_64", "addons.qtwebengine", "addons.qtwebengine.gcc_64", "addons.qtwebsockets", "addons.qtwebsockets.gcc_64", "addons.qtwebview", "addons.qtwebview.gcc_64", "qt5compat", "qt5compat.gcc_64", "qtquick3d", "qtquick3d.gcc_64", "qtquicktimeline", "qtquicktimeline.gcc_64", "qtshadertools", "qtshadertools.gcc_64", "qtwaylandcompositor", "qtwaylandcompositor.gcc_64" ) } ) if (-not $env:INSTALL_LATEST_ONLY) { $component_groups += @( @{ version = "6.3.2" components = @( "gcc_64", "debug_info", "debug_info.gcc_64", "addons.qt3d", "addons.qt3d.gcc_64", "addons.qtcharts", "addons.qtcharts.gcc_64", "addons.qtdatavis3d", "addons.qtdatavis3d.gcc_64", "addons.qtimageformats", "addons.qtimageformats.gcc_64", "addons.qtlottie", "addons.qtlottie.gcc_64", "addons.qtnetworkauth", "addons.qtnetworkauth.gcc_64", "addons.qtscxml", "addons.qtscxml.gcc_64", "addons.qtvirtualkeyboard", "addons.qtvirtualkeyboard.gcc_64", "qt5compat", "qt5compat.gcc_64", "qtquick3d", "qtquick3d.gcc_64", "qtquicktimeline", "qtquicktimeline.gcc_64", "qtshadertools", "qtshadertools.gcc_64", "qtwaylandcompositor", "qtwaylandcompositor.gcc_64" ) } @{ version = "6.2.4" components = @( "gcc_64", "debug_info", "debug_info.gcc_64", "addons.qt3d", "addons.qt3d.gcc_64", "addons.qtcharts", "addons.qtcharts.gcc_64", "addons.qtdatavis3d", "addons.qtdatavis3d.gcc_64", "addons.qtimageformats", "addons.qtimageformats.gcc_64", "addons.qtlottie", "addons.qtlottie.gcc_64", "addons.qtnetworkauth", "addons.qtnetworkauth.gcc_64", "addons.qtscxml", "addons.qtscxml.gcc_64", "addons.qtvirtualkeyboard", "addons.qtvirtualkeyboard.gcc_64", "qt5compat", "qt5compat.gcc_64", "qtquick3d", "qtquick3d.gcc_64", "qtquicktimeline", "qtquicktimeline.gcc_64", "qtshadertools", "qtshadertools.gcc_64", "qtwaylandcompositor", "qtwaylandcompositor.gcc_64" ) } @{ version = "5.15.2" components = @( "gcc_64", "debug_info", "debug_info.gcc_64", "qtcharts", "qtcharts.gcc_64", "qtdatavis3d", "qtdatavis3d.gcc_64", "qtlottie", "qtlottie.gcc_64" "qtnetworkauth", "qtnetworkauth.gcc_64", "qtpurchasing", "qtpurchasing.gcc_64", "qtquick3d", "qtquick3d.gcc_64", "qtquicktimeline", "qtquicktimeline.gcc_64", "qtscript", "qtscript.gcc_64", "qtvirtualkeyboard", "qtvirtualkeyboard.gcc_64", "qtwaylandcompositor", "qtwaylandcompositor.gcc_64", "qtwebengine", "qtwebengine.gcc_64", "qtwebglplugin", "qtwebglplugin.gcc_64" ) } ) } $component_groups += @( @{ components = @( "qt.tools.ifw.45", "qt.license.thirdparty" ) } ) # install components foreach ($componentGroup in $component_groups) { if ($componentGroup.version) { foreach ($component in $componentGroup.components) { Install-QtComponent -Version $componentGroup.version -Name $component -Path $installDir } ConfigureQtVersion $installDir $componentGroup.version } else { foreach ($component in $componentGroup.components) { Install-QtComponent -Id $component -Path $installDir } } } # set aliases ln -s "$HOME/Qt/5.15.2" "$HOME/Qt/latest" ln -s "$HOME/Qt/6.4.2" "$HOME/Qt/6.4" ln -s "$HOME/Qt/6.3.2" "$HOME/Qt/6.3" ln -s "$HOME/Qt/6.2.4" "$HOME/Qt/6.2" ln -s "$HOME/Qt/5.15.2" "$HOME/Qt/5.15" Write-Host "Qt 5.x installed" -ForegroundColor Green |