In soft soil engineering projects, the building loads are always required to be symmetrically distributed on the surface of the foundation to prevent uneven settlement. Even if the buildings and soft clay are controlled by engineers, it can still lead to the rheology of the foundation. The analytical solution based on the Laplace integral transformation method has positive significance for providing a simple and highly efficient way to solve engineering problems, especially in the long-term uneven settlement deformation prediction of buildings on soft soil foundations. This paper proposes an analytical solution to analyze the deformation of soft soil foundations. The methodology is based on calculus theory, Laplace integral transformation, and viscoelastic theory. It combines an analytical solution with finite theory to solve the construction sequences and loading processes. In addition, an improved quantum genetic algorithm is put forward to inverse the parameters of soft soil foundations. The analytical solution based on Laplace integral transformation is validated through an engineering case. The results clearly illustrate the accuracy of the method.