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

static declarative app built with cmake fail to run

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 6.0.0, 6.0.1
    • Build System: CMake
    • None
    • iOS/tvOS/watchOS, Linux/Wayland, macOS, WebAssembly

      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.

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

            qtbuildsystem Qt Build System Team
            lpotter Lorn Potter
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes