It took sometime to figure out the missing library.
It seems the qt-creator package does not install some of the libraries.
I had to install the following library package using the package manager to get the functionality working:
qml-module-qtquick-controls2
It would bet great if the qtcreator GUI itself reported about the missing libraries.
Instead of dumping it on the console.