Integral functionals convergence and connections with some variational inequalities