# Solaris/Ilumos does not provide scheduling class SCHED_IDLE --- qt-everywhere-src-5.15.18/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp.orig +++ qt-everywhere-src-5.15.18/qtlocation/src/3rdparty/mapbox-gl-native/platform/default/thread.cpp @@ -28,7 +28,7 @@ struct sched_param param; param.sched_priority = 0; - if (sched_setscheduler(0, SCHED_IDLE, ¶m) != 0) { + if (sched_setscheduler(0, SCHED_OTHER, ¶m) != 0) { Log::Warning(Event::General, "Couldn't set thread scheduling policy"); } }