frescobaldi / python-poppler-qt4

Python binding to poppler-qt4
Other
29 stars 13 forks source link

fatal error C1083: Cannot open include file: 'Q MetaType': No such file or directory #19

Open ghost opened 6 years ago

ghost commented 6 years ago

When I'm running "python setup.py build" this happens:

running build running build_ext building 'popplerqt4' extension C:\Users\BOGDANOVICH3975\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe /c /nologo /Ox /MD /W3 /GS- /DNDEBUG -IC:\Python27\Lib\site-packages\PyQt4\include -IC:\Python27\include -IC:\Python27\PC -IC:\Qt\4.8.4\include -IC:\Qt\4.8.4\include\QtCore -IC:\Qt\4.8.4\include\QtGui -IC:\Qt\4.8.4\include\QtXml /Tpbuild\temp.win32-2.7\Release\sippopplerqt4cmodule.cpp /Fobuild\temp.win32-2.7\Release\build\temp.win32-2.7\Release\sippopplerqt4cmodule.obj sippopplerqt4cmodule.cpp c:\users\bogdanovich3975\desktop\python-poppler-qt4-master\build\temp.win32-2.7\release\sipAPIpopplerqt4.h(13) : fatal error C1083: Cannot open include file: 'QMetaType': No such file or directory error: command 'C:\Users\BOGDANOVICH3975\AppData\Local\Programs\Common\Microsoft\Visual C++ for Python\9.0\VC\Bin\cl.exe' failed with exit status 2

What's wrong?

Win10 x64, PyQT4 (same problem Win7 x68)