debugger: better manual test for std::unique_ptr dumper

Change-Id: I37a2b5ae4089931bd9f9edea8c584024c94c498d
Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
hjk
2012-02-02 19:50:47 +01:00
committed by hjk
parent e70ad8150a
commit 1fe85174eb
2 changed files with 7 additions and 3 deletions

View File

@@ -2653,7 +2653,7 @@ namespace stdptr {
void testStdUniquePtr()
{
#ifdef USE_CXX11
std::unique_ptr<int> p(new 32);
std::unique_ptr<int> p(new int(32));
BREAK_HERE;
// Check p 32 std::unique_ptr<int>.
// Continue.
@@ -5919,7 +5919,7 @@ int main(int argc, char *argv[])
stdstream::testStdStream();
stdstring::testStdString();
stdvector::testStdVector();
stdptr::testStdPointer();
stdptr::testStdPtr();
qbytearray::testQByteArray();
qdatetime::testDateTime();

View File

@@ -25,7 +25,11 @@ maemo5 {
exists($$QMAKE_INCDIR_QT/QtCore/private/qobject_p.h):DEFINES += USE_PRIVATE
exists(/usr/include/boost/optional.hpp): DEFINES += USE_BOOST
exists(/usr/include/eigen2/Eigen/Core): DEFINES += USE_EIGEN
false: DEFINES += USE_CXX11
*g++* {
DEFINES += USE_CXX11
QMAKE_CXXFLAGS += -std=c++0x
}
# Use for semi-automated testing
#DEFINES += USE_AUTORUN=1