!! This project is abandonned, i'm using neovim now, so i will not maintain this plugin, feel free to fork it !!
This is some basic XMake build system integration for QtCreator (based on QtCreator meson plugin implementation).
Currently implemented features:
- Show files in project:
- Subprojects
- CMake plugin like file view
- Basic build integration (XMake default backend only)
- Extract C++ code complemtion information from build directory
- Group files by target
- Support of build modes (debug, etc... ; build modes need to be enabled in your xmake.lua)
- Non-source file listing
Not yet implemented:
- xmake.lua code completion
You can install this plugin from AUR with git and makepkg
sudo pacman -S base-devel cmake
git clone https://aur.archlinux.org/qtcreator-xmake-project-manager.git
cd qtcreator-xmake-project-manager
makepkg -si
or from your AUR helper
paru/yay/yaourt -S qtcreator-xmake-project-manager
Please note that the build was only tested with Qt Creator 6.0.1 and other versions most likely won't work as the Qt Creator APIs tend to change even between minor version. To build the plugin you need the qtcreator headers and libraries. So the safest way is to install them from your distribution package manager (qtcreator-devel from AUR on archlinux), or from the Qt installer
git clone https://github.com/TapzCrew/xmake-project-manager.git
cd xmake-project-manager
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE:STRING=Release ..
cmake --build .
cmake --install .
You can find automatically built snapshots on Nightly.link.
Uncompress 7z file, open QtCreator and use QtCreator plugin installer
Restart QtCreator and enable plugin
Restart a last time QtCreator and Open your XMake project :)