Skip to content

Enable out-of-source (shadow) builds. #501

@boppybibbles

Description

@boppybibbles

Enable out-of-source (shadow) builds.

Out-of-source build is a widely used practice. Unfortunately it is not possible to use it out of the box because of compiler error.

How to reproduce:

  • clone to QtPass directory: git clone git@github.com:IJHack/QtPass.git;
  • create build directory which is out of source directory: mkdir build && cd build;
  • configure project: qmake ../QtPass;
  • make project: make;
  • observe compiler error below.

Compiler error:

make[1]: *** No rule to make target '../../QtPass/localization/localization_nl_NL.qm', needed by 'qrc_resources.cpp'.  Stop.
make[1]: Leaving directory '/tmp/build/src'
make: *** [Makefile:49: sub-src-make_first] Error 2

Related to #467.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions