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. No QML errors, but it won't start
QtWS25 Last Chance

No QML errors, but it won't start

Scheduled Pinned Locked Moved QML and Qt Quick
4 Posts 2 Posters 1.7k 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.
  • O Offline
    O Offline
    ondrejandrej
    wrote on last edited by
    #1

    Hi,

    I'm trying to port an app that uses Ubuntu components to pure Qt Quick, so that I can run it e. g. on Android. So I replaced the Ubuntu elements with Qt Quick elements (MainView -> Window etc) and eliminated all QML errors in the application ouput. Now I have no errors, but application still won't show. It pretends to be running and my test line with console.log is executed in Component.onCompleted, but no window shows up.
    Is there a way to enable something like a more detailed QML debugging output?

    1 Reply Last reply
    0
    • p3c0P Offline
      p3c0P Offline
      p3c0
      Moderators
      wrote on last edited by
      #2

      Hi,

      Is the Window component visible ?

      157

      1 Reply Last reply
      0
      • O Offline
        O Offline
        ondrejandrej
        wrote on last edited by
        #3

        Hi p3c0,

        I thought that visible property is true by default, but after your post I inserted visible: true in the code and now it works!
        Thanks

        1 Reply Last reply
        0
        • p3c0P Offline
          p3c0P Offline
          p3c0
          Moderators
          wrote on last edited by
          #4

          You're Welcome. It should actually be true by default. Don't know why the Qt developers want it to be explicitly set to true. The Qt Creator properly sets it in Qt Creator >= 5.3 when new project Qt Quick Application is created.

          157

          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