Posts

Showing posts from March, 2024

Apache Ant

 Download Apache Ant : Visit the official Apache Ant website (https://ant.apache.org/) and download the latest version of Apache Ant. Extract the Archive: Extract the downloaded Apache Ant archive to a directory on your system. Choose a location where you want to install Apache Ant. For example, you might extract it to /opt/ant on Linux or C:\apache-ant on Windows. Set the ANT_HOME Environment Variable: Set the ANT_HOME environment variable to point to the directory where you extracted Apache Ant. This informs Qt Creator about the location of the Ant installation. On Windows, you can set environment variables through the Control Panel or by using the setx command in the Command Prompt. On Linux or macOS, you can add the ANT_HOME variable to your shell's profile script (e.g., .bashrc, .zshrc) to set it persistently. Update the PATH Environment Variable (Optional): Optionally, you can add the Apache Ant bin directory to your system's PATH environment variable. This allows you to ...

Generating a signed apk from Qt Creator

 As we know it's required to  be signed bundle of APK, to install in a Android Device. 1.  Generate a private key using the keytool command provided by the Java Development Kit (JDK). This key will be used to sign your .apk file. Run a command similar to the following to generate a private key: keytool -genkey -v -keystore my-release-key.keystore -alias alias_name -keyalg RSA -keysize 2048 -validity 100 00 Replace my-release-key.keystore with the desired filename for your keystore file and alias_name with a name for your key alias. 2. Packaging the .apk File : In Qt Creator, go to Build > Build APK (or Build > Prepare for Android App Bundle) to generate the release package. Qt Creator will compile your application in release mode and package it into an unsigned .apk file. 3. Signing the .apk File : Use the jarsigner tool provided by the JDK to sign your .apk file with the private key you generated earlier. Run a command similar to the following to sign the .apk ...

Explaination for QGC to User

Image
 Intro to QGC = QGC is developed using QT, C++ and QML Framework. We perform development in Ubuntu 18.04 Platform. Front end is developed using QML and Backend is developed using QT/C++. Why QGC ? = QGC provides full flight control and mission planning for any MAVLink enabled drone. MAVLink or Micro Air Vehicle Link is a protocol for communicating with small unmanned vehicle. MAVLink is very lightweight messaging protocol for communicating with drones (and between onboard drone components). QGC has 4 main views for the front end. They are :- - Planview,  - Flyview,  - Settings View  - and setup View. QGCToolBox is associated with " QGCApplication " and having following key functions :- - MAVLinkProtocol - LinkManager - MissionCommandTree Refrence Link for above : https://www.linkedin.com/pulse/qgroundcontrol-architecture-vinoth-kumar-chandrabose/ Understanding the Technicals of QGroundControl : Click here :