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

Qt 4.2.2 static on Mac gives QDom strange results when loaded through a shared library

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P3: Somewhat important
    • Some future release
    • 4.2.2
    • XML: DOM
    • None
    • macOS

    Description

      When building an application that loads a dynamical library with QLibrary QDom functionality is broken.

      The following results are seen (it would be expected that they returned the same results):
      > // executing test method from the lib:
      > elem.hasChildNodes()=true elem.childNodes().count()=0 <<< !!!! ERROR
      > elem.childNodes().size()=0 elem.childNodes().length()=1
      >
      > // executing test method from the app:
      > elem.hasChildNodes()=true elem.childNodes().count()=1
      > elem.childNodes().size()=1 elem.childNodes().length()=1
      >

      When the method is executed from the shared library that uses QDom
      functionality it has strange results.

      The error is seen with 4.3.0-snapshot-20070418 and qt 4.2.2 linked statically on Mac.

      It works correctly if Qt is linked as a shared library.

      Attachments

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

        Activity

          People

            sorvig Morten Sørvig
            admin Administrator
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes