2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, qtModule, qtbase, qtmultimedia }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
qtModule {
|
2021-05-28 09:39:13 +00:00
|
|
|
pname = "qtlocation";
|
2023-11-16 04:20:00 +00:00
|
|
|
propagatedBuildInputs = [ qtbase qtmultimedia ];
|
2020-04-24 23:36:52 +00:00
|
|
|
outputs = [ "bin" "out" "dev" ];
|
2022-10-30 15:09:59 +00:00
|
|
|
qmakeFlags = lib.optionals stdenv.isDarwin [
|
2020-04-24 23:36:52 +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"
|
|
|
|
];
|
|
|
|
}
|