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. How to get standalone deployment of Qt5 Application / Gamma Ray / Windows
Forum Updated to NodeBB v4.3 + New Features

How to get standalone deployment of Qt5 Application / Gamma Ray / Windows

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
gammaray
4 Posts 2 Posters 574 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.
  • B Offline
    B Offline
    brycegbrazen
    wrote on last edited by brycegbrazen
    #1

    Hi all,

    I'm trying to use windeployqt.exe to create a standalone deployment of Gamma Ray.

    I ran windeployqt.exe and passed the gammaray-launcher.exe as the file positional argument and I saw new files appear in the install directory, but when I try to double click the gammaray-launcher.exe afterwards, I still get errors like the following screenshots:

    180fdc82-70e4-4f62-b434-d103f93aaa49-image.png

    f16e48dd-852c-4691-a700-c62290a79490-image.png

    Is there something else I need to do for Gamma Ray to know how to find these bundled .dll files? I'm pretty new to building C++ projects so I'm not sure what I'm missing here.

    For additional context:

    • I installed Qt using the Qt Online Installer, and installed to C:\Qt515. I installed the MSVC 2019 64-Bit package for Qt 5.15.2, and that is located at C:\Qt515\5.15.2\msvc2019_64.
    • As a workaround, I noticed that if I run a shell and set the PATH to include both: C:\Qt515\5.15.2\msvc2019_64\bin
      C:\Qt515\5.15.2\msvc2019_64\lib
      I can run gammaray-launcher.exe successfully from that shell. However, I want to be able to just double-click the gammaray-launcher.exe in the File Explorer (without having to use a shell).
    jsulmJ 1 Reply Last reply
    0
    • B brycegbrazen

      Hi all,

      I'm trying to use windeployqt.exe to create a standalone deployment of Gamma Ray.

      I ran windeployqt.exe and passed the gammaray-launcher.exe as the file positional argument and I saw new files appear in the install directory, but when I try to double click the gammaray-launcher.exe afterwards, I still get errors like the following screenshots:

      180fdc82-70e4-4f62-b434-d103f93aaa49-image.png

      f16e48dd-852c-4691-a700-c62290a79490-image.png

      Is there something else I need to do for Gamma Ray to know how to find these bundled .dll files? I'm pretty new to building C++ projects so I'm not sure what I'm missing here.

      For additional context:

      • I installed Qt using the Qt Online Installer, and installed to C:\Qt515. I installed the MSVC 2019 64-Bit package for Qt 5.15.2, and that is located at C:\Qt515\5.15.2\msvc2019_64.
      • As a workaround, I noticed that if I run a shell and set the PATH to include both: C:\Qt515\5.15.2\msvc2019_64\bin
        C:\Qt515\5.15.2\msvc2019_64\lib
        I can run gammaray-launcher.exe successfully from that shell. However, I want to be able to just double-click the gammaray-launcher.exe in the File Explorer (without having to use a shell).
      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @brycegbrazen said in How to get standalone deployment of Qt5 Application / Gamma Ray / Windows:

      gammaray-launcher.exe

      Is this the actual Qt application or just a launcher which starts the actual application?

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

      B 1 Reply Last reply
      0
      • jsulmJ jsulm

        @brycegbrazen said in How to get standalone deployment of Qt5 Application / Gamma Ray / Windows:

        gammaray-launcher.exe

        Is this the actual Qt application or just a launcher which starts the actual application?

        B Offline
        B Offline
        brycegbrazen
        wrote on last edited by
        #3

        @jsulm,

        I'm not too familiar with the architecture of Gamma Ray, but from what I can tell looking at the code, gammaray-launcher.exe is just the launcher that starts the application.

        The code creates a launcher window, shows the window, and execs the QApplication.

        1 Reply Last reply
        0
        • B Offline
          B Offline
          brycegbrazen
          wrote on last edited by
          #4

          Reflagging this as I haven't heard back in a while.

          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