PythonQt
PythonQt copied to clipboard
QSound belongs to QtMultimedia not QtGui
I'm working on CMakeLists and a little in PythonQt_QtAll.cpp to optionally exclude most part of Qt modules. Doing that I found that excluding Multimedia module causes a build error:
com_trolltech_qt_gui7.cpp d:\3rd_party\pythonqt\pythonqt-master\generated_cpp_54\com_trolltech_qt_gui\com_trolltech_qt_gui7.h(55) : fatal error C1083: Cannot open include file: 'qsound.h': No such file or directory
The point is that QSound class is supposed to be located in QtGui while, at least in Qt 5, it is in fact in Multimedia module (Qt5Multimedia.dll). So, from my point of view, the QSound class should be moved in some "\generated_cpp_5\com_trolltech_qt_multimedia*" file.
Kind regards, Gianni