3f3d33a078
Using a distinct prefix for plugins and QML libraries allows multiple Qt 5 minor versions to coexist in the same environment.
12 lines
369 B
Nix
12 lines
369 B
Nix
{ qtSubmodule, lib, copyPathsToStore, python2, qtbase, qtsvg, qtxmlpatterns }:
|
|
|
|
qtSubmodule {
|
|
name = "qtdeclarative";
|
|
patches = copyPathsToStore (lib.readPathsFromFile ./. ./series);
|
|
qtInputs = [ qtbase qtsvg qtxmlpatterns ];
|
|
nativeBuildInputs = [ python2 ];
|
|
|
|
preConfigure = ''
|
|
NIX_CFLAGS_COMPILE+=" -DNIXPKGS_QML2_IMPORT_PREFIX=\"$qtQmlPrefix\""
|
|
'';
|
|
}
|