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

Building a Qt module incorrectly inherits qtbase version numbers

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.0.0, 5.0.1
    • Fix Version/s: 5.0.2
    • Component/s: Build System
    • Labels:
      None
    • Commits:
      many

      Description

      When you build one of the other Qt modules, they incorrectly inherit qtbase's version.

      Steps to reproduce:

      1. Check out qtbase of a given version (for example, 5.0.2 or dev)
      2. Build it
      3. Check out qtsvg of a different version (for example, 5.0.1)
      4. Build it

      Note how it creates headers and a library for the wrong version.

      For example, for qtbase=dev and qtsvg=stable:

      rm -f libQt5Svg.so.5.1.0 libQt5Svg.so libQt5Svg.so.5 libQt5Svg.so.5.1
      g++ -pipe -march=corei7-avx -Wl,-O1 -Wl,--as-needed -Wl,-z,relro -Wl,--no-undefined -Wl,-rpath,/home/thiago/obj/qt/qt5/qtbase/lib -shared -Wl,-soname,libQt5Svg.so.5 -o libQt5Svg.so.5.1.0 [other args]
      

        Attachments

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

          Activity

            People

            Assignee:
            buddenha Oswald Buddenhagen
            Reporter:
            thiago Thiago Macieira
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes