1、安装QT creator
sudo apt install qtcreator
forlinx@ok3588:~$ sudo apt install qtcreator
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libclang1-8 libkf5syntaxhighlighting-data libkf5syntaxhighlighting5 libllvm8 libqbscore1.13
libqt5designercomponents5 libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5serialport5
libqt5sql5-sqlite qbs-common qml-module-qtgraphicaleffects qml-module-qtqml-models2
qml-module-qtquick-controls qml-module-qtquick-layouts qml-module-qtquick-window2
qml-module-qtquick2 qtcreator-data
Suggested packages:
qt5-qmltooling-plugins clazy kate-data subversion valgrind
Recommended packages:
clang clang-tidy gdb qmlscene qt5-doc qt5-qmltooling-plugins qtcreator-doc
qtdeclarative5-dev-tools qttools5-dev-tools qttranslations5-l10n qtxmlpatterns5-dev-tools
The following NEW packages will be installed:
libclang1-8 libkf5syntaxhighlighting-data libkf5syntaxhighlighting5 libllvm8 libqbscore1.13
libqt5designercomponents5 libqt5qml5 libqt5quick5 libqt5quickwidgets5 libqt5serialport5
libqt5sql5-sqlite qbs-common qml-module-qtgraphicaleffects qml-module-qtqml-models2
qml-module-qtquick-controls qml-module-qtquick-layouts qml-module-qtquick-window2
qml-module-qtquick2 qtcreator qtcreator-data
2、安装qttools5-dev-tools
3、安装必要工具:
forlinx@ok3588:~$ sudo apt install qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools
4、查看qmake安装是否成功:
forlinx@ok3588:~$ qmake -v
QMake version 3.1
Using Qt version 5.12.8 in /usr/lib/aarch64-linux-gnu
5、打开QT creator 创建hello world示例程序:
到此环境安装成功,并运行了QT创建的一个示例程序。
这开发板太牛了,运行那是相当的流畅!
更多回帖