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

When using QtQuickControl2.x in static qt, it crashes at runtime.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Invalid
    • Affects Version/s: 5.15.2
    • Fix Version/s: None
    • Labels:
      None
    • Environment:
      linux20.04 qt5.15.2
    • Platform/s:
      Linux/X11

      Description

      When I use the following configuration to statically compile qt, after all passes without errors, I use the qmake tool generated by the compiler to test the basic program. But when I only imported the control2.x module in it, I compiled and ran successfully with qmake on the local machine, but when I copied the successful program to another computer, it crashed.

        Attachments

        1. crash_print.png
          crash_print.png
          77 kB
        2. image-2021-07-26-16-34-58-607.png
          image-2021-07-26-16-34-58-607.png
          93 kB
        3. image-2021-07-26-16-38-24-939.png
          image-2021-07-26-16-38-24-939.png
          7 kB
        4. image-2021-07-26-16-40-52-845.png
          image-2021-07-26-16-40-52-845.png
          207 kB
        5. image-2021-07-26-16-54-22-527.png
          image-2021-07-26-16-54-22-527.png
          67 kB
        6. image-2021-07-27-10-45-20-600.png
          image-2021-07-27-10-45-20-600.png
          128 kB
        7. image-2021-07-27-10-47-25-845.png
          image-2021-07-27-10-47-25-845.png
          269 kB
        8. image-2021-07-27-16-18-25-350.png
          image-2021-07-27-16-18-25-350.png
          99 kB
        9. normal_operation.png
          normal_operation.png
          128 kB
        10. StaticTest.7z
          9.17 MB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            qtbuildsystem Qt Build System Team
            Reporter:
            after_april lu wq
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes