Skip to content
This repository has been archived by the owner on Oct 31, 2024. It is now read-only.

TAPZCREW/xmake-project-manager

Repository files navigation

CI

!! 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

ArchLinux

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

Building from source

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 .

Snapshots

You can find automatically built snapshots on Nightly.link.

Uncompress 7z file, open QtCreator and use QtCreator plugin installer

First-step Second-step Third-step

Restart QtCreator and enable plugin

Fourth-step

Restart a last time QtCreator and Open your XMake project :)