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

Many examples unbuildable in binary Qt5 packages

    XMLWordPrintable

    Details

    • Commits:
      qtscript: 9aca40cd8dd4380131fdf411e4cc6402a4735477 qtxmlpatterns: 89c39769e3102d6c3a2231787155a490894b8ff1 activeX:91d134a1f9f7eec243b7891886923e8ac0380527 qtmultimedia: 5ef6db169e3ab8e7d7f521ea183d3673c4e74d5b qttools: 97080263f364df449da409a0aecbd329b

      Description

      In the binary Qt5 packages, many of the example programs cannot be rebuilt by the user because of missing files. This significantly reduces the value of such example programs to the user.

      Background:
      In Qt4, the precompiled examples were packaged by taking the source directory after building, just removing the object files.

      In Qt5, the packages instead uses the results of "make install". However, many examples do not specify all required files in the install target in the .pro file. In particular:

      • Many of the C++ examples do not install the resources (e.g. png files for icons)
      • The QML examples do not install the .qmlproject file, so the example cannot easily be opened from creator
      • Some of the C++ examples depend on some common code, built as a static library (e.g. demo_lib.lib and pnp_basictools.lib) - those are not installed.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              jturcott Jocelyn Turcotte
              Reporter:
              vgt Eirik Aavitsland
              Votes:
              0 Vote for this issue
              Watchers:
              12 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes