This is an old revision of the document!
Table of Contents
Qt
How to get up and running using Qt on Linux.
Environment
Kali Linux
Operating System
Windows 10 WSL1
Update
sudo -s apt update apt full-upgrade apt autoremove
Install
Qt5
Creator
apt install qtcreator
Base
apt install qtbase5-dev
Serial
apt install qt5serialport-examples libqt5serialport5-dev
Strip
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
Qt6
This section is incomplete at this time.
Base
apt install qt6-base-dev
Strip
strip --remove-section=.note.ABI-tag /usr/lib/x86_64-linux-gnu/libQt6Core.so.6
Demo
qtcreator
Create Project... Application (Qt) Qt Console Application Name: QApp Build system: qmake Language: <none> Kit Selection: Desktop
main.cpp
#include <QCoreApplication> #include <iostream> int main(int argc, char *argv[]) { QCoreApplication a(argc, argv); std::cout << "Hello World!\r\n"; }
qmake make ./QApp Hello World!