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. Windeployqt doesn't work with Qt.labs.qmlmodels
QtWS25 Last Chance

Windeployqt doesn't work with Qt.labs.qmlmodels

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
3 Posts 2 Posters 719 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.
  • R Offline
    R Offline
    RichardPP
    wrote on last edited by
    #1

    I am trying to use DelegateChooser but windeployqt doesn't copy the correct things for Qt.labs.qmlmodesl to work

    I found this old post but there was no responses:
    Re: windeployqt ignores Qt.labs.platform

    D 1 Reply Last reply
    0
    • R RichardPP

      I am trying to use DelegateChooser but windeployqt doesn't copy the correct things for Qt.labs.qmlmodesl to work

      I found this old post but there was no responses:
      Re: windeployqt ignores Qt.labs.platform

      D Offline
      D Offline
      dmginc
      wrote on last edited by
      #2

      @RichardPP

      I've just hit this problem. Did you end up finding a solution?

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

        Here is the best solution I could come up with for CMake (this assumes the QML modules are installed to the qml directory):

        install(FILES
            $<TARGET_FILE:Qt6::labsmodelsplugin>
            $<TARGET_FILE_DIR:Qt6::labsmodelsplugin>/qmldir
            DESTINATION qml/Qt/labs/qmlmodels
        )
        
        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