Either "this was a far-from-ideal solution" or "this solution was far from ideal".

Likewise, "it wasn't an all-that-useful tool" or "this tool wasn't all that useful".

In both cases, I prefer the latter.