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

cmake does not generate QT_PLUGIN_RESOURCE_INIT_FUNCTION

XMLWordPrintable

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

      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.

       

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

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes