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

qobject_cast fails on armhf

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 5.4.2
    • Core: Object Model
    • None
    • odrioid c1 (armhf) and debian sid, self compiled Qt5 from from the 5.4 branch

    Description

      We are trying to set up a system on an odroid c1, we've been having weird crashes. I've narrowed it down to this simple test (attached) where qobject_cast returns null for QApplication. This is obviously a big problem.

      Will produce the following output:
      QObject(0x0)
      QApplication(0xbebcd088)

      Changing the QApplication in main.cpp to the App class which derives from QApplication makes the casting work, however, the app then starts crashing.

      Note that all of this works as expect on x86_64 systems.

      Attachments

        1. test.tar.gz
          10 kB
        2. readelf_libQt5Widgets
          3.66 MB
        3. readelf_app
          3 kB

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              shadeslayer Rohan Garg
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes