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. QtQuick Project exe in release mode issue.
Forum Updated to NodeBB v4.3 + New Features

QtQuick Project exe in release mode issue.

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

    I have worked with VC++ project during my past days. Whenever the project is build in release mode or debug mode, the exe runs itself without any additional dependencies. We just have to click on the exe, and the project runs.

    But this is not working in QML project. I have both debug & release desktop versions of project, but they are not running on clicking the exe.
    Do we need some additional component to make a sort of wrapper for exe to make it run.

    How can I deploy my simple Qt project? Is there an another step to deploy it?

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

      The information you have provided is not sufficient. Do you get any errors when attempting to run the QML application?

      In general, on Windows, you need to ship your product together with Qt dlls. For most apps those would include QtCore, QtGui, QtDeclarative and QtScript (this list is for Qt4. Qt5 is different here) + all other modules you are using (QtXml, for example).

      Then, QML code is usually loaded by a relative path, so you need to make sure this path remains valid for your deployed application. An alternative is to use QRC (Qt resources) and thus compile the code into the binary.

      (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