Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-54587

incorrect library linked in Incremental prefix build of qqc2

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P3: Somewhat important
    • None
    • 5.8.0 Alpha
    • Build tools: qmake
    • 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

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              buddenha Oswald Buddenhagen
              michal Michal Klocek
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes