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

qmake fails to create TARGET_plugin_import.cpp and TARGET_qml_plugin_import.cpp when target is lib instead of app and the build of Qt is static

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.9.0 Beta 2
    • 5.7.0, 5.8.0 Beta
    • Build System
    • None
    • Mac OSX 10.11.5, Qt 5.7 built from source statically.
    • 9576b71fe8c0dea978f4bcbe15526e0e3e643cfd

      5.7 fixed a lot of problems related with qml module imports with static builds of Qt. These seem to be fixed for app templates but not for lib templates. I have a project that generates a lib with a static build of Qt and qmake doesn't generate TARGET_plugin_import.cpp and TARGET_qml_plugin_import.cpp, therefore I have to manually declare all the plugin imports on the code and initialize them by myself.

        1. template_minimal.zip
          9 kB
        2. qt-bug-new-package.zip
          67 kB
        3. Makefile.zip
          61 kB
        For Gerrit Dashboard: QTBUG-55279
        # Subject Branch Project Status CR V

            buddenha Oswald Buddenhagen
            sinosoidal Nuno Santos
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes