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. qmake: /libQt5Multimedia.so and /libQt5MultimediaWidgets.so are incorrectly located
Qt 6.11 is out! See what's new in the release blog

qmake: /libQt5Multimedia.so and /libQt5MultimediaWidgets.so are incorrectly located

Scheduled Pinned Locked Moved Unsolved General and Desktop
12 Posts 2 Posters 859 Views 2 Watching
  • 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.
  • SGaistS Offline
    SGaistS Offline
    SGaist
    Lifetime Qt Champion
    wrote on last edited by
    #2

    Hi,

    Do you have the same issue if you try with a simple project using Qt Multimedia and MultimediaWidgets ?

    Interested in AI ? www.idiap.ch
    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

    nestoracN 1 Reply Last reply
    0
    • SGaistS SGaist

      Hi,

      Do you have the same issue if you try with a simple project using Qt Multimedia and MultimediaWidgets ?

      nestoracN Offline
      nestoracN Offline
      nestorac
      wrote on last edited by nestorac
      #3

      @SGaist I have tried a new minimal project with only main.cpp and .pro file, and it works perfectly. Why does the project not work, then?

      1 Reply Last reply
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #4

        Did you test it with both qmake alone and with the custom parameters ?

        Interested in AI ? www.idiap.ch
        Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

        1 Reply Last reply
        0
        • nestoracN Offline
          nestoracN Offline
          nestorac
          wrote on last edited by
          #5

          Yes, the complete command is:

          /usr/lib/qt5/bin/qmake -o Makefile src.pro 'QMAKE_CC = cc' 'QMAKE_CXX = g++' 'QMAKE_CFLAGS_RELEASE = -Wdate-time -D_FORTIFY_SOURCE=2 -O3' 'QMAKE_CXXFLAGS_RELEASE = -Wdate-time -D_FORTIFY_SOURCE=2 -O3' 'QMAKE_LFLAGS_RELEASE = -Wl,-Bsymbolic-functions -flto=auto -ffat-lto-objects -flto=auto -Wl,-z,relro'
          

          and it produces the same error.

          1 Reply Last reply
          0
          • SGaistS Offline
            SGaistS Offline
            SGaist
            Lifetime Qt Champion
            wrote on last edited by
            #6

            Can you try this command by changing = by += for the various FLAGS parameters ?

            Interested in AI ? www.idiap.ch
            Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

            1 Reply Last reply
            0
            • nestoracN Offline
              nestoracN Offline
              nestorac
              wrote on last edited by
              #7

              Of course! I have tried and I get the same error.

              1 Reply Last reply
              0
              • SGaistS Offline
                SGaistS Offline
                SGaist
                Lifetime Qt Champion
                wrote on last edited by
                #8

                Next step: put these changes in the .pro file to see if there's some unintended interaction with the shell.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • nestoracN Offline
                  nestoracN Offline
                  nestorac
                  wrote on last edited by
                  #9

                  No way, the .pro file contains QT +=, LIBS +=, TARGET =, TEMPLATE =, SOURCES +=, HEADERS +=, FORMS +=, RESOURCES +=, and many "includes". The strangest things is that it correctly produces /usr/lib/x86_64-linux-gnu/libQt5Multimedia.so and /usr/lib/x86_64-linux-gnu/libQt5Widgets.so (I don't know if it's the same as libQt5MultimediaWidgets), but then, it also generates incorrect /libQt5Multimedia.so and /libQt5MultimediaWidgets.so

                  1 Reply Last reply
                  0
                  • SGaistS Offline
                    SGaistS Offline
                    SGaist
                    Lifetime Qt Champion
                    wrote on last edited by
                    #10

                    Can you share that .pro file so it's possible to test in the same conditions ?

                    Interested in AI ? www.idiap.ch
                    Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                    nestoracN 1 Reply Last reply
                    0
                    • SGaistS SGaist

                      Can you share that .pro file so it's possible to test in the same conditions ?

                      nestoracN Offline
                      nestoracN Offline
                      nestorac
                      wrote on last edited by
                      #11

                      @SGaist of course, here it is.

                      1 Reply Last reply
                      0
                      • nestoracN Offline
                        nestoracN Offline
                        nestorac
                        wrote on last edited by
                        #12

                        The project is published here, if I'm right (branch is version-2.0-stable).

                        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