I built QT6.4 for iOS and added it to QT creator:

I built QT6.4. for MacOS first and then configured QT6.4 release build for iOS as follows:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
cd ~/build/qt
export MY_QT_SRC_DIR=~/repos/qt-everywhere-src-6.4.0
export MY_HOST_PATH=~/libs/QT6.4/MacOs
export MY_INSTALL_PATH=~/libs/QT6.4/iOs
export MY_MODE=release
${MY_QT_SRC_DIR}/configure -prefix $MY_INSTALL_PATH -qt-host-path $MY_HOST_PATH \
-platform macx-ios-clang -c++std c++20 -opensource -confirm-license \
-static -static-runtime -$MY_MODE -force-debug-info \
-no-openssl -securetransport -DQT_NO_EXCEPTIONS=1 \
-skip qt3d -skip qt5compat -skip qtactiveqt -skip qtcharts -skip qtcoap -skip qtconnectivity \
-skip qtdatavis3d -skip qtdoc -skip qtlottie -skip qtmqtt -skip qtnetworkauth -skip qtopcua \
-skip qtserialport -skip qtpositioning -skip qtquicktimeline -skip qtquick3d -skip qtremoteobjects \
-skip qtscxml -skip qtsensors -skip qtserialbus -skip qtvirtualkeyboard -skip qtwayland \
-skip qtwebchannel -skip qtwebengine -skip qtwebview -skip qtquick3dphysics -skip qtspeech -skip qtlocation \
-skip qthttpserver
I built QT6.4 and downloaded and installed QT Creator 8.0.1 and copied it to my MacOs machine:
scp qt-creator-opensource-mac-x86_64-8.0.1.dmg admin@192.168.0.112:/Users/admin/Downloads
QT Creator started successfully because I made .config
folder writable while running my app with QT6.2. I added QT versions and kits:
I continued my experimentation in same SSH session where I built QT6.4 for MacOS with Ninja generator with the same QT sources location:
scp /mnt/d/dev.distrib/qt-everywhere-src-6.4.0.tar.xz admin@192.168.0.112:/Users/admin/repos
tar xf qt-everywhere-src-6.4.0.tar.xz
cd ~/build/qt
export MY_QT_SRC_DIR=~/repos/qt-everywhere-src-6.4.0
QT did not built with -debug-and-release
option so I decided to build debug and release version separately with the following configurations:
In the same SSH session where I built QT6.4 for MacOS with Unix Makefiles generator I installed ninja:
brew upgrade
Running `brew update --preinstall`...
==> Downloading https://ghcr.io/v2/homebrew/portable-ruby/portable-ruby/blobs/sha256:1f50bf80583bd436c9542d4fa5ad47df0ef0f0bea22ae710c4f04c42d7560bca
######################################################################################################################################################################## 100.0%
==> Pouring portable-ruby-2.6.8_1.el_capitan.bottle.tar.gz
==> Auto-updated Homebrew!
Updated 1 tap (homebrew/core).
==> New Formulae
...
On the same machine where I Built QT 6.2.2 for MacOS I opened SSH session and set the locale:
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
checked the locale has been set correctly:
locale
it printed the following:
LANG="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_CTYPE="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
I installed required packages:
sudo apt install build-essential
sudo apt install libx11-dev
sudo apt install ninja-build
sudo apt install openssl libssl-dev
sudo apt install libmd4c-dev libmd4c-html0-dev
sudo apt install pkg-config
sudo apt install mesa-utils libglu1-mesa-dev freeglut3-dev mesa-common-dev
sudo apt install libglew-dev libglfw3-dev libglm-dev
sudo apt install libao-dev libmpg123-dev
When I switched to PHP 7.4 I forgot to specify sendmail_path
parameter in php.ini
and my contact form stopped working. Today I found sendmail_path
parameter in PHP 7.0:
cd /etc/php
find . -name "php.ini"
./7.0/fpm/php.ini
./7.0/cgi/php.ini
./7.0/cli/php.ini
./7.4/fpm/php.ini
./7.4/cli/php.ini
grep sendmail ./7.0/fpm/php.ini
sendmail_path = "/usr/sbin/sendmail -t -f *****@yandex.ru -i"
Source file:
soxi short-borrowed-old.wav
Input File : 'short-borrowed-old.wav' (flac)
Channels : 2
Sample Rate : 44100
Precision : 16-bit
Duration : 00:00:00.60 = 26460 samples = 45 CDDA sectors
File Size : 54.0k
Bit Rate : 720k
Sample Encoding: 16-bit FLAC
Comment : 'Comment=Processed by SoX'
Some WordPress plugins stopped working with PHP 7.0 on my Ubuntu 16.04 server and I switched to PHP 7.4 with the following commands:
sudo add-apt-repository ppa:jczaplicki/xenial-php74-temp
sudo apt-get update
sudo apt-get install php7.4 php7.4-fpm php7.4-cli php7.4-mysql php7.4-dom php7.4-mbstring -y
service php7.4-fpm status
cd /etc/php/7.4/fpm/pool.d
sudo mv www.conf www.conf.dist
sudo mv ../../../7.0/fpm/pool.d/devnote.conf .
sudo service php7.0-fpm reload
sudo service php7.4-fpm reload