How can I change the color of the line that highlites the selected tab in the TabBar?

According to @jpnurmi's comment, the best and easiest solution here is to utilize QtQuick.Controls.Material:
import QtQuick.Controls.Material 2.0
and then you can set Material.accent for TabBar:
TabBar {
Material.accent: Material.Red
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With