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. QML application won't run / render after quick deployment on Win 7
Forum Updated to NodeBB v4.3 + New Features

QML application won't run / render after quick deployment on Win 7

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
4 Posts 3 Posters 1.2k 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
    Calvev
    wrote on last edited by Calvev
    #1

    Hello,

    I've developed a simple app on QT 5.5.0 on Win 8.1.
    I've deploy it to my Acer aspire one netbook that is running win 7.
    I did a quick deployment by copying the executable and all dlls, plugin, etc into a folder.

    The app could be run without anyproble, as in doubleclicking on the executable, but nothing is shown or rendered.

    Has anyone encountered the same problem? Any help is appreciated

    jsulmJ 1 Reply Last reply
    0
    • C Calvev

      Hello,

      I've developed a simple app on QT 5.5.0 on Win 8.1.
      I've deploy it to my Acer aspire one netbook that is running win 7.
      I did a quick deployment by copying the executable and all dlls, plugin, etc into a folder.

      The app could be run without anyproble, as in doubleclicking on the executable, but nothing is shown or rendered.

      Has anyone encountered the same problem? Any help is appreciated

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @Calvev Try to use http://doc.qt.io/qt-5/windows-deployment.html

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      C 1 Reply Last reply
      1
      • jsulmJ jsulm

        @Calvev Try to use http://doc.qt.io/qt-5/windows-deployment.html

        C Offline
        C Offline
        Calvev
        wrote on last edited by
        #3

        @jsulm

        I fixed it.
        The solution from that link is not detailed enough.
        Basically, I use this method:

        Copy the following into C:\Deployment\

        • The release version of MyApp.exe
        • All the .dll files from C:\Qt\5.2.1\mingw48_32\bin\
        • All the folders from C:\Qt\5.2.1\mingw48_32\plugins\ (If you used QML)
        • All the folders from C:\Qt\5.2.1\mingw48_32\qml\

        and then renamed my C:\QT folder so that I can ensure my application is running with the dlls I've copied.

        run the application, and select all file and press delete. Window won't delete file that is currently being used by the application.

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

          Hi,

          Since you are using QML did you use the --qmldir option of windeployqt ?

          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

          • Login

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Search
          • Get Qt Extensions
          • Unsolved