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

qobject_cast fails on armhf

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated 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

      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.

        1. readelf_app
          3 kB
          Rohan Garg
        2. readelf_libQt5Widgets
          3.66 MB
          Rohan Garg
        3. test.tar.gz
          10 kB
          Rohan Garg
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes