1 { lib, stdenv, qtModule, qtbase, qtmultimedia }:
5 propagatedBuildInputs = [ qtbase qtmultimedia ];
6 outputs = [ "bin" "out" "dev" ];
7 qmakeFlags = lib.optionals stdenv.isDarwin [
8 # boost uses std::auto_ptr which has been disabled in clang with libcxx
9 # This flag re-enables this feature
10 # https://libcxx.llvm.org/docs/UsingLibcxx.html#c-17-specific-configuration-macros
11 "QMAKE_CXXFLAGS+=-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR"