Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    Deploy an QML App in Windows!

    India
    2
    7
    3769
    Loading More Posts
    • 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.
    • I
      indruxneo last edited by

      Hi there! I had just started working on QT and QML for a project!
      I had compiled a sample program with QT5.1 and used dependency walker for solving the dll dependencies!
      While running the exe it asked for more dependencies at last following dll were added

      icudt49.dll
      icuin49.dll
      icuuc49.dll
      libgcc_s_sjlj-1.dll
      libGLESv2.dll
      libstdc++-6.dll
      libwinpthread-1.dll
      Qt5Core.dll
      Qt5Declarative.dll
      Qt5Gui.dll
      Qt5Network.dll
      Qt5Script.dll
      Qt5Sql.dll
      Qt5Widgets.dll
      Qt5XmlPatterns.dll

      Atlast it gave me an VC Runtime error! Any idea how to solve this!

      x-neo

      1 Reply Last reply Reply Quote 0
      • sierdzio
        sierdzio Moderators last edited by

        VC redistributable not installed? And you need to add QPA plugin for your platform (copy qwindows.dll to plugins/platforms. If I remember the path well, that is ;) ).

        (Z(:^

        1 Reply Last reply Reply Quote 0
        • I
          indruxneo last edited by

          @sierdzio But I think VC Runtime is required only for deploying apps developed with Qt-VC, but I was using Qt-MinGW

          x-neo

          1 Reply Last reply Reply Quote 0
          • sierdzio
            sierdzio Moderators last edited by

            Ah yes, you are right. Are you sure you have MinGW build of Qt? You cannot mix libraries build with MSVC with MinGW code (there is no binary compatibility).

            (Z(:^

            1 Reply Last reply Reply Quote 0
            • I
              indruxneo last edited by

              Yes! Its MinGW build!
              'k! Is there any simple tutorial for deploying QML apps on windows!

              x-neo

              1 Reply Last reply Reply Quote 0
              • sierdzio
                sierdzio Moderators last edited by

                Hm, it could be that ICU was built with MSVC.

                Anyway, no, I have not encountered a deployment tutorial for Qt5. But search, maybe some good lad has created a wiki for it here on DevNet.

                (Z(:^

                1 Reply Last reply Reply Quote 0
                • I
                  indruxneo last edited by

                  Anyway thanks sierdzio!

                  x-neo

                  1 Reply Last reply Reply Quote 0
                  • First post
                    Last post