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

XMLWordPrintable

#### Details

• Type: Bug
• Status: Closed
• Priority: P1: Critical
• Resolution: Duplicate
• Affects Version/s: 5.0.0 RC 1
• Fix Version/s: None
• Component/s:
• Labels:
None
• Environment:
qt-windows-opensource-5.0.0-rc1-msvc2010_32-x86-offline-2012-12-03-362.exe

#### Description

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

#### People

Assignee:
Oswald Buddenhagen
Reporter:
Jan Arve