[Nix-dev] Qt Creator issues

Bjørn Forsman bjorn.forsman at gmail.com
Mon May 27 21:34:32 CEST 2013


Hi,

Today I tried using Qt Creator in NixOS. I found two issues:

The first issue is that there is no way to create applications from
File -> New File or Project. On Ubuntu I have an "Applications" entry
just above the "Libraries" entry. On NixOS the "Applications" entry is
missing. I suspect this is related to this error that is spewed all
over the terminal (100 times or so) after clicking on File -> New File
or Project:

    Cannot update Qt version information:
/nix/store/0g7rv5wclspqz80pb2dkjxqxf2651xar-qt-4.8.3/bin/qmake cannot
be run.

The path it refers to doesn't exist. (And building qtcreator again
from source still refers to the same broken nix store path! I need to
confirm this.)

The second issue is that there are no examples in the examples tab; it
is empty. I think this should fix itself if qt is built with examples
& demos. (Because skimming over the source it seems that Qt knows
where the demos & examples are installed, so qtcreator can ask the
library.) I tried to build qt4_for_qtcreator without "-nomake examples
-nomake demos", but that didn't do it. It didn't even make qt install
the examples & demos in $out. Well, that's confusing.

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list