Important: Please read the Qt Code of Conduct -

Error on Qt 5.8 compilation

  • Hi,

    I install the new version and try compile a project that i have working properly in the last release(5.7) , and now i´m receiving for the same system the compilation error without change anything on the system:

    "c:\qt\5.8\msvc2015_64\include\qtmultimedia\qtmultimediadefs.h(1): fatal error C1083: Cannot open include file: '../../src/multimedia/qtmultimediadefs.h': No such file or directory

    My installation allways i remove all installations and install the new one , so i only have the 5.8 release installed now.

    Qt Multimedia are not being distributed in this release? any idea?

    Kind Regards.

  • Moderators

    So ../../ would be this dir c:\qt\5.8\msvc2015_64. Is there a src/multimedia/ directory under that? And if so is there a qtmultimediadefs.h?

  • Moderators

    I ran a quick find on my 5.8 sources and this is what I got:

    [shockwave] /data/builds/qt-everywhere-opensource-src-5.8.0 > find . -iname "qtmultimediadefs.h"

    So there is definitely a qtmultimediadefs.h file where it is supposed to be on my Qt extract. You'll want to find it on your and see if you have a bad extract or something.

  • Yes , i know, this is why i write this topic.

    It seems the distribution of Qt. 5.8 are not copying all the required files when we do not select the "source code" check box on the instalation manager.

    I dont need the source code of Qt, only the IDE and libraries and files of the distribution.


  • Moderators



    That path would never be in the non-source install of Qt though. That is something that is used to build Qt from source. Once it's built it would not be referenced in anything that your project would use.

    So I don't think it's missing from the regular installer. The regular install would have that in <base dir>/include/QtMultimedia/qtmultimediadefs.h and not in anything labeled 'src/'.

Log in to reply