Description
When trying https://codereview.qt-project.org/193307 , got
(testenv) C:\pyside-setup\testenv3_build\py3.5-qt5.6.3-64bit-release\pyside2\PySide2\QtWinExtras>nmake Microsoft (R) Program Maintenance Utility Version 14.00.24210.0 Copyright (C) Microsoft Corporation. All rights reserved. [ 5%] Built target pyside2 [ 45%] Built target QtCore [ 97%] Built target QtGui [ 97%] Building CXX object PySide2/QtWinExtras/CMakeFiles/QtWinExtras.dir/PySide2/QtWinExtras/qwinmime_wrapper.cpp.obj qwinmime_wrapper.cpp C:\pyside-setup\testenv3_build\py3.5-qt5.6.3-64bit-release\pyside2\PySide2\QtWinExtras\PySide2\QtWinExtras\qwinmime_wrapper.cpp(101): error C2259: 'QWinMimeWrapper': cannot instantiate abstract class C:\pyside-setup\testenv3_build\py3.5-qt5.6.3-64bit-release\pyside2\PySide2\QtWinExtras\PySide2\QtWinExtras\qwinmime_wrapper.cpp(101): note: due to following members: C:\pyside-setup\testenv3_build\py3.5-qt5.6.3-64bit-release\pyside2\PySide2\QtWinExtras\PySide2\QtWinExtras\qwinmime_wrapper.cpp(101): note: 'bool QWinMime::canConvertFromMime(const FORMATETC &,const QMimeData *) const': is abstract c:\qt\build\qt56-msvc2015\qtbase\include\qtwinextras\../../../../../qt5/qtwinextras/src/winextras/qwinmime.h(56): note: see declaration of 'QWinMime::canConvertFromMime' C:\pyside-setup\testenv3_build\py3.5-qt5.6.3-64bit-release\pyside2\PySide2\QtWinExtras\PySide2\QtWinExtras\qwinmime_wrapper.cpp(101): note: 'bool QWinMime::convertFromMime(const FORMATETC &,const QMimeData *,STGMEDIUM *) const': is abstract c:\qt\build\qt56-msvc2015\qtbase\include\qtwinextras\../../../../../qt5/qtwinextras/src/winextras/qwinmime.h(57): note: see declaration of 'QWinMime::convertFromMime' C:\pyside-setup\testenv3_build\py3.5-qt5.6.3-64bit-release\pyside2\PySide2\QtWinExtras\PySide2\QtWinExtras\qwinmime_wrapper.cpp(101): note: 'QVector<FORMATETC> QWinMime::formatsForMime(const QString &,const QMimeData *) const': is abstract c:\qt\build\qt56-msvc2015\qtbase\include\qtwinextras\../../../../../qt5/qtwinextras/src/winextras/qwinmime.h(58): note: see declaration of 'QWinMime::formatsForMime' C:\pyside-setup\testenv3_build\py3.5-qt5.6.3-64bit-release\pyside2\PySide2\QtWinExtras\PySide2\QtWinExtras\qwinmime_wrapper.cpp(101): note: 'bool QWinMime::canConvertToMime(const QString &,IDataObject *) const': is abstract c:\qt\build\qt56-msvc2015\qtbase\include\qtwinextras\../../../../../qt5/qtwinextras/src/winextras/qwinmime.h(61): note: see declaration of 'QWinMime::canConvertToMime' C:\pyside-setup\testenv3_build\py3.5-qt5.6.3-64bit-release\pyside2\PySide2\QtWinExtras\PySide2\QtWinExtras\qwinmime_wrapper.cpp(101): note: 'QVariant QWinMime::convertToMime(const QString &,IDataObject *,QVariant::Type) const': is abstract c:\qt\build\qt56-msvc2015\qtbase\include\qtwinextras\../../../../../qt5/qtwinextras/src/winextras/qwinmime.h(62): note: see declaration of 'QWinMime::convertToMime' C:\pyside-setup\testenv3_build\py3.5-qt5.6.3-64bit-release\pyside2\PySide2\QtWinExtras\PySide2\QtWinExtras\qwinmime_wrapper.cpp(101): note: 'QString QWinMime::mimeForFormat(const FORMATETC &) const': is abstract c:\qt\build\qt56-msvc2015\qtbase\include\qtwinextras\../../../../../qt5/qtwinextras/src/winextras/qwinmime.h(63): note: see declaration of 'QWinMime::mimeForFormat' NMAKE : fatal error U1077: 'C:\PROGRA~2\MICROS~1.0\VC\bin\amd64\cl.exe' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2' Stop. NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\BIN\amd64\nmake.exe"' : return code '0x2' Stop.
Attachments
Issue Links
- is required for
-
PYSIDE-487 Meta task for missing bindings
- Open
For Gerrit Dashboard: PYSIDE-509 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
230722,1 | WIP: Add QWinMimeWrapper | 5.12 | pyside/pyside-setup | Status: ABANDONED | -2 | 0 |