Index: /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp
===================================================================
--- /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp	(revision 59411)
+++ /trunk/src/VBox/Frontends/VirtualBox/src/runtime/UISession.cpp	(revision 59412)
@@ -71,4 +71,11 @@
 
 #endif /* !VBOX_WITH_PRECOMPILED_HEADERS */
+
+/* Qt includes: */
+#ifdef Q_WS_WIN
+# if QT_VERSION >= 0x050000
+#  include <QtWin>
+# endif /* QT_VERSION >= 0x050000 */
+#endif /* Q_WS_WIN */
 
 #ifdef Q_WS_X11
@@ -1682,5 +1689,9 @@
         {
             /* Set the new cursor: */
+# if QT_VERSION < 0x050000
             m_cursor = QCursor(hAlphaCursor);
+# else /* QT_VERSION >= 0x050000 */
+            m_cursor = QCursor(QtWin::fromHBITMAP(hBitmap, QtWin::HBitmapAlpha), uXHot, uYHot);
+# endif /* QT_VERSION >= 0x050000 */
             if (m_alphaCursor)
                 DestroyIcon(m_alphaCursor);
