# Announcing qijul 0.1

**URL:** <https://discourse.pijul.org/t/announcing-qijul-0-1/353>\
**Category:** Uncategorized\
**Created:** [May 24, 2019, 7:39am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353 "2019-05-24T07:39:26Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![flobec](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/flobec/32/23_2.png) [@flobec](https://discourse.pijul.org/u/flobec)\
**Post date:** [May 24, 2019, 7:39am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/1 "2019-05-24T07:39:26Z")

</div>

Hi all,

I wrote a small qt user interface for pijul. It can be found there: https://nest.pijul.org/FlorentBecker/qijul. currently, it gives a graphical version of `pijul log`, `pijul status` and `pijul diff`. There are _a few_ bugs, notably qijul currently locks the repository while it is open. More commands should follow soonish.

The plan is to have a `pijul status` centric interface, à la magit. Patches and bug reports are of course welcome. I haven’t tried building on platforms other than nixos, but `cargo build` should do the job if you have an installation of `qt`, at least on linux.

---

<div class="post-metadata">

**Author:** ![pmeunier](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/pmeunier/32/4_2.png) [@pmeunier](https://discourse.pijul.org/u/pmeunier)\
**Post date:** [May 24, 2019, 8:50am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/2 "2019-05-24T08:50:02Z")

</div>

By the way, have you tried my vc-pijul (in the Pijul repository itself)?

---

<div class="post-metadata">

**Author:** ![flobec](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/flobec/32/23_2.png) [@flobec](https://discourse.pijul.org/u/flobec)\
**Post date:** [May 24, 2019, 10:07am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/3 "2019-05-24T10:07:38Z")

</div>

Not yet, I’m not fond of vc-\* under emacs, but I should eventually do that.

---

<div class="post-metadata">

**Author:** ![pmeunier](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/pmeunier/32/4_2.png) [@pmeunier](https://discourse.pijul.org/u/pmeunier)\
**Post date:** [May 24, 2019, 10:11am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/4 "2019-05-24T10:11:41Z")

</div>

> [@flobec](#):
>
> Not yet, I’m not fond of vc-\* under emacs, but I should eventually do that

I’d like to know why, I’ve never used it before. Also, I have an error when trying to run qijul:

> QQmlApplicationEngine failed to load component  
> file:///home/pe/Recherche/pijul/qijul/main.qml:4 module “QtQuick.Controls” version 2.4 is not installed

---

<div class="post-metadata">

**Author:** ![flobec](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/flobec/32/23_2.png) [@flobec](https://discourse.pijul.org/u/flobec)\
**Post date:** [May 24, 2019, 10:13am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/5 "2019-05-24T10:13:32Z")

</div>

> [@pmeunier](#):
>
> I’d like to know why, I’ve never used it before.

It’s from some time ago, but I remember the way information was organised between the different buffers was unpleasant to me (stuff seemed never to be where I wanted it). Maybe if I tried it again it would feel better now.

---

<div class="post-metadata">

**Author:** ![flobec](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/flobec/32/23_2.png) [@flobec](https://discourse.pijul.org/u/flobec)\
**Post date:** [May 24, 2019, 10:14am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/6 "2019-05-24T10:14:16Z")

</div>

> [@pmeunier](#):
>
> Also, I have an error when trying to run qijul:
> 
> > QQmlApplicationEngine failed to load component  
> > file:///home/pe/Recherche/pijul/qijul/main.qml:4 module “QtQuick.Controls” version 2.4 is not installed

I’ll look into that. Indeed, I have the same problem with nix-shell --pure.

---

<div class="post-metadata">

**Author:** ![flobec](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/flobec/32/23_2.png) [@flobec](https://discourse.pijul.org/u/flobec)\
**Post date:** [May 24, 2019, 11:53am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/7 "2019-05-24T11:53:11Z")

</div>

Indeed, it was picking some qml files at runtime from my installation of kde. This should be fixed now.

---

<div class="post-metadata">

**Author:** ![krixano](https://avatars.discourse-cdn.com/v4/letter/k/f1d935/32.png) [@krixano](https://discourse.pijul.org/u/krixano)\
**Post date:** [May 26, 2019, 10:40am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/8 "2019-05-26T10:40:12Z")

</div>

I’m getting this error when I try to run qijul:

> QQmlApplicationEngine failed to load component  
> file:///home/christian/src/qijul/main.qml:6 module “org.kde.kirigami” is not installed

Installing the kirigami2 package works. Idk if it’s intended or not, as kirigami isn’t listed as a dependency in the readme.

---

<div class="post-metadata">

**Author:** ![flobec](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/flobec/32/23_2.png) [@flobec](https://discourse.pijul.org/u/flobec)\
**Post date:** [May 26, 2019, 10:50am UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/9 "2019-05-26T10:50:57Z")

</div>

Indeed, it should be listed in the readme, thanks (and it now is)

---

<div class="post-metadata">

**Author:** ![kvark](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/kvark/32/195_2.png) [@kvark](https://discourse.pijul.org/u/kvark)\
**Post date:** [July 31, 2019, 4:40pm UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/10 "2019-07-31T16:40:50Z")

</div>

I’m unable to do a fresh build:

```auto
kvark@ant /hub/tools $ pijul clone https://nest.pijul.org/FlorentBecker/qijul
Pulling patches: 100% (34/34), done.
Applying patches: 100% (34/34), done.
kvark@ant /hub/tools $ cd qijul/
kvark@ant /hub/tools/qijul $ ls
bindings.json build.rs Cargo.toml default.nix main.qml qml.qrc README.md shell.nix src
kvark@ant /hub/tools/qijul $ cargo build
    Updating crates.io index
error: failed to load source for a dependency on `libpijul`

Caused by:
  Unable to update /hub/tools/pijul/libpijul

Caused by:
  failed to read `/hub/tools/pijul/libpijul/Cargo.toml`

Caused by:
  No such file or directory (os error 2)

```

---

<div class="post-metadata">

**Author:** ![flobec](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/flobec/32/23_2.png) [@flobec](https://discourse.pijul.org/u/flobec)\
**Post date:** [July 31, 2019, 4:59pm UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/11 "2019-07-31T16:59:16Z")

</div>

indeed, qijul currently depends on the `master` version of libpijul. You need to do a `pijul clone https://nest.pijul.org/pijul_org/pijul` in the parent directory to build qijul. If you already have a checkout of the pijul source code, you can update its location in `qijul/Cargo.toml`.

Have fun with qijul!

---

<div class="post-metadata">

**Author:** ![flobec](https://yyz1.discourse-cdn.com/flex031/user_avatar/discourse.pijul.org/flobec/32/23_2.png) [@flobec](https://discourse.pijul.org/u/flobec)\
**Post date:** [July 31, 2019, 5:21pm UTC](https://discourse.pijul.org/t/announcing-qijul-0-1/353/12 "2019-07-31T17:21:48Z")

</div>

Actually, libpijul 0.12.2 is fine. I just fixed that in Cargo.toml, so a fresh clone of qijul should now compile.
