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. Cannot edit QML files in Qt Creator
Forum Updated to NodeBB v4.3 + New Features

Cannot edit QML files in Qt Creator

Scheduled Pinned Locked Moved Solved QML and Qt Quick
3 Posts 2 Posters 247 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.
  • A Offline
    A Offline
    archisthebest
    wrote on last edited by
    #1

    So the only thing I really want to use QT creator for is its WYSIWYG QML editor capability, as my front-end dev and eyeballing skills are less than stellar. I've finally had some great success by using kde-builder to properly connect to project dependencies (including my own new ones), but have suddenly been getting a grayed-out "Design" button on QML files. Has something changed that now only allows the feature on .ui files? Working fine on .ui files, but would greatly prefer QML for my use case. Thanks if someone can shine some light on this for me.

    2bc433ce-9f04-4991-8821-c4b2f511434d-image.png

    1 Reply Last reply
    0
    • A Offline
      A Offline
      archisthebest
      wrote on last edited by archisthebest
      #3

      Thanks @sierdzio, if only! The solution for now is to open the QML file in Qt Design studio, available only from the Qt online installer on their website. I had missed the “open file” as opposed to “open project” button.

      Still weird, because as far as I can tell, Arch (I use arch, btw :) ) doesn’t have a repo for Design Studio, including in the AUR. And for sure, I had been editing QML files within Qt Creator before. Further, I have to open Design Studio from the command line, directly from the binary. But whatever, Design Studio totally suits my purpose here, so I’m happy (and ready to return to my backend lifestyle!). Will update if I figure out what I’m “really” doing wrong.

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

        It's probably not that, but try renaming your file to main.qml (lower case). Maybe the capital letter confuses some internal logic of the designer.

        (Z(:^

        1 Reply Last reply
        0
        • A Offline
          A Offline
          archisthebest
          wrote on last edited by archisthebest
          #3

          Thanks @sierdzio, if only! The solution for now is to open the QML file in Qt Design studio, available only from the Qt online installer on their website. I had missed the “open file” as opposed to “open project” button.

          Still weird, because as far as I can tell, Arch (I use arch, btw :) ) doesn’t have a repo for Design Studio, including in the AUR. And for sure, I had been editing QML files within Qt Creator before. Further, I have to open Design Studio from the command line, directly from the binary. But whatever, Design Studio totally suits my purpose here, so I’m happy (and ready to return to my backend lifestyle!). Will update if I figure out what I’m “really” doing wrong.

          1 Reply Last reply
          0
          • A archisthebest has marked this topic as solved on
          • A archisthebest has marked this topic as solved on

          • Login

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