Use Q_ASSERT_X to print error message