Skip to content

Latest commit

 

History

History
50 lines (39 loc) · 2 KB

deployment.md

File metadata and controls

50 lines (39 loc) · 2 KB

Windows: Deployment: ~:\Qt\6.*.*\msvc2022_64\bin\windeployqt6.exe Taif.exe Packaging: ~:\Qt\Tools\QtInstallerFramework\4.*\bin\binarycreator.exe --hybrid -c config/config.xml -p packages TaifInstaller-Win-X64

Linux: Important:"use linux ubuntu version 22 only"

sudo apt install libxcb-cursor0 libxcb-cusor-dev

sudo apt install build-essential // for build on QtCreator sudo apt install qt6-base-dev // for build on QtCreator sudo apt install cmake // for build on QtCreator

add path to env path: path form: export PATH=/path/to/qt/bin:$PATH

nano ~/.bashrc write the path at the end of file then save and close source ~/.bashrc

Deployment:
	sudo apt install libfuse2
	download linuxdeployqt-continuous-x86_64.AppImage from https://github.com/probonopd/linuxdeployqt
	chmod a+x linuxdeployqt-continuous-x86_64.AppImage
	./linuxdeployqt-continuous-x86_64.AppImage AppNameHere -always-overwrite

	note: if qmake not exist add it to paths or use: -qmake=/home/name/Qt/6.*.*/gcc_64/bin/qmake
	note: for ubuntu version above 22 use this options => -unsupported-bundle-everything -unsupported-allow-new-glibc

Packaging:
	~/Qt/Tools/QtInstallerFramework/4.'*'/bin/binarycreator --hybrid -c config/config.xml -p packages TaifInstaller-Linux-X64

MacOS: Deployment: ~/Qt/6.*.*/macos/bin/macdeployqt6 Taif.app Packaging: ~/Qt/Tools/QtInstallerFramework/4.'*'/bin/binarycreator --hybrid -c config/config.xml -p packages TaifInstaller-MacOS-X64

Common: لتحميل مكتبة Qt6 URL for HTTP download mirrors "https://download.qt.io/static/mirrorlist/" on cmd pass "NameOfQtOnlineInstaller.exe --mirror https://mirrors.ocf.berkeley.edu/qt/"

Repository generate for updates: note: after changing the version number do the next windows: ~:\Qt\Tools\QtInstallerFramework\4.*\bin\repogen.exe -p packages NAME_OF_REPO_HERE linux: ~/Qt/Tools/QtInstallerFramework/4.*/bin/repogen -p packages "TaifUpdateFiles" macos: ~/Qt/Tools/QtInstallerFramework/4.*/bin/repogen -p packages "TaifUpdateFiles"