An example of real-time TableView in QML

Looks like CheckBox-es respond to clicks and work correctly even if they are in a TableView that is updated once a second:

(more…)

How I fixed “No such file” error in Visual Studio Code on Windows 10

Found an answer on stackoverflow.com:

and updated c:\Users\D-Ef\.vscode\extensions\liximomo.sftp-1.12.9\node_modules\ssh2-streams\lib\sftp.js on my machine:

  // For backwards compat do not emit close on destroy.
  options.emitClose = false;
  options.autoDestroy = false;
(more…)

Building QT 6.2.2 for iOS

I built QT 6.2.2. for MacOS first and then configured QT 6.2.2 for iOS as follows:

./configure -c++std c++20 -opensource -confirm-license -no-openssl -securetransport -DQT_NO_EXCEPTIONS=1 \
  -platform macx-ios-clang -release -qt-host-path /usr/local/Qt-6.2.2 -prefix /usr/local/Qt-6.2.2-ios \
  -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
(more…)

Building QT 6.2.2 for MacOS – Part 2

In my previous post I described my first attempt to built QT 6.2.2 for MacOS. Probably my mistake was that I did not switch to full XCode with the command:

sudo xcode-select -s /Applications/Xcode.app/Contents/Developer

and that I used the configuration script with a wrong syntax and missed -- in the command line. Probably the following configuration can be a step to a right direction:

./configure -c++std c++20 -opensource -confirm-license -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 \
  -- -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64"
(more…)

Running an app with QT 6.2.2 on MacOS

Built QT 6.2.2 and installed QT Creator 6.0.1, it started but with the following errors:

(more…)

Building QT 6.2.2 for MacOS – Part 1

Installed XCode 13:

(more…)

Backing up with Time Machine on MacOS

Plugged an external HDD:

(more…)

How to mine Ethereum on Windows 10 laptop

Determine local IP address by typing ipconfig in Command Prompt:

(more…)

Uploading debug symbols to Google Play Store

Did a quick google search and found this

I have the following components installed:

  • NDK (Side by side)
  • CMake
  • Android SDK Command-line Tools (latest)
(more…)

An attempt to build static QT for Android

qtbase\cmake\QtPlatformAndroid.cmake contains this:

# Ensure we are using the shared version of libc++
if(NOT ANDROID_STL STREQUAL c++_shared)
    message(FATAL_ERROR "The Qt libraries on Android only supports the shared library configuration of stl. Please use -DANDROID_STL=\"c++_shared\" as configuration argument.")
endif()

and looks like -static-runtime works only for Windows.

I added -c++std c++20 -static -no-openssl to the configuration and removed -separate-debug-info:

(more…)