SonarQube c++/gcc compilation on ubuntu

Does SonarQube compiles c++/gcc source code base on Ubuntu?

Of course, SonarQube run on java platform.
What you need is only install the version of java that require the sonarqube version that you want to install.