Skip to content

Issue03

Christian Trageser requested to merge issue03 into main

This should fix the principle problem. However there are some annotation i have to make:

The original problem which made it necessary to deactivate the tests under windows was either:

  • catch2.dll was not in the same directory
  • OR the QObject::connect in 10_logger.cpp

Both resulted in linking issues. The first was easy to fix, the second not so much. I have not fully understood what is going wrong there, but I realized the same problem lies dormant in demo_trigger.cpp. If one introduces a connect with gLogger in that file it will produce linking errors as well. Due to this, I came to the conclusion, a redesign of 10_logger.cpp and an additional issue for investigating this problem with gLogger and connect would be the proper way. It's more specific and it makes test available under windows again right away.

In addition I encountered some problem with libqcr's version of catch2.hpp. At some point I realized that Steca has a different version of catch. I tried to copy and use Steca version of catch in libqcr and so far it works perfectly. Since these changes were made by you and I cannot tell you the full scope of these. If there are good reasons for not use Steca version of catch2.hpp in libqcr please tell me.

Resolves issue #3 (closed)

Edited by Christian Trageser

Merge request reports