Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Qt Academy Launch in California!

    Unsolved Don't work look-and-feel

    Qt for Python
    1
    3
    174
    Loading More Posts
    • 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
      WeedMan last edited by

      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 Reply Quote 0
      • W
        WeedMan last edited by

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

        1 Reply Last reply Reply Quote 0
        • W
          WeedMan last edited by

          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 Reply Quote 0
          • First post
            Last post