Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QSound belongs to QtMultimedia not QtGui #42

Open
gambr opened this issue Apr 22, 2016 · 0 comments
Open

QSound belongs to QtMultimedia not QtGui #42

gambr opened this issue Apr 22, 2016 · 0 comments

Comments

@gambr
Copy link

gambr commented Apr 22, 2016

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant