Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Question about depolying while using qml modules
Forum Updated to NodeBB v4.3 + New Features

Question about depolying while using qml modules

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 265 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.
  • U Offline
    U Offline
    ultimica
    wrote on last edited by ultimica
    #1

    Hi,
    While I deploy my exe using windeployqt like this

    windeployqt --qmldir ./qml "myexe.exe"
    

    I put all my needed import modules in a file in the folder name "qml".

    //qmlimports.qml
    import QtQuick 2.0
    import QtQuick 2.5
    import QtQuick.Controls 1.4
    import QtQuick.Controls 1.5
    import QtQuick.Controls.Styles 1.4
    import QtGraphicalEffects 1.0
     QtObject {}
    

    It works correctly.

    But I saw the deployed folder shows extra folders and some of the folder even shows up qml files. (Like picture below)
    0_1545112048778_Annotation 2018-12-18 134702.jpg

    Is that necessary for qt quick deployment?
    or is there anyway to export dependency without seeing qml files (only dlls)?

    Thanks for help

    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