CLIDE

CLIDE is an extendable command-line driven development environment written in Rust using the Qt UI framework that supports both full and headless Linux environments. The GUI is written in QML compiled through Rust using the cxx-qt crate, while the TUI was implemented using the ratatui crate.

It's up to you to build your own development environment for your tools. To add tools for your purposes, create a plugin that implements the ClidePlugin trait. (This is currently under development and not yet available.) Once you've created your plugin, you can submit a pull request to add a link to the git repository for your plugin to the final section in this README if you'd like to contribute.

The following packages must be installed before the application will build. In the future, we may provide a minimal installation option that only includes dependencies for the headless TUI.

sudo apt install qt6-base-dev qt6-declarative-dev qt6-tools-dev qml6-module-qtquick-controls qml6-module-qtquick-layouts qml6-module-qtquick-window qml6-module-qtqml-workerscript qml6-module-qtquick-templates qml6-module-qtquick qml6-module-qtquick-dialogs qt6-svg-dev

And of course, Rust.

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Development

It's recommended to use RustRover or Qt Creator for development.

The Qt Installer will provide the latest Qt6 LTS and Qt Creator. If using RustRover be sure to set your QML binaries path in the settings menu. If Qt was installed to its default directory this will be $HOME/Qt/6.8.3/gcc_64/bin/.

Viewing documentation in the web browser is possible, but using Qt Assistant is recommended. It comes with Qt6 when installed. Run the following command to start it.

nohup $HOME/Qt/6.8.3/gcc_64/bin/assistant > /dev/null 2>&1 &

If you are looking for an include path from Qt

find /usr/include/x86_64-linux-gnu/qt6/ -name QFile*

/usr/include/x86_64-linux-gnu/qt6/QtWidgets/QFileIconProvider
/usr/include/x86_64-linux-gnu/qt6/QtWidgets/QFileDialog
/usr/include/x86_64-linux-gnu/qt6/QtGui/QFileSystemModel
/usr/include/x86_64-linux-gnu/qt6/QtGui/QFileOpenEvent
/usr/include/x86_64-linux-gnu/qt6/QtCore/QFile
/usr/include/x86_64-linux-gnu/qt6/QtCore/QFileDevice
/usr/include/x86_64-linux-gnu/qt6/QtCore/QFileSystemWatcher
/usr/include/x86_64-linux-gnu/qt6/QtCore/QFileInfoList
/usr/include/x86_64-linux-gnu/qt6/QtCore/QFileInfo
/usr/include/x86_64-linux-gnu/qt6/QtCore/QFileSelector

This helped find that QFileSystemModel is in QtGui and not QtCore.

Resources

Some helpful links for reading up on QML if you're just getting started.

Plugins

TODO: Add a list of plugins here. The first example will be C++ with CMake functionality.

Description
No description provided
Readme GPL-3.0 1.5 MiB
Languages
Rust 75.5%
QML 24.5%