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

Examples are organized badly and inconsistent. makes it hard/confusing to find the source files

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P1: Critical P1: Critical
    • None
    • 5.0.0 RC 1
    • Packaging & Installer
    • None
    • qt-windows-opensource-5.0.0-rc1-msvc2010_32-x86-offline-2012-12-03-362.exe

      For instance, the binary for qtsvg bearercloud example is found in

      5.0.0-rc1\msvc2010\examples\qtsvg\network\bearercloud

      while the sources are found in

      5.0.0-rc1\msvc2010\examples\network\bearercloud

      And since "network" is a toplevel example directory used by other modules, there are other examples (not only from qtsvg module) found in here.

      However, this is inconsistent with the location for the binary for the regexp example:

      5.0.0-rc1\msvc2010\examples\tools\regexp

      while the sources are found in

      5.0.0-rc1\msvc2010\examples\widgets\tools\regexp

      So, for qtsvg examples, their binary are placed in a module-specific folder, while the sources are placed one step closer to the root.
      OTOH for the regexp example, the binary is placed one step closer to the root, while the sources are placed one step further from the root.

      I don't see the logic, and I have to often do a recursive search (with the aid of my shell) to find what I need.

      To illustrate this mess for the regexp , bearercloud and networkaccessmanagerfactory examples:

        binary path source path
      regexp examples\tools\regexp\ examples\widgets\tools\regexp\
      bearercloud examples\qtsvg\network\bearercloud\ examples\network\bearercloud\
      networkaccessmanagerfactory examples\declarative\cppextensions\networkaccessmanagerfactory\release, examples\qtquick\qml\networkaccessmanagerfactory, examples\qtquick1\declarative\cppextensions\networkaccessmanagerfactory examples\declarative\cppextensions\networkaccessmanagerfactory, examples\qml\networkaccessmanagerfactory

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

            buddenha Oswald Buddenhagen
            smd Jan Arve
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes