Sensors crashes with a segfault when constructing a sensor object.
QAccelerometer *acc = new QAccelerometer;
A workaround is to create a QSensor and use a string literal for the type.
QSensor *acc = new QSensor("QAccelerometer");
The cause appears to be that the ::type members have different values depending on whether they're accessed from inside or outside of the QtSensors DLL. Accessing the value outside of the DLL results in a segfault.
const char *bad_value = QAccelerometer::type; char crash = QAccelerometer::type[0]; // segfault unless this code is compiled into the QtSensors DLL