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. Why deploying on Windows so complicated??

Why deploying on Windows so complicated??

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 3 Posters 457 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.
  • A Offline
    A Offline
    AlainBo
    wrote on last edited by
    #1

    Hello,

    I first tried to develop a small application using QtQuick.
    No problem when I launch it through QTCreator but I cannot get it working in standalone.

    I first built it with mingw tools but when I tried to deploy it I ran in this issue.

    So I tried to build it with MSVC tools to see if I could get lucky!

    But no!

    I used Qt\5.12.6\msvc2015_64\bin\windeployqt.exe --quick . but when I start the application a process is launched but nothing on screen!!!

    What to do?

    K 1 Reply Last reply
    0
    • A AlainBo

      Hello,

      I first tried to develop a small application using QtQuick.
      No problem when I launch it through QTCreator but I cannot get it working in standalone.

      I first built it with mingw tools but when I tried to deploy it I ran in this issue.

      So I tried to build it with MSVC tools to see if I could get lucky!

      But no!

      I used Qt\5.12.6\msvc2015_64\bin\windeployqt.exe --quick . but when I start the application a process is launched but nothing on screen!!!

      What to do?

      K Offline
      K Offline
      koahnig
      wrote on last edited by
      #2

      @AlainBo

      Well, the application deployment is not overwhelmingly complicated, if you have mastered once. I never used windeployqt.exe so far. Apparently there is a bug which is causing trouble in yourt case.

      Anyway. In you MinGw post you have apparently one dll missing which is not deployed. Just search for the dll which is coming with the compiler and copy it to the folder with your application. The rest is most likely already done.

      For windeployqt.exe you can check on jira if there is already a bug report for the issue. Otherwise you can post a new bug report. Nobody is monitoring the forum for eventual bug reports.

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      0
      • A Offline
        A Offline
        AlainBo
        wrote on last edited by
        #3

        @koahnig,

        Thanks for your answer anyway in the mingw case and as I said in my post, I already tried to manually add the missing library I can find in 3 different folders and in any case, the application crashs at launch.

        Ok I could report a bug, anyway as I'm new in Qt and as I guess I'm not the only one to want to deploy an app on windows, I first hope to find any help on it.

        Al

        K ODБOïO 2 Replies Last reply
        0
        • A AlainBo

          @koahnig,

          Thanks for your answer anyway in the mingw case and as I said in my post, I already tried to manually add the missing library I can find in 3 different folders and in any case, the application crashs at launch.

          Ok I could report a bug, anyway as I'm new in Qt and as I guess I'm not the only one to want to deploy an app on windows, I first hope to find any help on it.

          Al

          K Offline
          K Offline
          koahnig
          wrote on last edited by
          #4

          @AlainBo said in Why deploying on Windows so complicated??:

          Thanks for your answer anyway in the mingw case and as I said in my post, I already tried to manually add the missing library I can find in 3 different folders and in any case, the application crashs at launch.

          That is odd. Did you install MinGW through qt maintenance tool?
          For a newby the structure for compilers look a bit confusing. Especially the different folders where the same dll is stored again. AFAIK I am typically using the dlls as delivered in the upmost bin folder.

          Vote the answer(s) that helped you to solve your issue(s)

          1 Reply Last reply
          0
          • A AlainBo

            @koahnig,

            Thanks for your answer anyway in the mingw case and as I said in my post, I already tried to manually add the missing library I can find in 3 different folders and in any case, the application crashs at launch.

            Ok I could report a bug, anyway as I'm new in Qt and as I guess I'm not the only one to want to deploy an app on windows, I first hope to find any help on it.

            Al

            ODБOïO Offline
            ODБOïO Offline
            ODБOï
            wrote on last edited by ODБOï
            #5

            @AlainBo hi,
            quick test
            copy / past your app binary (.exe) to your Qt install dir ex : C:\Qt\5.14.0\mingw73_64\bin and try to run it.

            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