2.4 KiB
CLIDE
CLIDE is an IDE written in Rust that supports both full and headless Linux environments.
The following packages must be installed before the application will build.
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 you will end up in a mess of tabs. 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.