Hey,
Okay, so it sounds like you originally installed the wrong version of Qt?
Renaming a folder controlled by your package manager was a mistake, you should not have a reason to do that. That information is probably stored in at least one cache or index somewhere, and by renaming it manually you invalidated those entries. This is most likely why your build is failing, as I see later down in the file CMake is trying and failing to pull from a folder with "qt@5.5" in the name.
First, undo any manual renames you did. Then, my hunch is that if the folder is called qt@5.5, you may need to use that package name to refer to it.
Can you tell me what the output is for the following commands:
brew --prefix qt55
brew --prefix qt@5.5
?
If the second produces something intelligible, then perhaps you need to use `brew --prefix qt@5.5` instead of `brew --prefix qt55` in your build commands.
Regards,
Brian