Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Error on Qt 5.8 compilation
Forum Update on Monday, May 27th 2025

Error on Qt 5.8 compilation

Scheduled Pinned Locked Moved Unsolved General and Desktop
5 Posts 2 Posters 1.8k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    wwolff
    wrote on last edited by
    #1

    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.

    A 1 Reply Last reply
    0
    • W wwolff

      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.

      A Offline
      A Offline
      ambershark
      wrote on last edited by
      #2

      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?

      My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

      1 Reply Last reply
      0
      • A Offline
        A Offline
        ambershark
        wrote on last edited by
        #3

        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"
        ./qtmultimedia/include/QtMultimedia/qtmultimediadefs.h
        ./qtmultimedia/src/multimedia/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.

        My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

        1 Reply Last reply
        0
        • W Offline
          W Offline
          wwolff
          wrote on last edited by
          #4

          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.

          Cheers.

          A 1 Reply Last reply
          0
          • W wwolff

            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.

            Cheers.

            A Offline
            A Offline
            ambershark
            wrote on last edited by
            #5

            @wwolff

            ../../src/multimedia/qtmultimediadefs.h

            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/'.

            My L-GPL'd C++ Logger github.com/ambershark-mike/sharklog

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved