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. QML Backward Compatibility
Forum Updated to NodeBB v4.3 + New Features

QML Backward Compatibility

Scheduled Pinned Locked Moved QML and Qt Quick
2 Posts 2 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.
  • Q Offline
    Q Offline
    qtd1d1
    wrote on last edited by
    #1

    Hi,

    we want to adjust our application for the new Qt Quick 2.0. The reason is the graphicaleffects module.
    But it should also work with Qt Quick 1.

    Is it possible to link dynamically to Qt Quick 2, if it's available.
    If not link to Qt Quick 1.

    Any Ideas?

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

      Not really... in QML code you import either 2.0 OR 1.0. Also, the classes that display QML in C++ are different. So it's probably not possible unless you are prepared to use an awful lot of ifdefs in your code.

      When I was in a transition period between Qt4 and 5 in my project, I just used a script I have written that did most of the changes automatically.

      (Z(:^

      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