Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. Qt quick miss some styles?

Qt quick miss some styles?

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
1 Posts 1 Posters 162 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.
  • G Offline
    G Offline
    gino5566
    wrote on last edited by gino5566
    #1

    hi,
    I'm trying use the -style to specify the style so I can properly display the button on vnc of webgl platform ( or the button would disappear and leave only text )

    I'm using qt 5.15.2, in the qt designer , the qtquickcontrols2.conf shows the style= Material. when I type -style Material to run the compiled program , the program show me that message:

    QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
    QApplication: invalid style override 'Material' passed, ignoring it.
       Available styles: Windows, Fusion
    

    according to the document, it should be Basic, Fusion , Imagine ... styles, but the program found only Windows and Fusion.

    In the qml > QtQuick > Controls.2 , there are "Fusion", "Imagine", "Material", and "Universal" folder. So I think the program at least should find these four styles.

    How do I make my Qt find other styles than Windows and Fusion?

    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