Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

QPushButton on android is surrounded by square when clicking



  • I'm creating a dictionary app for both windows and android buy I have some problems on android

    The QPushButton gets surrounded by a square when I click it and the square isn't removed until I click on another element

    I used the stylsheet to set the button border to 0 and set the icon with qt designer

    There is no issue with this on windows

    0_1558305847790_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-١٦-٥٤٣_org.qtproject.example.android_gui.png

    0_1558305853831_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-٢٢-٨٩٧_org.qtproject.example.android_gui.png

    0_1558305864330_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-٣٠-١١١_org.qtproject.example.android_gui.png

    0_1558305871352_Screenshot_٢٠١٩-٠٥-٢٠-٠٠-٢٦-٣٥-١٥٤_org.qtproject.example.android_gui.png


  • Moderators

    hi @Devcpp and welcome,

    in your stylesheet, set the outline to none


Log in to reply