Code change:
git = gitMinimal; }; <ins> # Build summary for this flavor # - Build Octave Qt GUI:                  no (missing:QtCore QtGui QtNetwork QtHelp QtXml) # - JIT compiler for loops:               no # - Build Java interface:                 yes # - Build static libraries:               no # - Build shared libraries:               yes # - Dynamic Linking API:                  dlopen # - Include support for GNU readline:     yes # - 64-bit array dims and indexing:       yes # - 64-bit BLAS array dims and indexing:  yes # - OpenMP SMP multithreading:            yes # - Truncate intermediate FP results:     yes # - Build cross tools:                    no # - Build docs:                           yes </ins> octave = callPackage ../development/interpreters/octave { <del> qt = null; qscintilla = null; ghostscript = null; graphicsmagick = null; llvm = null; hdf5 = null; glpk = null; suitesparse = null; jdk = null; </del> <ins> python = python3; </ins> openblas = if stdenv.isDarwin then openblasCompat else openblas; }; <del> octaveFull = (lowPrio (octave.override { qt = qt4; inherit qscintilla; overridePlatforms = ["x86_64-linux" "x86_64-darwin"]; </del> <ins> # Build summary for this flavor # - Build Octave Qt GUI:                  no (missing:QtCore QtGui QtNetwork QtHelp QtXml) # - JIT compiler for loops:               yes # - Build Java interface:                 yes # - Build static libraries:               no # - Build shared libraries:               yes # - Dynamic Linking API:                  dlopen # - Include support for GNU readline:     yes # - 64-bit array dims and indexing:       yes # - 64-bit BLAS array dims and indexing:  yes # - OpenMP SMP multithreading:            yes # - Truncate intermediate FP results:     yes # - Build cross tools:                    no # - Build docs:                           yes octave-jit = callPackage ../development/interpreters/octave { python = python3; </ins> openblas = if stdenv.isDarwin then openblasCompat else openblas; <ins> enableJIT = true; }; # Build summary for this flavor # - Build Octave Qt GUI:                  yes # - JIT compiler for loops:               no # - Build Java interface:                 yes # - Build static libraries:               no # - Build shared libraries:               yes # - Dynamic Linking API:                  dlopen # - Include support for GNU readline:     yes # - 64-bit array dims and indexing:       yes # - 64-bit BLAS array dims and indexing:  yes # - OpenMP SMP multithreading:            yes # - Truncate intermediate FP results:     yes # - Build cross tools:                    no # - Build docs:                           yes # Build summary for this flavor octaveFull = (lowPrio (libsForQt512.callPackage ../development/interpreters/octave { python = python3; openblas = if stdenv.isDarwin then openblasCompat else openblas; enableQt = true; overridePlatforms = ["x86_64-linux" "x86_64-darwin"]; </ins> })); ocropus = callPackage ../applications/misc/ocropus { };

Related discussion:
text: I'm trying to build octave with QT5 and with GUI (of course, when I try to build it with GUI, right?). Unfortunately, after the build: Apply this patch: and then system: host os: multi-user?: sandbox: version: channels(m): nixpkgs:
I just noticed that I do not even get the GUI feature when building octave from nixpkgs (neither nor has a GUI).
Pinging: touched the package recently, is the maintainer of the package.
I’ll try to have a look when I have some time. I’ll let you know what I can achieve.
Here is what the configure script says:
yes, I got that and I fixed it. See for my attempt to build with Qt5 (which succeeds, but starting octave with gui fails - see PR).