qmake: /libQt5Multimedia.so and /libQt5MultimediaWidgets.so are incorrectly located
-
Hi,
Do you have the same issue if you try with a simple project using Qt Multimedia and MultimediaWidgets ?
-
Hi,
Do you have the same issue if you try with a simple project using Qt Multimedia and MultimediaWidgets ?
-
Did you test it with both qmake alone and with the custom parameters ?
-
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.
-
Can you try this command by changing
=
by+=
for the variousFLAGS
parameters ? -
Next step: put these changes in the
.pro
file to see if there's some unintended interaction with the shell. -
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
-
Can you share that
.pro
file so it's possible to test in the same conditions ?