forked from qt-creator/qt-creator
debugger: better manual test for std::unique_ptr dumper
Change-Id: I37a2b5ae4089931bd9f9edea8c584024c94c498d Reviewed-by: hjk <qthjk@ovi.com>
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user