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. External Customization
Forum Updated to NodeBB v4.3 + New Features

External Customization

Scheduled Pinned Locked Moved Solved QML and Qt Quick
qml
3 Posts 2 Posters 555 Views 1 Watching
  • 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
    GrahamLa
    wrote on last edited by
    #1

    Hi
    In Qt Widgets there is the qss file way of providing customization of widgets. This is nice because it allows the changing of properties without recompilation.
    In QML I have been using the Style singleton method of providing customization but if I want to change a property I must recompile the application (unless I have missed something). Is there a way in QML of customizing ui elements that does not require recompilation?
    Thanks

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      Your singleton is a QML file. QML files are not compiled, you can replace the QML file between runs without recompiling the application.

      You're probably keeping your style QML inside a QRC resource - and that is compiled indeed - just take it out of there :-) QML works fine with normal paths in the file system.

      (Z(:^

      G 1 Reply Last reply
      1
      • sierdzioS sierdzio

        Your singleton is a QML file. QML files are not compiled, you can replace the QML file between runs without recompiling the application.

        You're probably keeping your style QML inside a QRC resource - and that is compiled indeed - just take it out of there :-) QML works fine with normal paths in the file system.

        G Offline
        G Offline
        GrahamLa
        wrote on last edited by
        #3

        @sierdzio
        Thanks a lot - i'll give it a go

        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