Details
-
Bug
-
Resolution: Duplicate
-
P3: Somewhat important
-
None
-
5.8.0 Alpha
-
None
-
linux
Description
Doing incremental build of qqc2, due to wrong order of lib flags
-L/opt/qt/5.8/lib -L/home/stefan/workspaces/qt/qt5/builds/5.8/qtquickcontrols2/lib can cause wrong linking order resulting
in linking with old qquickcontrols2templete library.
g++ -Wl,--no-undefined -Wl,--version-script,QtQuickControls2.version -fuse-ld=gold -Wl,-z,origin -Wl,-rpath,\$ORIGIN -shared -Wl,-Bsymbolic-functions -Wl,-soname,libQt5QuickControls2.so.5 -o libQt5QuickControls2.so.5.8.0 .obj/qquickcolorimageprovider.o .obj/qquickproxytheme.o .obj/qquickstyle.o .obj/qquickstyleattached.o .obj/qquickstyleplugin.o .obj/qquickstyleselector.o .obj/qquickpaddedrectangle.o .obj/qquicktumblerview.o .obj/moc_qquickstyleattached_p.o .obj/moc_qquickstyleplugin_p.o .obj/moc_qquickpaddedrectangle_p.o .obj/moc_qquicktumblerview_p.o -L/opt/qt/5.8/lib -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lpthread -L/home/stefan/workspaces/qt/qt5/builds/5.8/qtquickcontrols2/lib -lQt5QuickTemplates2 -L/opt/qt/5.8/lib -lQt5Quick -lQt5Gui -lQt5Qml -lQt5Network -lQt5Core -lpthread -lGL
Attachments
Issue Links
- duplicates
-
QTBUG-50921 independent handling of LIBS and LIBS_PRIVATE blows up
- Closed