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

static declarative app built with cmake fail to run

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Duplicate
    • Affects Version/s: 6.0.0, 6.0.1
    • Fix Version/s: None
    • Component/s: Build System: CMake
    • Labels:
      None
    • Platform/s:
      iOS/tvOS/watchOS, Linux/Wayland, macOS, WebAssembly

      Description

      Using static build qtbase and declarative, building examples or apps using cmake fail to run, because it cannot find the declarative import plugins.

      This happens on desktop as well as webassembly, which both use static. I presume it also effects iOS, which is static builds as well.

      Using qmake still produces working apps.

       

      Running cmake does not generate cpp files containing Q_IMPORT_PLUGIN for the declarative import plugins like qmake will do.

        Attachments

          Issue Links

          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:
              lpotter Lorn Potter
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes