Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Some windeployqt options are not accessible through Qt VS Tools #39

Open
matthewhelyar opened this issue Nov 30, 2024 · 0 comments
Open

Comments

@matthewhelyar
Copy link

Some windeployqt options are not accessible through Qt VS Tools.

Some of these only make sense on the command line (e.g. --help), but some really should be accessible in Qt VS Tools as they affect the output (e.g. --no-system-dxc-compiler, --exclude-plugins <plugins>).

For completeness all current options that are available on the command line (taken from Qt Deploy Tool 6.8.0) but not through Qt VS Tools are:

  --help
  --help-all
  --version
  --qmake <path>
  --qtpaths <path>
  --translationdir <path>
  --qml-deploy-dir <path>
  --dry-run
  --ignore-library-errors
  --include-soft-plugins
  --skip-plugin-types <plugin types>
  --add-plugin-types <plugin types>
  --include-plugins <plugins>
  --exclude-plugins <plugins>
  --translations <languages>
  --no-system-dxc-compiler
  --json
  --no-ffmpeg
  --force-openssl
  --openssl-root <directory>
  --list <option>
  --verbose <level>

Of these, it is possible to workaround some by listing them under Include Qt Libraries or Exclude Qt Libraries, even though they are not libraries

  --help
  --help-all
  --version
  --dry-run
  --ignore-library-errors
  --include-soft-plugins
  --json
  --force-openssl
  --no-system-dxc-compiler
  --no-ffmpeg

and some are completely inaccessible (at least through Property Pages > Qt Deploy Tool, perhaps some are accessible elsewhere)

  --qmake <path>
  --qtpaths <path>
  --translationdir <path>
  --qml-deploy-dir <path>
  --skip-plugin-types <plugin types>
  --add-plugin-types <plugin types>
  --include-plugins <plugins>
  --exclude-plugins <plugins>
  --translations <languages>
  --openssl-root <directory>
  --list <option>
  --verbose <level>

Ideal Solution
Ideally, some of these should be their own fields in Visual Studio Property Pages > Qt Deploy Tool

Minimal Solution
I think at the very least there should be an "Additional Command Line Options" field, as there is for qmake and Qt compiler/linker under Qt Project Settings, although in this case I think it makes more sense to be under Qt Deploy Tool. This way as windeployqt command line options may change over time, they are all accessible to the user.

Also the option --no-patchqt is labelled "Skip Qt5Core Patch" but I believe it also applies to Qt 6, so perhaps it should be renamed to "Skip Qt Core Patch"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant