mirror of
https://github.com/bluszcz/cutego.git
synced 2024-09-28 13:15:17 +03:00
Page:
Deploying Linux to Windows 32 bit Shared
Pages
Available Tools
Bundling Assets
Common Issues
Deploying Application
Deploying Linux to Android
Deploying Linux to JavaScript
Deploying Linux to Linux
Deploying Linux to Raspberry Pi
Deploying Linux to SailfishOS
Deploying Linux to Ubuntu Touch
Deploying Linux to WebAssembly
Deploying Linux to Windows 32 bit Shared
Deploying Linux to Windows 32 bit Static
Deploying Linux to Windows 64 bit Shared
Deploying Linux to Windows 64 bit Static
Deploying Linux to iOS
Deploying Linux to macOS
Deploying Windows to Android
Deploying Windows to JavaScript
Deploying Windows to Linux
Deploying Windows to Raspberry Pi
Deploying Windows to SailfishOS
Deploying Windows to Ubuntu Touch
Deploying Windows to WebAssembly
Deploying Windows to Windows 32 bit Shared
Deploying Windows to Windows 32 bit Static
Deploying Windows to Windows 64 bit Shared
Deploying Windows to Windows 64 bit Static
Deploying macOS to Android
Deploying macOS to JavaScript
Deploying macOS to Linux
Deploying macOS to Raspberry Pi
Deploying macOS to SailfishOS
Deploying macOS to Ubuntu Touch
Deploying macOS to WebAssembly
Deploying macOS to Windows 32 bit Shared
Deploying macOS to Windows 32 bit Static
Deploying macOS to Windows 64 bit Shared
Deploying macOS to Windows 64 bit Static
Deploying macOS to iOS
Deploying macOS to macOS
FAQ
Faster builds (Linux)
Gallery
Getting Started
Home
Installation on Linux
Installation on Windows
Installation on macOS
Installation
Installing QtWebKit Module
Setting the Application Icon
No results
1
Deploying Linux to Windows 32 bit Shared
Rafał Zawadzki edited this page 2023-01-23 14:48:34 +01:00
Docker deployment
-
optional: Install Wine if you want to test your Windows application on Linux
-
Install Docker: https://store.docker.com/search?offering=community&type=edition or using a package manager
-
If necessary run docker as root
-
Pull the target image
docker pull therecipe/qt:windows_32_shared
- Deploy your application
qtdeploy -docker build windows_32_shared
You should find your deployed application inside the deploy
subfolder.
MXE deployment under Debian/Ubuntu (pre-built)
- Install Wine if you want to test your Windows application on Linux
sudo apt-get -y install wine
- Add MXE to your local repository
echo "deb http://pkg.mxe.cc/repos/apt trusty main" | sudo tee --append /etc/apt/sources.list.d/mxeapt.list > /dev/null
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 86B72ED9
sudo apt-get update
- Install MXE's version of Qt
sudo apt-get --no-install-recommends -qq -y install mxe-i686-w64-mingw32.shared-qt3d mxe-i686-w64-mingw32.shared-qtactiveqt mxe-i686-w64-mingw32.shared-qtbase mxe-i686-w64-mingw32.shared-qtcanvas3d mxe-i686-w64-mingw32.shared-qtcharts mxe-i686-w64-mingw32.shared-qtconnectivity mxe-i686-w64-mingw32.shared-qtdatavis3d mxe-i686-w64-mingw32.shared-qtdeclarative mxe-i686-w64-mingw32.shared-qtgamepad mxe-i686-w64-mingw32.shared-qtgraphicaleffects mxe-i686-w64-mingw32.shared-qtimageformats mxe-i686-w64-mingw32.shared-qtlocation mxe-i686-w64-mingw32.shared-qtmultimedia mxe-i686-w64-mingw32.shared-qtofficeopenxml mxe-i686-w64-mingw32.shared-qtpurchasing mxe-i686-w64-mingw32.shared-qtquickcontrols mxe-i686-w64-mingw32.shared-qtquickcontrols2 mxe-i686-w64-mingw32.shared-qtscript mxe-i686-w64-mingw32.shared-qtscxml mxe-i686-w64-mingw32.shared-qtsensors mxe-i686-w64-mingw32.shared-qtserialbus mxe-i686-w64-mingw32.shared-qtserialport mxe-i686-w64-mingw32.shared-qtservice mxe-i686-w64-mingw32.shared-qtsvg mxe-i686-w64-mingw32.shared-qtsystems mxe-i686-w64-mingw32.shared-qttools mxe-i686-w64-mingw32.shared-qttranslations mxe-i686-w64-mingw32.shared-qtvirtualkeyboard mxe-i686-w64-mingw32.shared-qtwebchannel mxe-i686-w64-mingw32.shared-qtwebkit mxe-i686-w64-mingw32.shared-qtwebsockets mxe-i686-w64-mingw32.shared-qtwinextras mxe-i686-w64-mingw32.shared-qtxlsxwriter mxe-i686-w64-mingw32.shared-qtxmlpatterns
- Export the environment variable
QT_API=5.8.0
- Export the environment variable
QT_MXE=true
andQT_MXE_ARCH=386
- If you haven't already, run the setup for windows
qtsetup full windows
- Deploy your app
qtdeploy build windows
You should find your deployed application inside the deploy
subfolder.
MXE deployment under Debian/Ubuntu (self-compiled)
TODO