Merge remote-tracking branch 'origin/master' into api_changes
authorLars Knoll <lars.knoll@nokia.com>
Mon, 12 Mar 2012 20:03:49 +0000 (21:03 +0100)
committerLars Knoll <lars.knoll@nokia.com>
Mon, 12 Mar 2012 20:03:49 +0000 (21:03 +0100)
Conflicts:
tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp

Change-Id: I884afc3b6d65c6411733a897a1949e19393573a7

13 files changed:
1  2 
dist/changes-5.0.0
qmake/Makefile.unix
qmake/Makefile.win32
qmake/Makefile.win32-g++
qmake/qmake.pri
src/corelib/kernel/qmetatype.cpp
src/corelib/kernel/qmetatype.h
src/corelib/kernel/qvariant.cpp
src/printsupport/dialogs/qprintdialog.h
src/testlib/qtestcase.cpp
tests/auto/corelib/kernel/qmetatype/tst_qmetatype.cpp
tests/auto/corelib/kernel/qvariant/tst_qvariant.cpp
tests/auto/corelib/tools/qlist/tst_qlist.cpp

Simple merge
Simple merge
Simple merge
Simple merge
diff --cc qmake/qmake.pri
Simple merge
Simple merge
Simple merge
Simple merge
Simple merge
@@@ -331,8 -312,14 +329,15 @@@ void tst_QMetaType::typeName_data(
      QTest::addColumn<QString>("aTypeName");
  
      QT_FOR_EACH_STATIC_TYPE(TYPENAME_DATA)
-     QT_FOR_EACH_STATIC_ALIAS_TYPE(TYPENAME_DATA_ALIAS)
 +    QTest::newRow("QMetaType::UnknownType") << QMetaType::UnknownType << static_cast<const char*>(0);
+     QTest::newRow("Whity<double>") << static_cast<QMetaType::Type>(::qMetaTypeId<Whity<double> >()) << QString::fromLatin1("Whity<double>");
+     QTest::newRow("Whity<int>") << static_cast<QMetaType::Type>(::qMetaTypeId<Whity<int> >()) << QString::fromLatin1("Whity<int>");
+     QTest::newRow("Testspace::Foo") << static_cast<QMetaType::Type>(::qMetaTypeId<TestSpace::Foo>()) << QString::fromLatin1("TestSpace::Foo");
+     QTest::newRow("-1") << QMetaType::Type(-1) << QString();
+     QTest::newRow("-124125534") << QMetaType::Type(-124125534) << QString();
+     QTest::newRow("124125534") << QMetaType::Type(124125534) << QString();
  }
  
  void tst_QMetaType::typeName()