Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt for Python
  4. Don't work look-and-feel

Don't work look-and-feel

Scheduled Pinned Locked Moved Unsolved Qt for Python
3 Posts 1 Posters 396 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    WeedMan
    wrote on last edited by
    #1

    Hello. I wrote three simple application where the system displays the FileDialog. The results are different and none is purely native.
    Use QApplication and QQuickView or QFileDialog(without QML):
    0_1565596397547_QApp.png
    Use QGuiApplication and QQmlApplicationEngine:
    1_1565596397548_qmlengine.png
    FileDialog(native) open through KWrite:
    2_1565596397548_qnative.png

    How set look-and-feel/localization like as in current system?
    Why are the results still different when using QQmlApplicationEngine and QQuickView (qml-file used by the same)?

    I use PySide2 from pip
    Qt 5.11.2 from system
    Clang 7.0.1 from system
    DE: KDE5

    1 Reply Last reply
    0
    • W Offline
      W Offline
      WeedMan
      wrote on last edited by
      #2

      I tried set style Fusion but style app not yet perfected
      0_1567588498209_fusion.png

      1 Reply Last reply
      0
      • W Offline
        W Offline
        WeedMan
        wrote on last edited by
        #3

        I have Qt/PyQt 5.11 installed from repositories. I run QFileDiaolg from pure Qt app and PyQt5 and now looks as it should
        I guess if Qt build for your system then should not be problem, else may be roughness with looks and fills (post above)

        Qt app from example:
        0_1568099123033_FolderQt5.png
        PyQt5 app:
        0_1568099158494_FolderPyQt5.png

        Maybe there is still some way to give the program the current system style or is it set only at compile time Qt for OS?

        1 Reply Last reply
        0

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved