Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt 5.3 breaks backwards compatibility with 5.2.1 QtQuick applications

Qt 5.3 breaks backwards compatibility with 5.2.1 QtQuick applications

Scheduled Pinned Locked Moved General and Desktop
5 Posts 3 Posters 1.7k 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.
  • D Offline
    D Offline
    DerMas
    wrote on last edited by
    #1

    So I just tried the new Qt 5.3 with the new Qt Creator 3.1 and I can only see a mess:

    • New errors appear, like: "QML Rectangle: Cannot anchor to an item that isn't a parent or sibling." Which links to a Rectangle that doesnt even have an anchor and also worked perfectly with Qt 5.2.1
    • The size of fonts is messed up. With the same font.pixelsize value they are bigger than before, breaking layouts.
    • Qt.createComponent() / component.createObject(parent) doesnt work anymore (although the qml for the component works flawlessly with a Loader)

    So, I hope for a bugfix release soon :(

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      This forum is not the best place for bug reporting. You should go to the "bug report system":http://bugreports.qt-project.org and see if it's something known. If not please open a new report providing a minimal compilable example that shows the problem

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • D Offline
        D Offline
        DerMas
        wrote on last edited by
        #3

        K, thx.

        1 Reply Last reply
        0
        • D Offline
          D Offline
          dimyan
          wrote on last edited by
          #4

          Hi DerMas,

          I have some idea for component.createObject() function in 5.3.
          I also used this function in 5.2.1 and child's size was depend on it's parent's size.
          It works fine in 5.2.1. and don't work in 5.3.
          I get log for parent item for it's Component.onCompleted and onWidthChanged.

          In 5.2.1 the order of calls was
          onWidthChanged
          onCompleted
          but in 5.3 it was
          onCompleted
          onWidthChanged.

          So, the order of calls is opposite and it need to pay attention and made some changes on code.
          Hope my answer was helpfull.

          1 Reply Last reply
          0
          • D Offline
            D Offline
            DerMas
            wrote on last edited by
            #5

            Thanks @dimyan :-)

            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