2021-01-23 17:15:07 +00:00
|
|
|
{ lib, stdenv, qtModule, qtbase, qtmultimedia }:
|
2017-10-24 11:39:54 +00:00
|
|
|
|
|
|
|
qtModule {
|
|
|
|
name = "qtlocation";
|
|
|
|
qtInputs = [ qtbase qtmultimedia ];
|
|
|
|
outputs = [ "bin" "out" "dev" ];
|
2021-01-23 17:15:07 +00:00
|
|
|
qmakeFlags = lib.optional stdenv.isDarwin [
|
2018-03-12 06:04:28 +00:00
|
|
|
# boost uses std::auto_ptr which has been disabled in clang with libcxx
|
|
|
|
# This flag re-enables this feature
|
|
|
|
# https://libcxx.llvm.org/docs/UsingLibcxx.html#c-17-specific-configuration-macros
|
|
|
|
"QMAKE_CXXFLAGS+=-D_LIBCPP_ENABLE_CXX17_REMOVED_AUTO_PTR"
|
|
|
|
];
|
2017-10-24 11:39:54 +00:00
|
|
|
}
|