We present a potential of which the short-distance part is given by one gluon exchange plus perturbative one-and two-loop corrections and of which the largedistance part exhibits a temperature-dependent constant value. The Schrödinger equation with this temperature-dependent potential yields a temperature dependence of the mesonic quark-antiquark relative-motion wave function and of meson masses. The temperature dependence of the potential, the wave function and the meson masses brings about temperature dependence of cross sections for the nonresonant reactions ππ → ρρ for I = 2, KK for I = 1, πK → ρK * for I = 3/2, πK * → ρK * for I = 3/2, ρK → ρK * for I = 3/2 and πK * → ρK for I = 3/2. As the temperature increases, the rise or fall of peak cross sections is determined by the increased radii of initial mesons, the loosened bound states of final mesons, and the total-mass difference of the initial and final mesons. The temperature-dependent cross sections and meson masses are parametrized.