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

cmake does not generate QT_PLUGIN_RESOURCE_INIT_FUNCTION

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • P2: Important
    • 6.1
    • 6.0.0 Alpha
    • Build System: CMake

    Description

      When building a static plugin, qmake generates  a cpp file that gets included that init the resrouces:

      Q_INIT_RESOURCE(qmake_wasmfonts);

       

      cmake does not generate this file, so resources are not found when running the app.

       

      Attachments

        Issue Links

          Activity

            People

              semlanik Alexey Edelev
              lpotter Lorn Potter
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: