Qtah doesn't build from Nixpkgs
-
The Nix expression for qtah-cpp-qt5 needs to be provided
pkgs.qt5.qtbase
for the Qt libraries and QMake. -
qtchooser isn't available in Nixpkgs. qtah-cpp-qt5 sets
QTAH_QT=5
before calling the generator, which invokesqmake -qt=5 -version
to read the full Qt version, and-qt=...
is provided by qtchooser. When givenQTAH_QT=x
, the generator should first callqmake -version
, then only callqmake -qt=$QTAH_QT -version
if the major version doesn't match. (Alternatively, useQT_SELECT
and not worry about the command-line argument.)