[Nix-dev] "nix-shell --pure -p qt5.qtbase --run qmake" not finding linux-g++

Thomas Tuegel ttuegel at gmail.com
Sun Jan 22 18:26:09 CET 2017


Hi Bjørn,

On Sun, Jan 22, 2017 at 9:15 AM, Bjørn Forsman <bjorn.forsman at gmail.com> wrote:
> Hi all,
>
> Didn't this use to work?
>
> $ nix-shell --pure -p qt5.qtbase --run qmake
> Could not find qmake configuration file linux-g++.
> Error processing project file: /home/bfo/test.pro
>
> (test.pro can be an empty file, just for testing this issue.)
>
> The linux-g++ mkspec file is in the .dev output, but adding that to
> the above command doesn't fix it either.

You also need the qt5.qmakeHook package. The qmake that qtbase ships
isn't compatible with Nix.

Regards,
Tom


More information about the nix-dev mailing list