Important: Please read the Qt Code of Conduct -

QLineEdit action's icon - active mode doesn't work

  • I have QLineEdit with action which open directory and set selected dir path in QLineEdit text. Action has QIcon set from QtAwesome library (FontAwesome This library has support for all QIcon modes and they work perfectly in all widgets in my app, except QAction. Seems that mode QIcon::Active is just ignored when I move mouse cursor over action but when I click on it then icon properly change to QIcon::Selected mode. Just missing "hover" mode in QAction

    Qt Creator 4.8.0
    Qt 5.12.0
    KDE Neon LTS 5.12 (ubuntu based distro)

  • Lifetime Qt Champion


    Please provide a minimal compilable example that shows that behaviour.

    Also, you provided Qt Creator's information, not the Qt version you are currently using.

Log in to reply