Avoid executing stuff in constructors

Authored by fazevedo on Feb 2 2018, 2:18 PM.

Description

Avoid executing stuff in constructors

This fix 2 issues:

  • Avoid executing stuff from ctor because it's loaded by craft search
  • Fix a possible crash when Qt is not in PATH

Details