test: Mark tst_qstylesheetstyle as insignificant only on Mac OS X

This test has been passing lately for Linux and Windows.

Task-number: QTQAINFRA-574
Change-Id: I7a3001381df805c9424b694197a92b467d69c1bc
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Mark tst_qsettings as insignificant only on Windows

This test has been passing lately for Linux and Mac.

Task-number: QTQAINFRA-574
Change-Id: I9dfc0c5b79a019e70fba04502050b35997384928
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Remove insignificant_test from tst_qscriptextensionplugin

This test is now passing on all CI platforms.

Change-Id: Icd24090b782738c3ab2635d41560eaf0d6b7ba1a
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Mark tst_qpainter as insignificant only on Mac OS X

This test has been passing lately for Linux and Windows.

Task-number: QTQAINFRA-574
Change-Id: I7b92c105bfa4fc00c92a00d4d731cabc878bb073
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Remove insignificant_test from tst_qmacstyle

This test is now passing on all CI platforms.

Change-Id: I421a7f541e24f1f1ebad8a68cc599bbdd38a767a
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Remove insignificant_test from tst_qitemdelegate

This test is now passing on all CI platforms.

Change-Id: I06b659a750dcc76858287eb8336aa5228298d6e5
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Mark tst_qinputcontext as insignificant only on Mac OS X

This test has been passing lately for Linux and Windows.

Task-number: QTQAINFRA-574
Change-Id: Ib1d44ce284e3d0dcfa539376928cb41516a2059a
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Mark tst_qgraphicswidget as insignificant only on Mac OS X

This test has been passing lately for Linux and Windows.

Task-number: QTQAINFRA-574
Change-Id: Ie658d90cbc9eb2b68a963b1f1de06ca37f44047e
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Mark tst_qgraphicsanchorlayout1 as insignificant only on Mac OS X

This test has been passing lately for Linux and Windows.

Task-number: QTQAINFRA-574
Change-Id: I6f21bf40d93adc8e359cf9fa0feea7fd4140736e
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Remove insignificant_test from tst_qgraphicsanchorlayout

This test is now passing on all CI platforms.

Change-Id: Idd094cdbc2a21f3e5840366f8f47b9a187331023
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Remove insignificant_test from tst_qdbusmarshall

This test is now passing on all CI platforms.

Change-Id: I19f1b4bd4969bf9e396d696a273d214af16ebd9a
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Mark tst_qgraphicsscene as insignificant only on Embedded (QWS)

This test has been passing lately for Linux, Windows and Mac OS X.

Change-Id: I994fe4c69c3520fe1eabf2d92224c8dd040ba3d9
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
test: Remove insignificant_test from tst_qaudioinput

This test is now passing on all CI platforms.

Change-Id: I51df22c00d4e13a0b83230bc25e1b810ed183539
Reviewed-by: Simo Fält <simo.falt@digia.com>
Reviewed-by: Janne Anttila <janne.anttila@digia.com>
Special-case the forward declaration of STL types for libc++.

This is somewhat of a follow-up to 5210d47aa66214e3cb16f394d0510a91f770c1b1.
libc++ declares the STL types in an inline namespace within the "std" one if
clang is used.

If one includes a header such as <iterator> before a Qt one and builds with
QT_NO_STL, the following ends up happening:

  // <iterator>
  namespace std {
      inline namespace __1 {
          struct random_access_iterator ... ;
      }
  }

  // qiterator.h
  #ifdef QT_NO_STL
  namespace std {
     struct random_access_iterator;
  }
  #endif

qiterator.h's declaration shadows the original one, and the compiler
complains random_access_iterator lacks an actual declaration.

Solve this by checking for libc++ and forward-declaring the iterator types
we need within the same inline namespace.

Not backported from qtbase because QT_NO_STL does not exist in Qt 5.

Change-Id: I6742d540f6538a30aa060a4447c288cfb9cd781d
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>