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

qmake -query produces seg fault

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 6.9.1
    • Build tools: qmake
    • None
    • uname -a
      Linux raspberrypi 6.12.34+rpt-rpi-2712 #1 SMP PREEMPT Debian 1:6.12.34-1+rpt1~bookworm (2025-06-26) aarch64 GNU/Linux
    • Linux/Wayland

       

      I'm running on a Raspberry Pi5 using Raspberry Pi OS (Bookworm) and get this error:

       

      doug@raspberrypi:~/Qt/6.9.1/gcc_arm64/bin $ ./qmake -query
      Segmentation fault

       

      While my system may be misconfigured, I feel that properly written software should never produce this kind of error.  There should be some kind of proper error message before terminating the executable.

      I've attached the Installation Log for the RPi5, and an strace log, the output is from "strace qmake -query".

      As a fix, I was able to download "qt-everywhere-src-6.9.1.tar.xz" and follow the build instructions for a native compilation on the Raspberry Pi OS, and point the installed QtCreator binary at the qmake in this natively compiled version.  The natively compiled qmake -query produces a correct result and does not get an error.

        1. InstallationLog.txt
          461 kB
        2. strace.log
          24 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qtbuildsystem Qt Build System Team
            austin944 Douglas Holtsinger
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes