I ran into some compiler errors while trying to compile on windows. I'm using MSVC 2015, Qt 5.6 and Python 3.5.
First there was an issue with PythonQtConversion.cpp:
.\PythonQtConversion.cpp(1511): error C2143: syntax error: missing ';' before '}'
This was easily fixed by adding a semicolon in the PythonQtConv::isStringType method.
I then ran into another issue:
.\PythonQtSlotDecorator.cpp(45): error C2440: 'initializing': cannot convert from 'const char [5]' to 'char '
.\PythonQtSlotDecorator.cpp(45): note: Conversion from string literal loses const qualifier (see /Zc:strictStrings)
.\PythonQtSlotDecorator.cpp(45): error C2440: 'initializing': cannot convert from 'const char [7]' to 'char '
.\PythonQtSlotDecorator.cpp(45): note: Conversion from string literal loses const qualifier (see /Zc:strictStrings)
I haven't worked this one out yet. Any help would be appreciated! :)
Last edit: Olav Sortland Thoresen 2016-07-21
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I ran into some compiler errors while trying to compile on windows. I'm using MSVC 2015, Qt 5.6 and Python 3.5.
First there was an issue with PythonQtConversion.cpp:
This was easily fixed by adding a semicolon in the PythonQtConv::isStringType method.
I then ran into another issue:
I haven't worked this one out yet. Any help would be appreciated! :)
Last edit: Olav Sortland Thoresen 2016-07-21
Thanks for the report, I fixed both on the SVN trunk.
The MSVC 2015 problem can also be solved by a newer service pack or different compiler options, but I fixed it anyways.
Awesome, compiles fine now! Thanks alot.
Sorry for the inconvenience! I should test with PY3K more regular...