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

static declarative app built with cmake fail to run

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • P1: Critical
    • None
    • 6.0.0, 6.0.1
    • Build System: CMake
    • None
    • 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

              qtbuildsystem Qt Build System Team
              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