diff options
author | Rafael Roquetto <rafael.roquetto.qnx@kdab.com> | 2015-07-02 09:18:10 -0300 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@theqtcompany.com> | 2015-07-10 13:32:32 +0000 |
commit | 90a5644c28df32016477a86f6dbff67d8ec74ea7 (patch) | |
tree | 0d0ba92f9973327e0d542c3d62467fc1b55fdfa0 /tests/auto/qml/debugger | |
parent | 79aa1df7b424240ab522c5fb3a7831c71497b7e1 (diff) |
Fix tst_qqmldebuglocal on QNX.
QNX does not place library functions on the default namespace. Either use
namespace std or explicitly state the namespace prefix.
Change-Id: I1037c16316b9545ea6214289a3af9a549e83613c
Reviewed-by: Liang Qi <liang.qi@theqtcompany.com>
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'tests/auto/qml/debugger')
-rw-r--r-- | tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp b/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp index b1219eabe4..cef2f1cecd 100644 --- a/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp +++ b/tests/auto/qml/debugger/qqmldebuglocal/tst_qqmldebuglocal.cpp @@ -143,7 +143,7 @@ void tst_QQmlDebugLocal::sendMessage() int main(int argc, char *argv[]) { - fileName = QString::fromLatin1("tst_QQmlDebugLocal%1").arg(time(0)); + fileName = QString::fromLatin1("tst_QQmlDebugLocal%1").arg(std::time(0)); int _argc = argc + 1; char **_argv = new char*[_argc]; |