On Wednesday 24 August 2011 12:30:15 ext Wilhelm wrote:
> Hi all,
>
> if one uses the boost unit test macros (see below), qtcreator markes the
> BOOST_CHECK(...) macros as syntax error (expected ;):
>
> #include <boost/test/unit_test.hpp>
>
> #include "person.h"
>
> BOOST_AUTO_TEST_CASE(Person1)
> {
> Person p("Hugo", "Tester");
> BOOST_CHECK(p.firstname() == "Hugo");
> BOOST_CHECK(p.lastname() == "Tester");
> }
>
> Does anybody know how to avoid this (yes, I can use the Qt unit testing
> framework, but thats not a solution in this special case)?
I can't reproduce the error you describe with 2.3 or master. If you can,
please create a bug report.
_______________________________________________
Qt-creator mailing list
[email protected]
http://lists.qt.nokia.com/mailman/listinfo/qt-creator