Commit 9be80434 authored by Kai Koehne's avatar Kai Koehne Committed by Eike Ziller

Fix compilation of ios plugin with Windows 64 bit

Q_PID is a pointer under windows, and the compiler won't allow us
to convert a 64 bit pointer to int.

Task-number: QTCREATORBUG-11026
Change-Id: I34e45bf2ef1e565c5967fac6b482c14117a04578
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent 8cfa1fdd
......@@ -162,7 +162,9 @@ void IosDebugSupport::handleGotInferiorPid(Q_PID pid)
{
if (pid > 0) {
//m_runControl->engine()->notifyInferiorPid(pid);
#ifndef Q_OS_WIN // Q_PID might be 64 bit pointer...
m_runControl->engine()->notifyEngineRemoteSetupDone(int(pid), m_qmlPort);
#endif
} else {
m_runControl->engine()->notifyEngineRemoteSetupFailed(
tr("Got an invalid process id."));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment